You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 ..."
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.
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?
Activity
jlebon commentedon Dec 14, 2018
Did you check
oc logs -ptoo?kikisdeliveryservice commentedon Dec 15, 2018
I usually see the reason in the
oc logs -pas well unless something is terribly broken.cgwalters commentedon Dec 19, 2018
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/
[-]Clearly retain degraded reason[/-][+]change Degraded to a label (and include rationale)[/+]Add a machineconfiguration.openshift.io/degraded label
[-]change Degraded to a label (and include rationale)[/-][+]Add a Degraded label[/+]cgwalters commentedon Dec 21, 2018
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.
[-]Add a Degraded label[/-][+]Add a Degraded annotation[/+]cgwalters commentedon Jan 14, 2019
Retitling this to use an annotation instead; in #260 we decided not to add a label.
cgwalters commentedon Mar 7, 2019
Also, the MCP really needs to show
(total: 3, updated: 0, unavailable: 1, degraded: 1)or so.runcom commentedon Mar 20, 2019
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?
kikisdeliveryservice commentedon Mar 20, 2019
@runcom adding the reason an MC is unreconcilable would be extremely helpful for a user rather than them having to bumble thru MCD logs.
runcom commentedon Mar 20, 2019
Yeah, but we also want to provide explaination when for instance, pivot fails but that just marks degraded, not unreconcilable uhm