failed hook after reboot
Bug #1829394 reported by
Jason Hobbs
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Invalid
|
Undecided
|
Unassigned | ||
Juju Wait Plugin |
New
|
Undecided
|
Unassigned | ||
Kubernetes Worker Charm |
Invalid
|
Undecided
|
Unassigned |
Bug Description
We're doing reboot testing, and after rebooting all the nodes in our kubernetes cluster, a kubernetes worker went into error state with a failed 'update status' hook.
It's not clear why the hook failed, there is no traceback.
2019-05-16 11:54:48 DEBUG juju.worker.uniter agent.go:20 [AGENT-STATUS] error: hook failed: "update-status"
We are using 'juju wait' to determine when the kubernetes applications are ready again after reboot, and this error trips juju wait up and causes the test to fail.
To post a comment you must log in.
Ok, after talking with the juju guys we think this is expected and bad behavior from juju wait. They fully expect a transient error to be possible when an agent is restarting. The opinion of the Juju team is that juju wait should handle this tranient error and not exit.
This is either a juju wait plugin(stubbs) issue or a juju issue.