<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 14, 2016 at 11:27 PM, Stuart Gott <span dir="ltr"><<a href="mailto:sgott@redhat.com" target="_blank">sgott@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>All,<br><br></div>We're working on a script that stands up an oVirt Engine and adds a node to it. The issue is we don't know how long to wait before trying to add a node. What we're doing right now is to check the status of the engine using:<br><br><a href="https://ENGINE_IP/ovirt-engine/services/health" target="_blank">https://ENGINE_IP/ovirt-<wbr>engine/services/health</a><br><br></div>to determine when the oVirt engine itself has booted. That link reports "DB Up!Welcome to Health Status!" as soon as the web UI is accessible, but this is not the same thing as having an actual usable cluster attached.<br><br></div>Would it be possible to have separate status messages to distinguish between an engine that has/is missing a usable cluster? Is that already possible some other way? Blindly waiting for arbitrary time periods is error prone.<br></div></div></div></blockquote><div><br></div><div>The API also has a test command as well. I don't think we need to extend it for a specific use case. What about a missing data center? Host? SPM?</div><div>You can see in ovirt-system-test for an example that at least checks that the service is up (and could use the serice health end point as well) connects to the API and performs a test() against it to verify it works. I think that overall should suffice.</div><div>Y.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><br></div>Thanks!<br><br></div>Stu<br></div>
<br>______________________________<wbr>_________________<br>
Devel mailing list<br>
<a href="mailto:Devel@ovirt.org">Devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/devel</a><br></blockquote></div><br></div></div>