baremetal-operator: Resetting status.errorCount manualy?
Is there any way of re-setting errorCount
manually inside bmh object?
Maybe using some kind of special annotation?
{"level":"info","ts":1613681703.0899441,"logger":"controllers.BareMetalHost","msg":"done","baremetalhost":"default/master-2","provisioningState":"deprovisioning","requeue":false,"after":18790.040866384}
Waiting for ~5h is a bit too much đ
Would you be willing to accept for review PR that add special annotation for clearing error count and message?
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 22 (22 by maintainers)
That makes sense. I was mostly pointing out that any edit to the host should trigger reconciliation, so we donât need a special API just to trigger a retry. If we wanted an API to let the user say âI think I have cleared the error on this host, try againâ then an annotation would make sense instead of a spec field, because the controller could delete the annotation.
And fixing the Image field on the bmh object didnât retrigger the reconcile loop and cleared out the errorCount? If not, thatâs the issue to be fixed