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

Bug 1085398

Summary: Change CD list is still available even when ISO domain is inactive
Product: Red Hat Enterprise Virtualization Manager Reporter: Jiri Belka <jbelka>
Component: ovirt-engine-webadmin-portalAssignee: Idan Shaby <ishaby>
Status: CLOSED CURRENTRELEASE QA Contact: lkuchlan <lkuchlan>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.4.0CC: acanan, amureini, ecohen, gklein, iheim, ishaby, mlipchuk, ofrenkel, rbalakri, Rhev-m-bugs, scohen, tnisan, yeylon
Target Milestone: ---Flags: amureini: Triaged+
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: ovirt-engine-3.5.0_vt10 Doc Type: Bug Fix
Doc Text:
Cause: Irrelevant Consequence: The VM's Change CD list is not empty even though the ISO domain in the data center is inactive. Fix: The data center's ISO domain status is checked before displaying the CD list. Result: If the ISO domain in the data center is inactive, the CD list will be empty.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-16 19:10:12 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, server.log none

Description Jiri Belka 2014-04-08 13:55:13 UTC
Created attachment 884091 [details]
engine.log, server.log

Description of problem:
Change CD list is still available even ISO domain is inactive. It's quite odd.

Changing cd makes following error:


X Operation Canceled
Error while executing action:

jb-w7-x64:

    * Cannot Change CD without active ISO domain.


Version-Release number of selected component (if applicable):
av6/rhevm-3.4.0-0.13.beta3.el6ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. have a VM up
2. put ISO domain down (inactive it)
3. change cd button and check list

Actual results:
iso list displayed even iso domain is inactive

Expected results:
show nothing, inactive means nothing should be available

Additional info:

Comment 1 Jiri Belka 2014-04-08 13:59:29 UTC
Same on 3.3 env.

Comment 2 Omer Frenkel 2014-04-09 07:55:00 UTC
Maor, the iso list cache isn't cleared on maintenance of iso domain?

Comment 3 Maor 2014-04-09 08:01:36 UTC
IIRC no, but I don't think we should clear the cache on maintenance, since you might have another DC that will have an active ISO domain in it, so it will use this cache, while the DC with the ISO in maintenance might use it also.

Comment 4 Jiri Belka 2014-05-27 11:14:43 UTC
The issue still exists - av9.2.

Comment 5 Maor 2014-09-03 08:23:03 UTC
There should be a warning also in the GUI indicating that the Storage Domain is not active.
The fix should be in VmListModel area, at the changeCD function

Comment 6 lkuchlan 2014-11-26 08:59:48 UTC
Verified on RHEVM 3.5 vt11

Comment 7 Tal Nisan 2014-11-26 11:37:03 UTC
Please supply doc text

Comment 8 Allon Mureinik 2015-02-16 19:10:12 UTC
RHEV-M 3.5.0 has been released, closing this bug.