list-models can show a model that was supposed to have been deleted

Bug #1613960 reported by Christopher Lee
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Anastasia

Bug Description

In a bootstrapped environment if one runs:
  juju add-model new-model && juju destroy-model new-model -y

The commands pass with no errors, but 'new-model' is never removed from the output of list-models.

If one attempts to re-destroy the model this error is displayed:
  ERROR cannot read model info: model testing:admin@local/new-model2 not found

summary: - list-models can show a model that was supposed to be deleted
+ list-models can show a model that was supposed to have been deleted
Changed in juju-core:
status: New → Triaged
importance: Undecided → High
milestone: none → 2.0-beta17
affects: juju-core → juju
Changed in juju:
milestone: 2.0-beta17 → none
milestone: none → 2.0-beta17
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.0-beta17 → 2.0-beta18
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.0-beta18 → 2.0-beta19
Changed in juju:
milestone: 2.0-beta19 → 2.0-rc1
Revision history for this message
Richard Harding (rharding) wrote :

confirmed still an isue with the rc1 trunk.

Changed in juju:
milestone: 2.0-rc1 → 2.0.1
Revision history for this message
Christopher Lee (veebers) wrote :

I still encounter this with rc2, some further example and output: http://pastebin.ubuntu.com/23232326/

Notice that there is no model in focus, so that much at least is happening. The model continues to stick around though with the status 'available'.

Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.0.1 → none
Revision history for this message
Anastasia (anastasia-macmood) wrote :
Changed in juju:
status: Triaged → In Progress
assignee: nobody → Anastasia (anastasia-macmood)
milestone: none → 2.1.1
Changed in juju:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.