<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Sun, Apr 3, 2016 at 9:45 PM John Meinel <<a href="mailto:john@arbash-meinel.com">john@arbash-meinel.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I'm not sure what happened, but I can't bootstrap, and I can't kill-controller to try again. I started out with "failing to get controller-uuid". I then manually killed the machines, but now I get "unable to get bootstrap information".<div><br></div><div>Clearly there is *some* bootstrap information, or I would be able to "juju bootstrap", but apparently there isn't enough information so I can't "juju kill-controller".</div><div><br></div><div>I feel like we're missing something in our implementation. I realize this is *probably* just version skew, where I was using one of the earlier dev releases, and then it broke against a new dev release. However, it also feels like we're missing a more fundamental "kill should make due with the information it has, and cleanup". "juju destroy-environment --force" was our old big hammer to wipe the slate clean. But now our attempts at wiping the state clean all seem to trip up at every turn. The best I've found is to "rm -rf ~/.local/share/juju" but that, of course, means I lose *all* of my controllers and my credentials.</div><div><br></div><div>It feels like things like "kill-controller" shouldn't be "allowed" to fail. Throwing exceptions during cleanup is usually something that isn't helpful.</div></div></blockquote><div><br></div><div>kill-controller will first try to kill via the API; if that fails, it does the equivalent of "destroy-environment --force". I don't think there's much else we can do, is there?</div><div><br></div><div>We currently need one of two things: valid API connection details, or the bootstrap configuration. In either case, it's going to break if the configuration is invalid. In your case, you've got a missing "controller-uuid" attribute, which was added as a mandatory attribute between beta releases. In a non-beta release we would make sure that the config changes aren't backwards incompatible.</div><div><br></div><div>Cheers,</div><div>Andrew</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Thoughts?</div><div><br>John</div><div>=:-></div><div><br></div></div>
--<br>
Juju-dev mailing list<br>
<a href="mailto:Juju-dev@lists.ubuntu.com" target="_blank">Juju-dev@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/juju-dev" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/juju-dev</a><br>
</blockquote></div></div>