** Description changed:

- I destroyed my "juju-ci" environment, and my "juju-ci-2" environment was
- also deleted.  The environments had unique control-buckets.
+ [Impact]
+ Users inadvertently destroy all environments that they own, not just the 
target one.
+ 
+ [Test Case]
+ juju bootstrap env1
+ juju bootstrap env2
+ juju destroy-environement env1
+ # both environments destroyed
+ 
+ [Regression Potential
+ Minimal, the fix tightens up the pattern match used to determine which 
machines to destroy.
+ 
+ [Original Bug Report]
+ I destroyed my "juju-ci" environment, and my "juju-ci-2" environment was also 
deleted.  The environments had unique control-buckets.
  
  $ juju destroy-environment -e juju-ci
  WARNING: this command will destroy the "juju-ci" environment (type: openstack)
  This includes all machines, services, data and other resources.
  
  Continue [y/N]? y
  $ juju status
  ERROR Unable to connect to environment "juju-ci-2".
  Please check your credentials or use 'juju bootstrap' to create a new 
environment.
  
  Error details:
  no instances found

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1257481

Title:
  juju destroy-environment destroys other environments

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-core/+bug/1257481/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to