bootstrap command against already-bootstrapped controller results in lost controller
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Won't Fix
|
High
|
Eric Claude Jones |
Bug Description
Juju 2.2.2 + MAAS 2.2.2: If a user has an existing controller and re-issues a bootstrap command against it, juju forgets about the existing controller.
The MAAS machine housing the Juju controller stays up, but the user can longer interact with the model or the controller using the Juju client.
This likely a high-impact with an unintended and dangerous outcome to users.
jenkins@
Creating Juju controller "auto-osci-lb00" on ruxton-maas
Looking for packaged Juju agent version 2.2.2 for ppc64el
Launching controller instance(s) on ruxton-maas...
ERROR failed to bootstrap model: cannot start bootstrap instance: cannot run instances: cannot run instance: No available machine matches constraints: [('agent_name', ['72b6807d-
1 jenkins@
...then:
ERROR No controllers registered.
Please either create a new controller using "juju bootstrap" or connect to
another controller that you have been given access to using "juju register".
summary: |
- bootstrap command against already-bootstrapped controller + bootstrap command against already-bootstrapped controller results in + lost controller |
tags: | added: papercut ui |
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 2.3-alpha1 |
Changed in juju: | |
milestone: | 2.3-beta1 → 2.3-beta2 |
Changed in juju: | |
assignee: | nobody → Eric Claude Jones (ecjones) |
Changed in juju: | |
milestone: | 2.3-beta2 → none |
It seems that bootstrap needs a sanity check against the controller name already existing.