machine agent enters "upgrade mode" unnecessarily

Bug #1350111 reported by Menno Finlay-Smits
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Fix Released
High
Menno Finlay-Smits
1.20
Fix Released
High
Menno Finlay-Smits

Bug Description

As the machine agent comes up it is in "upgrade mode" from the moment it starts until the upgrade-steps worker starts and finishes, even when no actual upgrade is required.

While in upgrade mode, API logins from other agents are blocked resulting in "upgrade in progress" errors in the logs. Although "upgrade mode" is typically short-lived it can be confusing to see the "upgrade in progress" messages in the logs, especially when the user hasn't actually requested an upgrade.

It should be possible to avoid entering upgrade mode unnecessarily (or at least reducing its length somewhat) if there is no need for an upgrade (i.e. the agent config version matches agent-version in the environment's config).

Curtis Hovey (sinzui)
Changed in juju-core:
importance: Low → High
status: New → Triaged
Revision history for this message
Menno Finlay-Smits (menno.smits) wrote :
Changed in juju-core:
status: Triaged → In Progress
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: next-stable → 1.21-alpha1
Curtis Hovey (sinzui)
Changed in juju-core:
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.