"maintenance in progress" detection in the API server needs improving

Bug #1375110 reported by Menno Finlay-Smits
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Medium
Andrew Wilkins
juju-core
Won't Fix
Medium
Unassigned

Bug Description

The way the API server figures out if upgrade or restores are in progress is pretty ugly. See the maintenanceInProgress method in apiserver/admin.go.

A cleaner (and more generic) way of dealing with this concern is required.

Curtis Hovey (sinzui)
Changed in juju-core:
milestone: next-stable → none
Curtis Hovey (sinzui)
Changed in juju-core:
assignee: Menno Smits (menno.smits) → nobody
Changed in juju:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 2.1.0
Changed in juju-core:
status: Triaged → Won't Fix
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.1-rc2 → none
Andrew Wilkins (axwalk)
Changed in juju:
status: Triaged → In Progress
assignee: nobody → Andrew Wilkins (axwalk)
milestone: none → 2.3-rc2
Revision history for this message
Andrew Wilkins (axwalk) wrote :
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.