juju bootstrap in an existing environment destroys the environment
Bug #1340893 reported by
James Troup
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Katherine Cox-Buday | ||
1.20 |
Fix Released
|
Critical
|
Katherine Cox-Buday |
Bug Description
Using juju-core 1.18.1-0ubuntu1 from Ubuntu 14.04, I bootstrapped a
juju environment in MAAS (1.5.2+
successfully and I had a running environment.
I then hit up-arrow too many times by mistake and ran 'juju bootstrap'
again. It failed (as expected) but also destroyed my existing
environment (neither expected nor desired) with no warning or
interaction.
Obviously, this is a catastrophically bad failure mode.
Full log: https:/
tags: | added: canonical-is |
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → Critical |
Changed in juju-core: | |
milestone: | none → 1.20.2 |
Changed in juju-core: | |
assignee: | nobody → Katherine Cox-Buday (cox-katherine-e) |
Changed in juju-core: | |
status: | Triaged → In Progress |
Changed in juju-core: | |
milestone: | 1.20.2 → 1.21-alpha1 |
Changed in juju-core: | |
importance: | Critical → High |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
This bug has been fixed in later versions; I can no longer reproduce it with 1.20.1.
jujumanage@macon:~$ juju bootstrap jujumanage/ .juju/environme nts/maas. jenv"
WARNING ignoring environments.yaml: using bootstrap config in file "/home/
ERROR environment is already bootstrapped
jujumanage@macon:~$ juju stat
However given the potential for data loss, I'd strongly suggest that we either SRU 1.20.1 or just the relevant patch to Ubuntu 14.04.