Hooks need to have an enforceable timeout.
Bug #705433 reported by
Kapil Thangavelu
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyjuju |
Triaged
|
Low
|
Unassigned |
Bug Description
Currently a hook execution can take an arbitrary amount of time. We should have an enforceable timeout configured for hook execution.
Changed in ensemble: | |
milestone: | none → capetown |
tags: | added: hooks |
Changed in ensemble: | |
milestone: | capetown → budapest |
Changed in ensemble: | |
milestone: | budapest → dublin |
Changed in ensemble: | |
assignee: | nobody → Kapil Thangavelu (hazmat) |
Changed in ensemble: | |
assignee: | Kapil Thangavelu (hazmat) → nobody |
Changed in ensemble: | |
milestone: | dublin → none |
Changed in juju: | |
status: | Confirmed → Triaged |
Changed in juju: | |
importance: | Medium → Low |
To post a comment you must log in.
at a minimum this should expose a timeout when the hook cli api tries to connect to the api server, which will at least error out and clean up those processes, else they just remain waiting on socket.connect forever if the api server is not around.