Bug 1310450 - The CD list in 'change CD' console menu still available after detaching ISO domain
Summary: The CD list in 'change CD' console menu still available after detaching ISO ...
Keywords:
Status: CLOSED DUPLICATE of bug 1313371
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: virt-viewer
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: pre-dev-freeze
: ---
Assignee: Christophe Fergeau
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-21 18:09 UTC by Shira Maximov
Modified: 2016-03-23 12:48 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1313371 1313376 (view as bug list)
Environment:
Last Closed: 2016-03-23 12:48:18 UTC
Target Upstream Version:


Attachments (Terms of Use)
engine log (3.43 MB, text/plain)
2016-02-21 18:09 UTC, Shira Maximov
no flags Details

Description Shira Maximov 2016-02-21 18:09:46 UTC
Created attachment 1129071 [details]
engine log

Description of problem:
The CD list in 'change CD' menu still appears after detaching ISO domain 

Version-Release number of selected component (if applicable):
The CDs in 'change CD' console menu still appears after detaching iso domain 

How reproducible:
100%

Steps to Reproduce:
1. attach storage domain 
2. connect to admin portal (with fqdn)
3. open Vm console (make sure you have permission on the VM) see the available CDs in 'change CD' 
4. detach ISO domain
5. open console again and see that the CD list is still available.

Actual results:
the CD list is still available.

Expected results:
the CD list should not be available.

Additional info:

Comment 1 Tomas Jelinek 2016-02-22 08:55:13 UTC
@Christophe: oVirt's REST API returns the list of CDs of the domain also when the domain is not attached. But when you get the ".../ovirt-engine/api/storagedomains/<storage id>" it will return:
"
...
<status>
<state>unattached</state>
</status>
...
"

Do you think you could do a check on remote-viewer side and show the menu only when the status of the storage domain is "active"?

Comment 2 Christophe Fergeau 2016-02-29 17:07:23 UTC
(In reply to Tomas Jelinek from comment #1)
> 
> Do you think you could do a check on remote-viewer side and show the menu
> only when the status of the storage domain is "active"?

Sure, that's a minor change (bug fix) on the remote-viewer side. Moving the bug.

Comment 3 Christophe Fergeau 2016-03-01 13:41:13 UTC
Fixed by https://www.redhat.com/archives/virt-tools-list/2016-March/msg00000.html

Comment 5 Christophe Fergeau 2016-03-23 12:48:18 UTC
Ah if you don't want to keep it in RHEV, that makes it a duplicate of #1313371

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


Note You need to log in before you can comment on or make changes to this bug.