[Bug 1210054] Re: juju terminate-machine with local provider doesn't destroy machine
** Changed in: juju-core (Ubuntu Saucy) Status: Triaged = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to juju-core in Ubuntu. https://bugs.launchpad.net/bugs/1210054 Title: juju terminate-machine with local provider doesn't destroy machine To manage notifications about this bug go to: https://bugs.launchpad.net/juju-core/+bug/1210054/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1210054] Re: juju terminate-machine with local provider doesn't destroy machine
** Changed in: juju-core Status: Fix Committed = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to juju-core in Ubuntu. https://bugs.launchpad.net/bugs/1210054 Title: juju terminate-machine with local provider doesn't destroy machine To manage notifications about this bug go to: https://bugs.launchpad.net/juju-core/+bug/1210054/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1210054] Re: juju terminate-machine with local provider doesn't destroy machine
** Changed in: juju-core Milestone: 1.15.0 = 1.15.1 ** Changed in: juju-core Status: In Progress = Fix Committed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to juju-core in Ubuntu. https://bugs.launchpad.net/bugs/1210054 Title: juju terminate-machine with local provider doesn't destroy machine To manage notifications about this bug go to: https://bugs.launchpad.net/juju-core/+bug/1210054/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1210054] Re: juju terminate-machine with local provider doesn't destroy machine
** Changed in: juju-core Status: Triaged = In Progress ** Changed in: juju-core Assignee: (unassigned) = Tim Penhey (thumper) ** Changed in: juju-core Milestone: None = 1.15.0 ** Branch linked: lp:~thumper/juju-core/lxc-stopping -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to juju-core in Ubuntu. https://bugs.launchpad.net/bugs/1210054 Title: juju terminate-machine with local provider doesn't destroy machine To manage notifications about this bug go to: https://bugs.launchpad.net/juju-core/+bug/1210054/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1210054] Re: juju terminate-machine with local provider doesn't destroy machine
Thanks, James. lxc-stop is returning false because the machine is already stopped, and juju is (it seems) stopping there because of failure. We can either (a) have juju ignore lxc-stop failure, (b) just have juju run lxc-destroy -f which will implicitly stop the machine if needed (and not manually run lxc-stop), or (c) update lxc-stop to not return failure if the machine was already stopped. I personally think both (b) and (c) seem reasonable, though someone may object to the lxc-stop change. Certainly (b) will work around (c), so (b) by itself will fix this. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to juju-core in Ubuntu. https://bugs.launchpad.net/bugs/1210054 Title: juju terminate-machine with local provider doesn't destroy machine To manage notifications about this bug go to: https://bugs.launchpad.net/juju-core/+bug/1210054/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1210054] Re: juju terminate-machine with local provider doesn't destroy machine
** Also affects: juju-core (Ubuntu) Importance: Undecided Status: New ** Also affects: juju-core (Ubuntu Saucy) Importance: Undecided Status: New ** Changed in: juju-core (Ubuntu Saucy) Status: New = Triaged ** Changed in: juju-core (Ubuntu Saucy) Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to juju-core in Ubuntu. https://bugs.launchpad.net/bugs/1210054 Title: juju terminate-machine with local provider doesn't destroy machine To manage notifications about this bug go to: https://bugs.launchpad.net/juju-core/+bug/1210054/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1210054] Re: juju terminate-machine with local provider doesn't destroy machine
jamespage@armstrong:/etc/apparmor.d$ sudo lxc-list WARNING: lxc-list is deprecated, please use lxc-ls --fancy. This symlink will be dropped in LXC 1.0. NAMESTATEIPV4IPV6 AUTOSTART jamespage-laptop-machine-1 RUNNING 10.0.3.20 - YES jamespage-laptop-machine-2 STOPPED - - YES jamespage-laptop-machine-3 RUNNING 10.0.3.11 - YES jamespage-laptop-machine-4 RUNNING 10.0.3.95 - YES jamespage-laptop-machine-5 RUNNING 10.0.3.107, 10.0.3.200 - YES jamespage-laptop-machine-6 RUNNING 10.0.3.4- YES jamespage-laptop-machine-7 RUNNING 10.0.3.204 - YES jamespage-laptop-machine-8 RUNNING 10.0.3.205 - YES jamespage-laptop-machine-9 RUNNING 10.0.3.206 - YES -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to juju-core in Ubuntu. https://bugs.launchpad.net/bugs/1210054 Title: juju terminate-machine with local provider doesn't destroy machine To manage notifications about this bug go to: https://bugs.launchpad.net/juju-core/+bug/1210054/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1210054] Re: juju terminate-machine with local provider doesn't destroy machine
jamespage@armstrong:/etc/apparmor.d$ sudo juju --debug destroy-environment 2013-09-18 14:11:27 INFO juju.provider.local environprovider.go:32 opening environment laptop 2013-09-18 14:11:27 DEBUG juju.provider.local environ.go:210 found 10.0.3.1 as address for lxcbr0 2013-09-18 14:11:27 DEBUG juju.provider.local environ.go:234 checking 10.0.3.1:8040 to see if machine agent running storage listener 2013-09-18 14:11:27 DEBUG juju.provider.local environ.go:250 yes, don't start local storage listeners WARNING: this command will destroy the laptop environment (type: local) This includes all machines, services, data and other resources. Continue [y/N]? y 2013-09-18 14:11:38 ERROR juju.container.lxc lxc.go:204 failed to destroy lxc container: error executing lxc-stop: jamespage-laptop-machine-2 is not running 2013-09-18 14:11:38 ERROR juju supercommand.go:282 command failed: error executing lxc-stop: jamespage-laptop-machine-2 is not running error: error executing lxc-stop: jamespage-laptop-machine-2 is not running -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to juju-core in Ubuntu. https://bugs.launchpad.net/bugs/1210054 Title: juju terminate-machine with local provider doesn't destroy machine To manage notifications about this bug go to: https://bugs.launchpad.net/juju-core/+bug/1210054/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs