I have the same issue on: 2.2-beta1-xenial-amd64
juju remove-machine <machine>
juju remove-unit <unit>
Machines are in various states (some are even deleted on LXC) and the
commands succeed, but the units/machines are still listed.
root@ayana-angel:~# juju status
Model Controller Cloud/Region Version
ayana-angel juju-lxd-0 ayana-angel 2.1-beta4
App Version Status Scale Charm
Store Rev OS Notes
assaultcube unknown 0/1 assaultcube
jujucharms 4 ubuntu exposed
minecraft active 0/1 minecraft
jujucharms 3 ubuntu exposed
plex active 0/1 plex
jujucharms 0 ubuntu exposed
ubuntu active 0/1 ubuntu
jujucharms 10 ubuntu exposed
ubuntu-repository-cache waiting 0 ubuntu-repository-cache
jujucharms 20 ubuntu
Unit Workload Agent Machine Public address
Ports Message
assaultcube/0 unknown lost 17 2603:3001:3301:65f0:216:3eff:fe5f:ab55
28763/udp,28764/udp agent lost, see 'juju show-status-log assaultcube/0'
minecraft/0* unknown lost 2 2603:3001:3301:65f0:216:3eff:fe69:96e0
25565/tcp agent lost, see 'juju show-status-log minecraft/0'
plex/0 unknown lost 12 2603:3001:3301:65f0:216:3eff:fe3e:509a
32400/tcp agent lost, see 'juju show-status-log plex/0'
ubuntu/1 unknown lost 16 2603:3001:3301:65f0:216:3eff:fe5c:ca70
agent lost, see 'juju show-status-log ubuntu/1'
Machine State DNS Inst id Series
AZ Message
2 down 2603:3001:3301:65f0:216:3eff:fe69:96e0 juju-df482e-2 trusty
Running
12 down 2603:3001:3301:65f0:216:3eff:fe3e:509a juju-df482e-12 trusty
Running
16 down 2603:3001:3301:65f0:216:3eff:fe5c:ca70 juju-df482e-16 xenial
Running
17 down 2603:3001:3301:65f0:216:3eff:fe5f:ab55 juju-df482e-17 precise
Stopped
Relation Provides Consumes Type
cluster ubuntu-repository-cache ubuntu-repository-cache peer
root@ayana-angel:~# juju remove-unit minecraft/0
root@ayana-angel:~# juju remove-unit assaultcube/0
root@ayana-angel:~# juju status
Model Controller Cloud/Region Version
ayana-angel juju-lxd-0 ayana-angel 2.1-beta4
App Version Status Scale Charm
Store Rev OS Notes
assaultcube unknown 0/1 assaultcube
jujucharms 4 ubuntu exposed
minecraft active 0/1 minecraft
jujucharms 3 ubuntu exposed
plex active 0/1 plex
jujucharms 0 ubuntu exposed
ubuntu active 0/1 ubuntu
jujucharms 10 ubuntu exposed
ubuntu-repository-cache waiting 0 ubuntu-repository-cache
jujucharms 20 ubuntu
Unit Workload Agent Machine Public address
Ports Message
assaultcube/0 unknown lost 17 2603:3001:3301:65f0:216:3eff:fe5f:ab55
28763/udp,28764/udp agent lost, see 'juju show-status-log assaultcube/0'
minecraft/0* unknown lost 2 2603:3001:3301:65f0:216:3eff:fe69:96e0
25565/tcp agent lost, see 'juju show-status-log minecraft/0'
plex/0 unknown lost 12 2603:3001:3301:65f0:216:3eff:fe3e:509a
32400/tcp agent lost, see 'juju show-status-log plex/0'
ubuntu/1 unknown lost 16 2603:3001:3301:65f0:216:3eff:fe5c:ca70
agent lost, see 'juju show-status-log ubuntu/1'
Machine State DNS Inst id Series
AZ Message
2 down 2603:3001:3301:65f0:216:3eff:fe69:96e0 juju-df482e-2 trusty
Running
12 down 2603:3001:3301:65f0:216:3eff:fe3e:509a juju-df482e-12 trusty
Running
16 down 2603:3001:3301:65f0:216:3eff:fe5c:ca70 juju-df482e-16 xenial
Running
17 down 2603:3001:3301:65f0:216:3eff:fe5f:ab55 juju-df482e-17 precise
Stopped
Relation Provides Consumes Type
cluster ubuntu-repository-cache ubuntu-repository-cache peer
root@ayana-angel:~# lxc list
+----------------+---------+---------------------+-----------------------------------------------+------------+-----------+
| NAME | STATE | IPV4 | IPV6
| TYPE | SNAPSHOTS |
+----------------+---------+---------------------+-----------------------------------------------+------------+-----------+
| juju-c74329-0 | RUNNING | 192.168.1.91 (eth0) |
2603:3001:3301:65f0:216:3eff:fee0:618a (eth0) | PERSISTENT | 2 |
| | | | fc00::216:3eff:fee0:618a
(eth0) | | |
+----------------+---------+---------------------+-----------------------------------------------+------------+-----------+
| juju-df482e-12 | RUNNING | 192.168.1.96 (eth0) |
2603:3001:3301:65f0:216:3eff:fe3e:509a (eth0) | PERSISTENT | 2 |
| | | | fc00::216:3eff:fe3e:509a
(eth0) | | |
+----------------+---------+---------------------+-----------------------------------------------+------------+-----------+
| juju-df482e-16 | RUNNING | 192.168.1.90 (eth0) |
2603:3001:3301:65f0:216:3eff:fe5c:ca70 (eth0) | PERSISTENT | 0 |
| | | | fc00::216:3eff:fe5c:ca70
(eth0) | | |
+----------------+---------+---------------------+-----------------------------------------------+------------+-----------+
Thanks.
** Also affects: ubuntu
Importance: Undecided
Status: New
** No longer affects: ubuntu
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1607971
Title:
[juju 2.0 ] cannot remove or destroy machine in pending state
To manage notifications about this bug go to:
https://bugs.launchpad.net/juju/+bug/1607971/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs