destroy local environment

Charles Butler charles.butler at canonical.com
Mon Feb 9 21:49:51 UTC 2015


That plugin is great for nuking a local environment from orbit and
resetting to square 1 - however if you dont want to rebuild your local
provider env from scratch - i recommend just destroy-environment -y --force
which will take a sledgehammer to the jujud services, and wipe out the
current lxc-containers (99.9999% of them... that oddball .00001 will leave
a container around that should have been cleaned up) leaving you ready for
a juju bootstrap.

Now when juju local gets wonky, stops behaving as it should - 100% - use
the juju-clean plugin and come see us in #juju if you are unable to get the
local env working after that.

Food for thought

On Mon, Feb 9, 2015 at 4:40 PM, sheila miguez <shekay at pobox.com> wrote:

>
> On Mon, Feb 9, 2015 at 3:15 PM, Nicolás Pace <nicopace at gmail.com> wrote:
>
>> how can i destroy my local lxc environment, without using 'juju
>>> destroy-environment local' (it is not responding, as i got out of disk
>>> space :S)
>>>
>>
>> Just to complete the answer, lazyPower answered me.
>> What i did was juju destroy-environment local -y --force
>> then, there was a hanged lxc environment, so i  did lxc-destroy it.
>> That was all i needed.
>>
>
> I found out about a plugin for this the last time it happened to me. I got
> much help in #juju as well.
>
> https://github.com/juju/plugins/blob/master/juju-clean
>
> This also checks some processes and cleans up other files for you.
>
> --
> shekay at pobox.com
>
> --
> Juju mailing list
> Juju at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
>


-- 
All the best,

Charles Butler <charles.butler at canonical.com> - Juju Charmer
Come see the future of datacenter orchestration: http://jujucharms.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20150209/91aa7460/attachment.html>


More information about the Juju mailing list