Change in ovirt-hosted-engine-setup[master]: Add --check-deployed to hosted-engine

sbonazzo at redhat.com sbonazzo at redhat.com
Thu Apr 28 14:50:12 UTC 2016


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 at 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 at redhat.com>
Gerrit-Reviewer: Fabian Deutsch <fabiand at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Lev Veyde <lveyde at redhat.com>
Gerrit-Reviewer: Rafael Martins <rmartins at redhat.com>
Gerrit-Reviewer: Ryan Barry <rbarry at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Simone Tiraboschi <stirabos at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list