Sandro Bonazzola has submitted this change and it was merged.
Change subject: Add --check-deployed to hosted-engine
......................................................................
Add --check-deployed to hosted-engine
hosted-engine already checks whether or not vmid exists as a proxy
to find whether the engine is deployed.
Add a trivial function which checks this, so other utilities can
verify this without parsing the output of other commands to see if
a bad exit code is from exit_not_deployed or for another reason.
Change-Id: I5c876ccccccb79df858538438e6767fec8ed32ed
Bug-Url:
https://bugzilla.redhat.com/show_bug.cgi?id=1324921
Signed-off-by: Ryan Barry <rbarry(a)redhat.com>
---
M man/hosted-engine.8
M src/bin/hosted-engine.in
2 files changed, 20 insertions(+), 0 deletions(-)
Approvals:
Fabian Deutsch: Looks good to me, but someone else must approve
Sandro Bonazzola: Looks good to me, approved
Simone Tiraboschi: Looks good to me, but someone else must approve
Jenkins CI: Passed CI tests
Ryan Barry: Verified
--
To view, visit
https://gerrit.ovirt.org/56722
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I5c876ccccccb79df858538438e6767fec8ed32ed
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-hosted-engine-setup
Gerrit-Branch: master
Gerrit-Owner: Ryan Barry <rbarry(a)redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Lev Veyde <lveyde(a)redhat.com>
Gerrit-Reviewer: Rafael Martins <rmartins(a)redhat.com>
Gerrit-Reviewer: Ryan Barry <rbarry(a)redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo(a)redhat.com>
Gerrit-Reviewer: Simone Tiraboschi <stirabos(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>