From Piotr Kliczewski <piotr.kliczewski(a)gmail.com>:
Piotr Kliczewski 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(a)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, 6 insertions(+), 4 deletions(-)
Approvals:
Ondra Machacek: Verified
Martin Peřina: Looks good to me, approved
Jenkins CI: Passed CI tests
--
To view, visit
https://gerrit.ovirt.org/75722
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: If872dcab32f8e0f9c2806a64552cf7c6ff28a4b1
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.1
Gerrit-Owner: Ondra Machacek <omachace(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Peřina <mperina(a)redhat.com>
Gerrit-Reviewer: Ondra Machacek <omachace(a)redhat.com>
Gerrit-Reviewer: Piotr Kliczewski <piotr.kliczewski(a)gmail.com>
Gerrit-Reviewer: Tal Nisan <tnisan(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>