** Tags added: ubuntu-engineering ** Changed in: juju-core Importance: Medium => High
** Changed in: juju-core Milestone: None => next-stable -- 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: Triaged 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