Change in ovirt-engine[master]: core: fix attaching a cluster to a new DC

oourfali at redhat.com oourfali at redhat.com
Wed Oct 1 15:12:39 UTC 2014


Oved Ourfali has submitted this change and it was merged.

Change subject: core: fix attaching a cluster to a new DC
......................................................................


core: fix attaching a cluster to a new DC

This patch fixes attaching a cluster to a new DC after its original DC
was removed.

In that case if the cluster has a host it will loss its dc id settings
and will try to insert to the vds_spm_map table empty GUID as the DC id.
Code was changed to check if the host DC id is empty and if so to take
this value from the cluster.

Change-Id: I195b333d8d8fafd0b21831961862d6dc2ca42ee9
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1148301
Signed-off-by: Eli Mesika <emesika at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVdsSpmIdCommand.java
1 file changed, 3 insertions(+), 1 deletion(-)

Approvals:
  Eli Mesika: Verified
  Allon Mureinik: Looks good to me, approved
  Oved Ourfali: Looks good to me, but someone else must approve



-- 
To view, visit http://gerrit.ovirt.org/33637
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I195b333d8d8fafd0b21831961862d6dc2ca42ee9
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourfali at redhat.com>
Gerrit-Reviewer: Ravi Nori <rnori at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list