cmd/juju: "juju enable-ha" fails if you're not operating on the admin model
Bug #1563705 reported by
Andrew Wilkins
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.
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 |
affects: | juju-core → juju |
Changed in juju: | |
milestone: | 2.1.0 → none |
milestone: | none → 2.1.0 |
Changed in juju: | |
milestone: | 2.1-rc2 → none |
To post a comment you must log in.
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.