Can't re-create a model

Bug #1537152 reported by Casey Marshall
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Triaged
Medium
Unassigned

Bug Description

If I create a model, then destroy the model, I can't re-create a model by the same name.

Steps to reproduce:

$ juju create-model bundle-test
... deploy some things ...
$ juju destroy-model bundle-test --yes

then I get into this strange state:

$ juju create-model bundle-test
ERROR failed to create new environment: environment "bundle-test" for admin@local already exists
$ juju destroy-model bundle-test
ERROR cannot read environment info: environment "bundle-test" not found
$ juju list-models
NAME OWNER LAST CONNECTION
lxd admin@local just now
bundle-test admin@local 3 minutes ago

This is with recent master, 2.0-alpha1-trusty-amd64 (fc73776d8094f415d479dd2fc54d5f16ed6694e6)

Revision history for this message
Cheryl Jennings (cherylj) wrote :

Most likely this is due to the undertaker behavior which will keep environment data around for some period of time.

Changed in juju-core:
status: New → Triaged
importance: Undecided → Medium
tags: added: juju-release-support
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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