Change in ovirt-engine[master]: core: Default DC & Cluster has fixed UUIDs

emesika at redhat.com emesika at redhat.com
Sat Nov 16 21:18:58 UTC 2013


Eli Mesika has submitted this change and it was merged.

Change subject: core: Default DC & Cluster has fixed UUIDs
......................................................................


core: Default DC & Cluster has fixed UUIDs

When installing several RHEV environments and having integrated
management for the heterogeneous virtual environment.

When the integrated management program gathering information through the
rhev REST api every RHEVM installations of The 'Default' Datacenter
uuid and 'Default' Cluster uuid are the same.

These were generated uniq uuids on previous versions implementations
such as RHEV 3.0 or 3.1.

This patch removes the static DC & Cluster UUID (except from the tests)
and change all references to take the dynamic generated value that is
stored in the vdc_options table.

Change-Id: I96c96f5692a9ba113f37f0f8b082aaee244b3ed7
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1026885
Signed-off-by: Eli Mesika <emesika at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RemoveVdsGroupCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/UpdateVdsGroupCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/StoragePoolValidator.java
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/UpdateVdsGroupCommandTest.java
M backend/manager/modules/bll/src/test/java/org/ovirt/engine/core/bll/storage/UpdateStoragePoolCommandTest.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VDSGroup.java
M packaging/dbscripts/insert_data.sql
M packaging/setup/ovirt_engine_setup/constants.py
M packaging/setup/plugins/ovirt-engine-setup/config/appmode.py
9 files changed, 31 insertions(+), 21 deletions(-)

Approvals:
  Eli Mesika: Verified; Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I96c96f5692a9ba113f37f0f8b082aaee244b3ed7
Gerrit-PatchSet: 3
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: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list