<div dir="ltr">The CLI now goes exclusively through the API, so you should be able to drive it from the GUI as well.<div><br></div><div>We'll probably need more focused APIs for getting the status of state machines (right now I think we just put it into "Status" itself, and we'll want to have a way to get just that information out).</div>
<div><br></div><div>I think quickstart could, indeed, just wait for bootstrap to finish and then immediately call 'juju ensure-availability'. I don't think you want to make it the default for all quickstart deployments, given that it consumes 3 machines right off the bat, and people already have difficulties with having 1 extra machine.</div>
<div><br></div><div>John</div><div>=:-></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 18, 2014 at 5:12 AM, Richard Harding <span dir="ltr"><<a href="mailto:rick.harding@canonical.com" target="_blank">rick.harding@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="">On Thu, 17 Apr 2014, roger peppe wrote:<br>
<br>
> I've just landed some changes on juju tip that enable "highly available"<br>
> juju environments. In a HA environment, there are several state servers -<br>
> if one dies, one of the others should take over.<br>
><br>
</div>> ...<br>
<div class="">><br>
> There is one major caveat: upgrading an existing environment<br>
> to HA is not supported currently (Andrew Wilkins has a branch in review that<br>
> should fix this).<br>
<br>
</div>Thanks for the heads up Roger. We'll definitely take a peek at this. From a<br>
GUI perspective, is this something that can be done via the API or planned<br>
for that? From our end we'd love to be able to have juju-quickstart<br>
bootstrap an HA environment. We'd also want to monitor and expose the HA<br>
status in the GUI. Once the upgrading an existing environment lands, it's<br>
something we'd like to enable to users to be able to take their current<br>
environment and bring up a HA state server within it.<br>
<br>
These instructions sounds like the work for juju-quickstart should be<br>
possible to just script into the bootstrap process. The rest I've not look<br>
into yet.<br>
<br>
--<br>
<br>
Rick Harding<br>
<br>
Juju UI Engineering<br>
<a href="https://launchpad.net/~rharding" target="_blank">https://launchpad.net/~rharding</a><br>
@mitechie<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Juju-dev mailing list<br>
<a href="mailto:Juju-dev@lists.ubuntu.com">Juju-dev@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/juju-dev" target="_blank">https://lists.ubuntu.com/mailman/listinfo/juju-dev</a><br>
</font></span></blockquote></div><br></div>