Skip to content

Add a Degraded annotation #234

Closed

Description

@cgwalters

Right now one of my nodes went degraded, apparently the MCD restarted so I don't have those logs, and more worrying I can't find anything in the journal.

I'm thinking we want a new node annotation:

machineconfiguration.openshift.io/state=Degraded
machineconfiguration.openshift.io/degraded="Unable to reconcile ..."

Activity

  1. jlebon commented on Dec 14, 2018

    @jlebon
    Member

    Did you check oc logs -p too?

  2. kikisdeliveryservice commented on Dec 15, 2018

    @kikisdeliveryservice
    Contributor

    I usually see the reason in the oc logs -p as well unless something is terribly broken.

  3. cgwalters commented on Dec 19, 2018

    @cgwalters
    MemberAuthor

    Labels are query-able; and we definitely want to make it easy for admins to find degraded nodes. https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/

  4. changed the title [-]Clearly retain degraded reason[/-] [+]change Degraded to a label (and include rationale)[/+] on Dec 19, 2018
  5. changed the title [-]change Degraded to a label (and include rationale)[/-] [+]Add a Degraded label[/+] on Dec 21, 2018
  6. cgwalters commented on Dec 21, 2018

    @cgwalters
    MemberAuthor

    Updating this since labels aren't meant for free-form text; I think we should cover the extended rationale with both an event a systemd journal entry like we do for reboots etc.

  7. changed the title [-]Add a Degraded label[/-] [+]Add a Degraded annotation[/+] on Jan 14, 2019
  8. cgwalters commented on Jan 14, 2019

    @cgwalters
    MemberAuthor

    Retitling this to use an annotation instead; in #260 we decided not to add a label.

  9. cgwalters commented on Mar 7, 2019

    @cgwalters
    MemberAuthor

    Also, the MCP really needs to show (total: 3, updated: 0, unavailable: 1, degraded: 1) or so.

  10. runcom commented on Mar 20, 2019

    @runcom
    Member

    do we want any error during a sync which can result in degraded/unreconcilable to be added in this annotation? I want to hash this out so we can bubble this information up from MCD logs to nodes annotation for an instant debug, wdyt?

  11. kikisdeliveryservice commented on Mar 20, 2019

    @kikisdeliveryservice
    Contributor

    @runcom adding the reason an MC is unreconcilable would be extremely helpful for a user rather than them having to bumble thru MCD logs.

  12. runcom commented on Mar 20, 2019

    @runcom
    Member

    Yeah, but we also want to provide explaination when for instance, pivot fails but that just marks degraded, not unreconcilable uhm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions