Allon Mureinik has submitted this change and it was merged.
Change subject: core: call connectStorageServer when add a domain
......................................................................
core: call connectStorageServer when add a domain
If a storage domain is created with an already existing storage
connection, it's possible that the storage connection is not mounted
on the host via which the storage domain creation is done, thus
resulting a failure in domain creation.
This patch adds a connectStorageServer call in domain creation flow
to make sure the connection is valid and mount it before the call
to create the StorageDomain.
Change-Id: Ib93e681a36f439277054bf22d8ecb319e330d14f
Bug-Url:
https://bugzilla.redhat.com/991797
Signed-off-by: Alissa Bonas <abonas(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/AddStorageDomainCommand.java
1 file changed, 31 insertions(+), 1 deletion(-)
Approvals:
Allon Mureinik: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/17680
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ib93e681a36f439277054bf22d8ecb319e330d14f
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alissa Bonas <abonas(a)redhat.com>
Gerrit-Reviewer: Alissa Bonas <abonas(a)redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini(a)redhat.com>
Gerrit-Reviewer: Daniel Erez <derez(a)redhat.com>
Gerrit-Reviewer: automation(a)ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server