This bug was fixed in the package lxc - 1.1.0~alpha2-0ubuntu2 --------------- lxc (1.1.0~alpha2-0ubuntu2) utopic; urgency=medium
* Cherry-pick usptream bugfix for lxc-usernic test. -- Stephane Graber <stgra...@ubuntu.com> Thu, 02 Oct 2014 15:01:56 -0400 ** Changed in: lxc (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1307215 Title: destroy-environment fails to clear lxc containers Status in juju-core: Triaged Status in “lxc” package in Ubuntu: Fix Released Bug description: Running destroy-environment with --force happily cleans up evan-local- machine-1, but fails to remove 2 or 3. I think this is what led to bug 1303778 for me. % juju destroy-environment local --force WARNING! this command will destroy the "local" environment (type: local) This includes all machines, services, data and other resources. Continue [y/N]? y [sudo] password for evan: ERROR failed to destroy lxc container: error executing "lxc-destroy": lxc_container: Error destroying rootfs for evan-local-machine-2; Destroying evan-local-machine-2 failed ERROR error executing "lxc-destroy": lxc_container: Error destroying rootfs for evan-local-machine-2; Destroying evan-local-machine-2 failed ERROR exit status 1 % sudo lxc-ls -f NAME STATE IPV4 IPV6 AUTOSTART ----------------------------------------------------- evan-local-machine-2 STOPPED - - YES evan-local-machine-3 STOPPED - - YES juju-precise-template STOPPED - - NO % juju destroy-environment local --force WARNING! this command will destroy the "local" environment (type: local) This includes all machines, services, data and other resources. Continue [y/N]? y ERROR failed to destroy lxc container: error executing "lxc-destroy": lxc_container: Error destroying rootfs for evan-local-machine-3; Destroying evan-local-machine-3 failed ERROR error executing "lxc-destroy": lxc_container: Error destroying rootfs for evan-local-machine-3; Destroying evan-local-machine-3 failed ERROR exit status 1 % sudo lxc-ls -f NAME STATE IPV4 IPV6 AUTOSTART ----------------------------------------------------- evan-local-machine-2 STOPPED - - YES evan-local-machine-3 STOPPED - - YES juju-precise-template STOPPED - - NO % juju destroy-environment local --force WARNING! this command will destroy the "local" environment (type: local) This includes all machines, services, data and other resources. Continue [y/N]? y % sudo lxc-ls -f NAME STATE IPV4 IPV6 AUTOSTART ----------------------------------------------------- evan-local-machine-2 STOPPED - - YES evan-local-machine-3 STOPPED - - YES juju-precise-template STOPPED - - NO To manage notifications about this bug go to: https://bugs.launchpad.net/juju-core/+bug/1307215/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp