Allon Mureinik has submitted this change and it was merged.
Change subject: core: InitVdsOnUp - flow fixes
......................................................................
core: InitVdsOnUp - flow fixes
1. If the master domain is inactive/unknown - a host shouldn't fail this
phase of the flow if it respondes to getVdsStats.
2. If the master domain is inactive/unknown - the host shouldn't fail
the flow according to it's domain report.
Examples for relevant scenarios:
1. When there are no active hosts, all the domains are marked as
"unknown", if we will attempt to activate a host and it won't be able to
connect to the pool because of VDS_NETWORK_ERROR, the host won't move to
UP because of the check of it's domain report.
2. When there are no active hosts and a host is being activated,
successfully connects to the pool and it can't see any of the domains
it won't move to UP because of it's domain report.
Change-Id: I61fcc58be133efdecf264c22015609f6ee3ed942
Signed-off-by: Liron Aravot <laravot(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/InitVdsOnUpCommand.java
1 file changed, 19 insertions(+), 18 deletions(-)
Approvals:
Allon Mureinik: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/18165
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I61fcc58be133efdecf264c22015609f6ee3ed942
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liron Ar <laravot(a)redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini(a)redhat.com>
Gerrit-Reviewer: Liron Ar <laravot(a)redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk(a)redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan(a)redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan(a)redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs(a)redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server