Cannot talk to a new model with a reused name
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Expired
|
Medium
|
Unassigned |
Bug Description
Example:
Bob creates a model named foo and shares it with another user, Mary, an entry will be placed in Mary's models.yaml with the model name and UUID.
If Bob deletes the model foo, and create a new one with the same name, Mary will not be able to use the new model and will get this error when running juju status:
$juju status
WARNING discarding API open error: connecting with cached addresses: unknown model: "157c8ba8-
ERROR connecting with bootstrap config: unknown model: "157c8ba8-
Running switch again doesn't help:
$ juju switch amazon:foo
local.amazon:foo (no change)
You can work around this by manually deleting the model information from the models.yaml file.
tags: | added: usability |
Changed in juju-core: | |
milestone: | none → 2.0.0 |
affects: | juju-core → juju |
Changed in juju: | |
milestone: | 2.0.0 → none |
milestone: | none → 2.0.0 |
Changed in juju: | |
milestone: | 2.0.0 → 2.0.1 |
Changed in juju: | |
milestone: | 2.0.1 → none |
This bug has not been updated in 5 years, so we're marking it Expired. If you believe this is incorrect, please update the status.