'ERROR connecting with bootstrap config' for status on destroyed model
Bug #1602034 reported by
Mark Shuttleworth
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Ian Booth |
Bug Description
Just saw this error trying to get a status on a model that I had destroyed:
$ juju status
ERROR connecting with bootstrap config: aborted
That doesn't explain anything or look useful at all.
Fortunately 'juju models' still worked and listed models, and juju 'switch' let me go to one of those where status works fine.
So this error message seems to be related to the model having been destroyed. If so, it would have been more useful to say something like:
$ juju status
ERROR connecting to model 'foo', try 'juju models' and switch to one of them.
There are 12 accessible models on controller 'ms-azure-foo'.
Changed in juju-core: | |
status: | Incomplete → New |
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: 2.0 usability |
Changed in juju-core: | |
milestone: | none → 2.0-beta13 |
importance: | Medium → High |
tags: | added: azure-provider |
Changed in juju-core: | |
status: | Triaged → In Progress |
assignee: | nobody → Ian Booth (wallyworld) |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
milestone: | 2.0-beta13 → 2.0-beta14 |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
affects: | juju-core → juju |
Changed in juju: | |
milestone: | 2.0-beta14 → none |
milestone: | none → 2.0-beta14 |
To post a comment you must log in.
What version of juju were you running when you hit this?
Can you confirm that the client version matched the agent version?
Testing with beta11, I see the following message:
$ juju add-model foo
Added 'foo' model on aws/us-west-2 with credential 'cherylj' for user 'admin'
$ juju destroy-model foo -y
$ juju status
ERROR no model in focus
Please use "juju models" to see models available to you.
You can set current model by running "juju switch"
or specify any other model on the command line using the "-m" flag.