Destroying model shortly after creation results in endless loop

Bug #1635052 reported by Christopher Lee
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Unassigned
2.0
Won't Fix
Medium
Unassigned
2.1
Fix Released
High
Unassigned

Bug Description

If you create and then destroy a model juju outputs "Waiting on model to be removed..." over and over in an endless loop, seemingly unable to remove the model.

Ctrl-C-ing and trying again after some minutes results in the same repeated output behaviour.

juju list-models shows the model there with the status 'Available'.

Similar or related to this bug: https://bugs.launchpad.net/juju/+bug/1613960

To reproduce run (on a bootstrapped instance):
$ juju add-model new-model && juju destroy-model new-model -y
Added 'new-model' model on lxd/localhost with credential 'default' for user 'admin'
Destroying model
Waiting on model to be removed...
Waiting on model to be removed...
Waiting on model to be removed...
Waiting on model to be removed...
Waiting on model to be removed...
Waiting on model to be removed...
... repeat ...

Changed in juju:
status: New → Triaged
importance: Undecided → High
milestone: none → 2.0.1
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.0.1 → none
tags: added: destroy-model
Changed in juju:
status: Triaged → Fix Committed
milestone: none → 2.2.0-alpha1
Curtis Hovey (sinzui)
tags: added: ci
Revision history for this message
Anastasia (anastasia-macmood) wrote :

Marked as Won't Fix for 2.0 as we are not planning another 2.0.x release.

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.