Unable to Destroy Environment (2.0-alpha2)

Andrew Wilkins andrew.wilkins at canonical.com
Fri Feb 26 00:47:55 UTC 2016


On Thu, Feb 25, 2016 at 9:53 PM John Meinel <john at arbash-meinel.com> wrote:

> Using Juju 1.25.3 on trusty, I ran into a problem destroying an old
> environment.
>
> ERROR environment destruction failed: destroying storage: destroying
> volumes: detaching volume- from machine-: Unable to detach root volume
> 'vol-...' from instance 'i-....' (IncorrectState).
>
> Is Juju trying to treat the root volume of an instance as another bit of
> Storage and then failing to tear it down?
>

Yes, looks like there's a bug in the EBS provider code that lists volumes.
It should be filtering out root volumes, but is not.


> I went ahead and stopped the instance without terminating it, just in case
> someone wants to help with a post mortem. But I'm wondering what happened
> here. The environment was bootstrapped with 2.0-alpha2 so it is in a bit of
> a limbo. (too old to work with 2.0-beta, perhaps too new to work with 1.25).
>
> John
> =:->
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju-dev/attachments/20160226/f7e2e02e/attachment.html>


More information about the Juju-dev mailing list