Infinite loop in hubwatcher stops controller's shutting down
Bug #1789510 reported by
Tim Penhey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Tim Penhey | ||
2.3 |
Fix Released
|
High
|
Tim Penhey | ||
2.4 |
Fix Released
|
High
|
Tim Penhey |
Bug Description
The hubwatcher infinite loop happens when the hubwatcher is asked to shut down.
There is a race where the main loop could be in a place where it is trying to notify other watchers when asked to shut down, and if it does, it just gets stuck and never dies. This holds up the Close method on the state object, which in turn will stop a controller shutting down.
We have seen indications of this type of problem with some controllers. I can't say that this is definitely those cases, but I can say that this is a problem and will cause controllers to not restart automatically for things like juju upgrades.
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
2.3 PR https:/ /github. com/juju/ juju/pull/ 9123/files