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.
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:
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.
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
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: