Infinite loop in hubwatcher stops controller's shutting down

Bug #1789510 reported by Tim Penhey
6
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.

Revision history for this message
Tim Penhey (thumper) wrote :
Changed in juju:
status: Triaged → In Progress
Tim Penhey (thumper)
Changed in juju:
status: In Progress → Fix Committed
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.