[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 notification because you are a member of Ubuntu
Server Team, which is subscribed to maas in Ubuntu.
https://bugs.launchpad.net/bugs/1229275

Title:
  [maas] juju destroy-environment also destroys nodes that are not
  controlled by juju

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju/+bug/1229275/+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 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 were 'allocated to
  admin' back to a 'Ready' state. These machines were not being used /
  controller by juju, but rather by maas-cli.
  
  This means that juju destroys all of the machines regardless of whether
  they are being used by juju or not.
+ 
+ Related bugs:
+  bug 1081247:  maas provider releases all nodes it did not allocate [does not 
play well with others]

-- 
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
  by juju

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju/+bug/1229275/+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 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 is counterproductive).

** Changed in: maas (Ubuntu)
   Status: New = Triaged

** Changed in: maas (Ubuntu)
   Importance: Undecided = Critical

-- 
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
  by juju

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1229275/+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 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 that tag

** Also affects: juju-core
   Importance: Undecided
   Status: New

** Changed in: juju-core
   Importance: Undecided = Critical

** Changed in: juju-core
   Status: New = Triaged

-- 
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
  by juju

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-core/+bug/1229275/+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 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 not controlled
  by juju

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju/+bug/1229275/+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 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
  by juju

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju/+bug/1229275/+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 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 destroys nodes that are not controlled
  by juju

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1229275/+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