Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1152424

Summary: [engine-backend] ISO domain is duplicated when attching it to several DCs
Product: Red Hat Enterprise Virtualization Manager Reporter: Elad <ebenahar>
Component: ovirt-engineAssignee: Tal Nisan <tnisan>
Status: CLOSED DUPLICATE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.5.0CC: amureini, ecohen, gklein, iheim, lpeer, lsurette, rbalakri, Rhev-m-bugs, tnisan, yeylon
Target Milestone: ---Keywords: Regression
Target Release: 3.5.0   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-14 14:58:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
engine.log and screenshot none

Description Elad 2014-10-14 07:01:41 UTC
Created attachment 946712 [details]
engine.log and screenshot

Description of problem:
When attaching an ISO domain to more than 1 DCs, the ISO domain entity in the DB gets duplicated.
It appears as an additional ISO domain in the webadmin 

Version-Release number of selected component (if applicable):
rhev3.5 vt5
rhevm-3.5.0-0.14.beta.el6ev.noarch

How reproducible:
Always

Steps to Reproduce:
Have 2 DCs 
1. Add an ISO domain to the setup, attach it to 2 DCs
2. 
3.

Actual results:
After attaching the ISO domain to the second DC, it appears twice:


                storage                 |   storage_name   
----------------------------------------+------------------
 749ef28f-c816-4c6d-a86f-13534ef0bce4   | ISO_DOMAIN
 e5840298-e815-40fb-8aa5-f79af6d4a012   | nfs2
 D36ikT-Jnf5-eNqo-x1Qf-4tfX-0vT8-atWpnP | iscsi2
 427c2d4e-e063-42cd-9f50-2b2d841d97de   | nfs5
 8a0cfbb4-afbf-43dd-89cb-a778e7596369   | export-4
 80174136-d596-4e84-aeb0-bab97775e8de   | nfs1
 c93de433-301c-4abb-993e-b5248dc53ed3   | rhevm-3-iso-lion
 c93de433-301c-4abb-993e-b5248dc53ed3   | rhevm-3-iso-lion
 07412f61-c8ac-49c0-8ede-32c0b953569a   | nfs6


Expected results:
ISO domain should exist once while it attached to several DCs

Additional info: engine.log and screenshot

Comment 2 Tal Nisan 2014-10-14 14:58:02 UTC

*** This bug has been marked as a duplicate of bug 1150525 ***