enable-ha command does not work with placement directive --to
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
New
|
Undecided
|
Unassigned |
Bug Description
Juju 2.6.3 (snap / stable channel)
Deployed a manual controller provider and added machines to controller model with:
juju add-machine -m controller ssh:ubuntu@A.B.C.D
Machine added got serial code 1
Then, ran enable-ha on this controller with:
juju enable-ha -n 1 --to 1 (added machine code)
Machine 1 was successfully added to controller model and I can see jujud-machine-
However, there is no evidence of a controller was deployed on this node after enable-ha (e.g. no juju-db.service is present or telnet to localhost:17070 is refused).
Therefore, I see no way to run manual provider controller on ha mode.
Bug: https:/
I've just tested juju from edge channel and it is working.
The way to run it is:
juju add-machine ... --> create machines 1 and 2 on model controller
juju enable-ha --to=1,2
According to rick_h, this merge is the one responsible for the new feature: https:/ /github. com/juju/ juju/pull/ 10185