Destroyed models still show up in list-models
Bug #1534627 reported by
Cheryl Jennings
This bug affects 8 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Andrew Wilkins |
Bug Description
After destroying a model, it still shows up in list-models. It should either be removed, or indicate that it is dead.
$ juju list-models
NAME OWNER LAST CONNECTION
amazon admin@local just now
amazon2 admin@local 8 seconds ago
$ juju destroy-model amazon2
WARNING! This command will destroy the "amazon2" environment.
This includes all machines, services, data and other resources.
Continue [y/N]? y
$ juju list-models
NAME OWNER LAST CONNECTION
amazon admin@local just now
amazon2 admin@local 37 seconds ago
$ juju switch amazon2
ERROR "amazon2" is not a name of an existing defined environment or controller
Changed in juju-core: | |
milestone: | none → 2.0-alpha2 |
status: | New → Triaged |
importance: | Undecided → High |
description: | updated |
tags: | added: juju-release-support |
Changed in juju-core: | |
milestone: | 2.0-alpha2 → 2.0-alpha3 |
Changed in juju-core: | |
milestone: | 2.0-alpha3 → 2.0-beta4 |
tags: | added: conjure |
tags: | added: 2.0-count |
Changed in juju-core: | |
milestone: | 2.0-beta4 → 2.0.1 |
Changed in juju-core: | |
milestone: | 2.0.1 → 2.0.0 |
Changed in juju-core: | |
assignee: | nobody → Andrew Wilkins (axwalk) |
status: | Triaged → In Progress |
Changed in juju-core: | |
milestone: | 2.0.0 → 2.0-rc1 |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
tags: | added: landscape |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
affects: | juju-core → juju |
Changed in juju: | |
milestone: | 2.0-beta5 → none |
milestone: | none → 2.0-beta5 |
To post a comment you must log in.
Just to add to this byg, with 2.0a2 I have a similar but slightly different behavior: list-models complains that the destroyed model no longer exists:
andreas@duo:~$ juju destroy-model andreas21
WARNING! This command will destroy the "andreas21" model.
This includes all machines, services, data and other resources.
Continue [y/N]? y
andreas@duo:~$ juju list-models
ERROR model "andreas21" not found
"andreas21" was the only model besides the first one created during bootstrap, which still exists:
andreas@duo:~$ juju status -m lxd
[Services]
NAME STATUS EXPOSED CHARM
[Units]
ID WORKLOAD-STATE AGENT-STATE VERSION MACHINE PORTS PUBLIC-ADDRESS MESSAGE
[Machines] 0ecc-4630- 86ec-ebac0c79c1 3d-machine- 0 trusty
ID STATE DNS INS-ID SERIES AZ
0 started 10.0.3.131 juju-e54588dd-