Unable to kill or destroy the lxd controller
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
New
|
Undecided
|
Unassigned |
Bug Description
While using juju version 2.0-beta7-
$ juju destroy-model etcd-1
WARNING! This command will destroy the "etcd-1" model.
This includes all machines, services, data and other resources.
Continue [y/N]? y
mbruzek@warhorse:~$ juju list-models
NAME OWNER STATUS LAST CONNECTION
admin admin@local available never connected
default admin@local available 26 minutes ago
test-dotfiles admin@local available 21 minutes ago
etcd-1* admin@local destroying 28 seconds ago
mbruzek@warhorse:~$ juju list-models
NAME OWNER STATUS LAST CONNECTION
admin admin@local available never connected
default admin@local available 52 minutes ago
etcd-1 admin@local destroying 26 minutes ago
matt* admin@local available 5 seconds ago
mbruzek@warhorse:~$ juju list-models
NAME OWNER STATUS LAST CONNECTION
admin admin@local available never connected
default admin@local available 52 minutes ago
etcd-1 admin@local destroying 26 minutes ago
matt* admin@local destroying 11 seconds ago
mbruzek@warhorse:~$ juju destroy-controller lxd
WARNING! This command will destroy the "local.lxd" controller.
This includes all machines, services, data and other resources.
Continue [y/N]? y
Destroying controller
ERROR cannot destroy controller "local.lxd"
The controller has live hosted models. If you want
to destroy all hosted models in the controller,
run this command again with the --destroy-
flag.
Models:
mbruzek@warhorse:~$ juju destroy-controller lxd --destroy-
error: flag provided but not defined: --force
mbruzek@warhorse:~$ juju destroy-controller lxd --destroy-
WARNING! This command will destroy the "local.lxd" controller.
This includes all machines, services, data and other resources.
Continue [y/N]? y
Destroying controller
Waiting for hosted model resources to be reclaimed
Waiting on 2 models, 9 machines
Waiting on 2 models, 9 machines
Waiting on 2 models, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
^C
mbruzek@warhorse:~$ juju list-models
NAME OWNER STATUS LAST CONNECTION
admin admin@local destroying never connected
etcd-1 admin@local destroying 29 minutes ago
mbruzek@warhorse:~$ juju kill-controller lxd
WARNING! This command will destroy the "local.lxd" controller.
This includes all machines, services, data and other resources.
Continue [y/N]? y
Destroying controller "local.lxd"
Waiting for resources to be reclaimed
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
... snip this continues for several minutes before I decide to abort ...
Waiting on 1 model, 9 machines
Waiting on 1 model, 9 machines
^C
The controller is still not destroyed, I don't know how to destroy it.
mbruzek@warhorse:~$ juju list-models
NAME OWNER STATUS LAST CONNECTION
admin admin@local destroying never connected
etcd-1 admin@local destroying 3 hours ago