[2.3-rc1+develop-724924b] "Could not get the model status from the API: <nil>" on model destruction
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Low
|
John A Meinel |
Bug Description
Seems like a harmless extra message on model destruction.
juju status
Model Controller Cloud/Region Version SLA
default vmaas vmaas 2.3-rc1.1 unsupported
App Version Status Scale Charm Store Rev OS Notes
ubuntu 16.04 active 5 ubuntu jujucharms 10 ubuntu
Unit Workload Agent Machine Public address Ports Message
ubuntu/0 active idle 0 10.10.101.79 ready
ubuntu/1 active idle 1 10.10.101.78 ready
ubuntu/2* active idle 2 10.10.101.81 ready
ubuntu/3 active idle 3 10.10.101.80 ready
ubuntu/4 active idle 4 10.10.101.82 ready
Machine State DNS Inst id Series AZ Message
0 started 10.10.101.79 krnscf xenial default Deployed
1 started 10.10.101.78 xcgtpc xenial az3 Deployed
2 started 10.10.101.81 rynftc xenial az2 Deployed
3 started 10.10.101.80 yy3sgf xenial default Deployed
4 started 10.10.101.82 rw7fq3 xenial az3 Deployed
$ juju destroy-model default
WARNING! This command will destroy the "default" model.
This includes all machines, applications, data and other resources.
Continue [y/N]?
ERROR model destruction: aborted
$ juju destroy-model default
WARNING! This command will destroy the "default" model.
This includes all machines, applications, data and other resources.
Continue [y/N]? y
Destroying model
Waiting on model to be removed, 5 machine(s), 1 application(s)...
Waiting on model to be removed, 5 machine(s), 1 application(s)...
Waiting on model to be removed, 5 machine(s), 1 application(s)...
Waiting on model to be removed, 5 machine(s), 1 application(s)...
Waiting on model to be removed, 5 machine(s)...
Waiting on model to be removed, 5 machine(s)...
Waiting on model to be removed, 5 machine(s)...
Waiting on model to be removed, 5 machine(s)...
Waiting on model to be removed, 5 machine(s)...
Waiting on model to be removed...
Waiting on model to be removed...
Waiting on model to be removed...
Could not get the model status from the API: <nil>.
$ echo $?
0
snap info juju
...
tracking: edge
installed: 2.3-rc1+
refreshed: 2017-11-16 19:26:30 +0300 MSK
channels:
stable: 2.2.6 (2739) 25MB classic
candidate: 2.2.7+2.2-ae2506a (2917) 43MB classic
beta: 2.3-beta3 (2872) 29MB classic
edge: 2.3-rc1+
===
Some errors are present at the very end of the logsink.log:
pastebinit /var/log/
https:/
f910006b-
f910006b-
f910006b-
f910006b-
f910006b-
f910006b-
f910006b-
f910006b-
4b838670-
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
At the very least, I'd like to report the error that is causing us to complain. It looks like we're checking for a specific error, and then reporting the generic error (which is nil or we wouldn't have gotten this far).