[2.3-rc1+develop-724924b] "Could not get the model status from the API: <nil>" on model destruction

Bug #1732779 reported by Dmitrii Shcherbakov
6
This bug affects 1 person
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+develop-724924b (2914) 52MB classic
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+develop-724924b (2919) 52MB classic

===

Some errors are present at the very end of the logsink.log:

pastebinit /var/log/juju/logsink.log

https://paste.ubuntu.com/25976410/

f910006b-6b1a-4c48-8101-2e3697ab452f: unit-ubuntu-0 2017-11-16 20:24:16 ERROR juju.worker.dependency engine.go:551 "meter-status" manifold worker returned unexpected error: unit "ubuntu/0" not found
f910006b-6b1a-4c48-8101-2e3697ab452f: unit-ubuntu-0 2017-11-16 20:24:16 ERROR juju.worker.dependency engine.go:551 "upgrader" manifold worker returned unexpected error: permission denied
f910006b-6b1a-4c48-8101-2e3697ab452f: unit-ubuntu-0 2017-11-16 20:24:16 ERROR juju.worker.dependency engine.go:551 "uniter" manifold worker returned unexpected error: unit "ubuntu/0" not found
f910006b-6b1a-4c48-8101-2e3697ab452f: unit-ubuntu-1 2017-11-16 20:24:16 ERROR juju.worker.dependency engine.go:551 "upgrader" manifold worker returned unexpected error: permission denied
f910006b-6b1a-4c48-8101-2e3697ab452f: unit-ubuntu-1 2017-11-16 20:24:16 ERROR juju.worker.dependency engine.go:551 "meter-status" manifold worker returned unexpected error: unit "ubuntu/1" not found
f910006b-6b1a-4c48-8101-2e3697ab452f: unit-ubuntu-1 2017-11-16 20:24:16 ERROR juju.worker.dependency engine.go:551 "uniter" manifold worker returned unexpected error: unit "ubuntu/1" not found
f910006b-6b1a-4c48-8101-2e3697ab452f: unit-ubuntu-4 2017-11-16 20:24:16 ERROR juju.worker.uniter agent.go:28 resolver loop error: preparing operation "run config-changed hook": unit "ubuntu/4" not found (not found)
f910006b-6b1a-4c48-8101-2e3697ab452f: unit-ubuntu-4 2017-11-16 20:24:16 ERROR juju.worker.uniter agent.go:31 updating agent status: unit "ubuntu/4" not found (not found)
4b838670-ea87-4077-8270-258d1beba7a3: machine-0 2017-11-16 20:24:31 ERROR juju.worker.dependency engine.go:551 "log-forwarder" manifold worker returned unexpected error: settings not found (not found)

Revision history for this message
John A Meinel (jameinel) wrote :

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).

Changed in juju:
assignee: nobody → John A Meinel (jameinel)
importance: Undecided → Low
milestone: none → 2.3-rc2
status: New → In Progress
Revision history for this message
John A Meinel (jameinel) wrote :
Changed in juju:
status: In Progress → Fix Committed
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.

Other bug subscribers

Remote bug watches

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