Change in ovirt-engine[master]: pm: Wait for host to boot when executing start operation

Code Review gerrit at ovirt.org
Thu Apr 20 10:55:02 UTC 2017


>From Martin Peřina <mperina at redhat.com>:

Martin Peřina has submitted this change and it was merged.

Change subject: pm: Wait for host to boot when executing start operation
......................................................................


pm: Wait for host to boot when executing start operation

Previously when start fence action was executed we didn't wait
for the host to boot. This may cause an issue when the host
take too long to boot, so the host monitoring code will be
re-executing the fence operation and the host will never boot.

This patch handle the issue, so we now wait ServerRebootTimeout,
after the 'start' operation is executed and after this timeout
the host status is changed properly.

Change-Id: If872dcab32f8e0f9c2806a64552cf7c6ff28a4b1
Bug-Url: https://bugzilla.redhat.com/1423657
Signed-off-by: Ondra Machacek <omachace at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/pm/StartVdsCommand.java
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/pm/StartVdsCommandTest.java
2 files changed, 3 insertions(+), 4 deletions(-)

Approvals:
  Ondra Machacek: Verified
  Martin Peřina: Looks good to me, approved
  Eli Mesika: Looks good to me, but someone else must approve
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/75577
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: If872dcab32f8e0f9c2806a64552cf7c6ff28a4b1
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the Engine-commits mailing list