lxd provider: juju destroy-controller hangs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Invalid
|
High
|
Unassigned |
Bug Description
When destroying my LXD-bootstrapped environment, the command hangs:
---
$ juju destroy-controller lxd
WARNING! This command will destroy the "lxd" controller.
This includes all machines, services, data and other resources.
Continue [y/N]? y
Destroying controller "lxd"
---
`lxc list` reveals that the controller (juju-e4b833a5-
$ lxc list
+------
| NAME | STATE | IPV4 | IPV6 | EPHEMERAL | SNAPSHOTS |
+------
| aseprite-build | STOPPED | | | NO | 0 |
+------
| hkpdev | STOPPED | | | NO | 0 |
+------
| juju-e4b833a5-
+------
| juju-e4b833a5-
+------
| juju-e4b833a5-
+------
| juju-e4b833a5-
+------
| juju-e4b833a5-
+------
| juju-e4b833a5-
+------
| reactdev | STOPPED | | | NO | 0 |
+------
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 2.0-beta1 |
tags: | added: juju-release-support lxd |
Changed in juju-core: | |
milestone: | 2.0-beta1 → 2.0-beta2 |
Changed in juju-core: | |
milestone: | 2.0-beta2 → 2.0-beta3 |
Changed in juju-core: | |
milestone: | 2.0-beta3 → 2.0-beta4 |
tags: | added: 2.0-count |
Changed in juju-core: | |
milestone: | 2.0-beta4 → none |
Changed in juju-core: | |
status: | Incomplete → Invalid |
Here's my recent /var/log/lxd.log:
t=2016- 02-01T16: 08:07-0600 lvl=info msg=handling ip=10.0.3.1:47410 method=GET url=/1. 0/operations/ d2885ddc- 24fc-4813- b381-ade1eb2204 5c/wait 02-01T16: 08:08-0600 lvl=info msg=handling method=GET url="/internal/ containers/ 512/onstop? target= unknown" ip=@ 02-01T16: 08:09-0600 lvl=eror msg="Running apparmor" action=R output= "apparmor_ parser: Unable to remove \"lxd-juju- e4b833a5- fe21-413c- 8ae6-170a582f05 75-machine- 0_</var/ lib/lxd> \". Profile doesn't exist\n" err="exit status 254" 02-01T16: 08:09-0600 lvl=info msg=handling method=DELETE url=/1. 0/containers/ juju-e4b833a5- fe21-413c- 8ae6-170a582f05 75-machine- 0 ip=10.0.3.1:47410 02-01T16: 08:09-0600 lvl=info msg=handling method=GET url=/1. 0/operations/ 776478a9- e842-4fea- 8ae3-f72a75c2a0 8d/wait ip=10.0.3.1:47410 02-01T16: 08:09-0600 lvl=info msg=handling url=/1.0 ip=10.0.3.1:47414 method=GET 02-01T16: 08:10-0600 lvl=info msg=handling method=GET url=/1.0/profiles ip=10.0.3.1:47414 02-01T16: 08:10-0600 lvl=info msg=handling method=GET url="/1. 0/containers? recursion= 1" ip=10.0.3.1:47414 02-01T16: 08:12-0600 lvl=info msg=handling ip=10.0.3.1:47410 method=GET url=/1. 0/containers/ juju-e4b833a5- fe21-413c- 8ae6-170a582f05 75-machine- 1 02-01T16: 08:12-0600 lvl=info msg=handling method=PUT url=/1. 0/containers/ juju-e4b833a5- fe21-413c- 8ae6-170a582f05 75-machine- 1/state ip=10.0.3.1:47410 02-01T16: 08:12-0600 lvl=info msg=handling method=GET url=/1. 0/operations/ 913b9d3a- 6d2b-469a- ac9a-64a3641e81 66/wait ip=10.0.3.1:47410 02-01T16: 08:13-0600 lvl=info msg=handling method=GET url="/internal/ containers/ 513/onstop? target= unknown" ip=@ 02-01T16: 08:13-0600 lvl=eror msg="Running apparmor" action=R output= "apparmor_ parser: Unable to remove \"lxd-juju- e4b833a5- fe21-413c- 8ae6-170a582f05 75-machine- 1_</var/ lib/lxd> \". Profile doesn't exist\n" err="exit status 254" 02-01T16: 17:01-0600 lvl=info msg=handling url="/1. 0/images? recursion= 1" ip=@ method=GET
t=2016-
t=2016-
t=2016-
t=2016-
t=2016-
t=2016-
t=2016-
t=2016-
t=2016-
t=2016-
t=2016-
t=2016-
t=2016-
Looks to me like machine 0 is getting removed first.