<div dir="ltr">Thanks David --<div><br></div><div>I think it's currently targetted at 1.16.5:</div><div><br></div><div><a href="https://bugs.launchpad.net/juju-core/+bug/1089291">https://bugs.launchpad.net/juju-core/+bug/1089291</a><br>
</div><div><br></div><div>I'll be following it there. :)</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Dec 2, 2013 at 3:06 PM, David Cheney <span dir="ltr"><<a href="mailto:david.cheney@canonical.com" target="_blank">david.cheney@canonical.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Tue, Dec 3, 2013 at 8:47 AM, David Britton<br>
<<a href="mailto:david.britton@canonical.com">david.britton@canonical.com</a>> wrote:<br>
> Hi --<br>
><br>
> If I terminate a machine out from underneath juju, how do I correctly inform<br>
> juju that machine is no longer there?<br>
<br>
</div>The current solution we have for this is 'please don't do that, juju<br>
needs to own machines' ,but we understand that this can easily happen<br>
outside of your control.<br>
<br>
At the moment that will probably leave your juju instance with a<br>
phantom reference to a machine. Worse, if this machine was created<br>
without a service unit assigned, ie via juju add-machine, it may<br>
attract a unit which will never be deployed (because the machine has<br>
been removed).<br>
<br>
I say at the moment because this is being worked on as we speak and<br>
may already be fixed in 1.16.4 or later. You should at least upgrade<br>
to this release.<br>
<br>
If it is fixed in 1.16.4, when the release notes are available they<br>
will mention a new option on destroy-machine to forcefully remove it<br>
from the database. Like all --force style options, this should be used<br>
with care and not enshrined into regular use.<br>
<div class="HOEnZb"><div class="h5"><br>
><br>
> Is there a way to gracefully terminate from the service unit/machine<br>
> perspective (equivalent of shutdown to AWS or Nova, it will destroy the<br>
> instance)?<br>
><br>
> Thanks!<br>
><br>
> --<br>
> David Britton <<a href="mailto:david.britton@canonical.com">david.britton@canonical.com</a>><br>
><br>
</div></div><span class="HOEnZb"><font color="#888888">> --<br>
> Juju mailing list<br>
> <a href="mailto:Juju@lists.ubuntu.com">Juju@lists.ubuntu.com</a><br>
> Modify settings or unsubscribe at:<br>
> <a href="https://lists.ubuntu.com/mailman/listinfo/juju" target="_blank">https://lists.ubuntu.com/mailman/listinfo/juju</a><br>
><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>David Britton <<a href="mailto:david.britton@canonical.com" target="_blank">david.britton@canonical.com</a>></div></div>
</div>