[Bug 1229275] Re: juju destroy-environment also destroys nodes that are not controlled by juju

2013-10-01 Thread Tim Penhey
** Tags added: maas ** Summary changed: - juju destroy-environment also destroys nodes that are not controlled by juju + [maas] juju destroy-environment also destroys nodes that are not controlled by juju ** Changed in: juju Importance: Undecided = High -- You received this bug

[Bug 1229275] Re: juju destroy-environment also destroys nodes that are not controlled by juju

2013-09-27 Thread Scott Moser
** Description changed: In a saucy MAAS environment, I had machines allocated to the admin user that were deployed using maas-cli (not using juju). These were perfectly running machines. However, while trying to use juju I noticed that a 'juju destroy-environment' put the machines that

[Bug 1229275] Re: juju destroy-environment also destroys nodes that are not controlled by juju

2013-09-26 Thread William Reade
Looks like we never added anything to tag the machines with their environment. Implementation note: *please* tag with environment UUID, not environment name (names are not globally unique, and environments will be referencing one another one day: treating the name as anything other than an alias

[Bug 1229275] Re: juju destroy-environment also destroys nodes that are not controlled by juju

2013-09-26 Thread Raphaël Badin
One solution to fix this problem would be this: - when the env is bootstrapped: create a tag named after the environment UUID - each time juju takes control of a node: associate that tag with the node - when juju fetches the list of instances it controls, only return the nodes associated with

[Bug 1229275] Re: juju destroy-environment also destroys nodes that are not controlled by juju

2013-09-26 Thread Raphaël Badin
** Also affects: juju Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1229275 Title: juju destroy-environment also destroys nodes that are

[Bug 1229275] Re: juju destroy-environment also destroys nodes that are not controlled by juju

2013-09-26 Thread Mark Ramm
** Changed in: juju Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1229275 Title: juju destroy-environment also destroys nodes that are not controlled

[Bug 1229275] Re: juju destroy-environment also destroys nodes that are not controlled by juju

2013-09-25 Thread Raphaël Badin
This might be a bug in the maas provider of juju-core… it definitely needs investigation… -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to maas in Ubuntu. https://bugs.launchpad.net/bugs/1229275 Title: juju destroy-environment also