[2.2.2][2.2.b4] model deletion hung, unable to completely destroy the model or create a new one with the same name, errors in logsink.log
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Andrew Wilkins | ||
OpenStack Charm Test Infra |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
It's hard to tell what got it in that state but model deletion hanged for a while so I sent SIGINT (C-c) to the client and tried to delete the model again. I noticed that sometimes Juju client just doesn't exit on its own even when a controller has already finished deleting a model.
Here, however, I encountered an entirely different case (and on this controller I reproduced it 2 times actually):
http://
"...
Waiting on model to be removed...
^C
(openstack-client) ubuntu@
WARNING! This command will destroy the "os" model.
This includes all machines, applications, data and other resources.
Continue [y/N]? y
ERROR cannot connect to API: model 5fecf1b0-
logsink.log is full of errors:
root@controller
d123bde1-
d123bde1-
d123bde1-
d123bde1-
d123bde1-
d123bde1-
d123bde1-
d123bde1-
10.232.3.216
ubuntu@maas:~$ maas maas machines read | jq '.[] | select( .ip_addresses[] | contains(
"8tk7tc controller-
root@controller
1: lo inet 127.0.0.1/8 scope host lo\ valid_lft forever preferred_lft forever
2: ens3 inet 10.232.3.216/21 brd 10.232.7.255 scope global ens3\ valid_lft forever preferred_lft forever
jujud seems pretty busy (for a 12-core VM):
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5884 root 20 0 1702468 224928 44604 S 12.3 0.7 1482:13 jujud
5708 root 20 0 2384288 1.247g 27836 S 3.7 4.0 565:46.65 mongod
root@controller
processor : 0
processor : 1
processor : 2
processor : 3
processor : 4
processor : 5
processor : 6
processor : 7
processor : 8
processor : 9
processor : 10
processor : 11
ubuntu@maas:~$ juju status
ERROR model 5fecf1b0-
ubuntu@maas:~$ juju models
Controller: samaas
Model Cloud/Region Status Machines Cores Access Last connection
controller samaas available 1 12 admin just now
description: | updated |
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in juju: | |
milestone: | none → 2.2.3 |
assignee: | nobody → Andrew Wilkins (axwalk) |
status: | Triaged → In Progress |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
tags: |
added: cpe-onsite removed: cpec |
I'm getting a number of similar errors on a controller I just upgraded to 2.2.2. Getting status for a hosted model hangs (http:// pastebin. ubuntu. com/25160416/). mongodb on the server is running and responds to commands normally.