enable-ha to an existing machine gave confusing error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Medium
|
Joseph Phillips | ||
2.6 |
Fix Released
|
Medium
|
Joseph Phillips |
Bug Description
Was testing enable-ha.
Had a new controller, added one new machine.
$ juju status -m controller
Model Controller Cloud/Region Version SLA Timestamp
controller test localhost/localhost 2.5.2.1 unsupported 03:15:36+13:00
Machine State DNS Inst id Series AZ Message
0 started 10.172.145.216 juju-a6fd6a-0 bionic Running
1 started 10.172.145.89 juju-a6fd6a-1 bionic Running
$ juju enable-ha --to 1
ERROR failed to create new controller machines: availability zone "#:1" not valid
Expected machine 1 to become a new controller machine, and a new machine 2 created to become the third of three controller machines
Changed in juju: | |
milestone: | none → 2.5.3 |
assignee: | nobody → Joseph Phillips (manadart) |
Changed in juju: | |
milestone: | 2.5.3 → 2.5.4 |
Changed in juju: | |
milestone: | 2.5.4 → 2.5.5 |
Changed in juju: | |
milestone: | 2.5.6 → 2.5.8 |
Changed in juju: | |
milestone: | 2.5.8 → 2.7-beta1 |
status: | Triaged → In Progress |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
For the record, when I added a second machine
$ juju enable-ha --to 1,2
maintaining machines: 0
converting machines: 1, 2
The command behaved as expected.