cmd/juju: "juju enable-ha" fails if you're not operating on the admin model

Bug #1563705 reported by Andrew Wilkins
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Medium
Menno Finlay-Smits

Bug Description

"juju enable-ha" will fail if you're not operating on the admin model. e.g., straight after bootstrap with juju 2.0, you'll get:

    $ juju enable-ha
    ERROR unsupported with hosted models

Since enable-ha operates on a controller, it doesn't make much sense to require you to be operating on a specific model.

Andrew Wilkins (axwalk)
Changed in juju-core:
importance: High → Medium
Changed in juju-core:
milestone: 2.0-beta4 → 2.1.0
tags: added: juju-release-support
tags: added: bitesize
Revision history for this message
Richard Harding (rharding) wrote :

Until the command is made to be able to be run from any current model, you need to switch to the controller to give the command.

juju switch controller
juju enable-ha

should work properly.

affects: juju-core → juju
Changed in juju:
milestone: 2.1.0 → none
milestone: none → 2.1.0
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.1-rc2 → none
Revision history for this message
Andrew Wilkins (axwalk) wrote :
Changed in juju:
assignee: nobody → Menno Smits (menno.smits)
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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