flatcar-linux-update-operator icon indicating copy to clipboard operation
flatcar-linux-update-operator copied to clipboard

update agent fails to watch for ok-to-reboot label

Open invidian opened this issue 5 years ago • 1 comments

With following error:

W0206 12:37:02.081765       1 agent.go:152] error waiting for an ok-to-reboot: waiting for annotation "flatcar-linux-update.v1.flatcar-linux.net/reboot-ok" failed: unhandled watch case for watch.Event{Type:"ERROR", Object:(*v1.Status)(0xc00024abe0)}

invidian avatar Feb 06 '20 12:02 invidian

Reading the code, this is clearly a bug, as https://github.com/kinvolk/flatcar-linux-update-operator/blob/4036c440e59e886a6ee94af562ec3374d3292ba9/pkg/agent/agent.go#L303 assumes, that update should happen within 24 hours from starting the watch. However, if no updates are posted within 24 hours, this watch will be timing out.

invidian avatar Nov 02 '20 10:11 invidian