@Charles: Aha! The various destroy commands don't have a --force flag; I
didn't know about the "remove-machine" command, which does accept --force.

That seemed to work. Thank you :-)

~ PeteVG

On Fri, Apr 8, 2016 at 9:47 AM Charles Butler <charles.but...@canonical.com>
wrote:

> I haven't validated this but you can try to remove the machine forcibly
>
> Juju remove-machine ## --force
>
> That should force removal of the container from the controller and let you
> destroy-service to remove it from the model.
>
>
>
> > On Apr 8, 2016, at 8:56 AM, Pete Vander Giessen <pet...@gmail.com>
> wrote:
> >
> > Hi All,
> >
> > Let's say that someone (okay, me) is experimenting with juju2 (develop)
> locally, and I've rudely destroyed an lxc container that had a juju charm
> deployed to it (lxc stop <container_name> && lxc delete <container_name>).
> >
> > Is there a way to convince juju that the charm is no longer deployed?
> juju destroy-service and juju destroy-unit both fail, because juju cannot
> connect to the machine. Is there a way, short of clobbering
> ~/.local/shrare/juju and attempting to start from scratch, of making juju
> let go of the charm?
> >
> > Thank you in advance,
> >
> > ~ PeteVG
> > --
> > Juju mailing list
> > Juju@lists.ubuntu.com
> > Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/juju
>
-- 
Juju mailing list
Juju@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju

Reply via email to