RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1428401 - remote-viewer shows CD's from detached ISO domain.
Summary: remote-viewer shows CD's from detached ISO domain.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libgovirt
Version: 7.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Eduardo Lima (Etrunko)
QA Contact: SPICE QE bug list
URL:
Whiteboard:
Depends On:
Blocks: 1428402
TreeView+ depends on / blocked
 
Reported: 2017-03-02 14:02 UTC by Andrei Stepanov
Modified: 2020-03-31 20:09 UTC (History)
10 users (show)

Fixed In Version: libgovirt-0.3.4-3.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1428402 (view as bug list)
Environment:
Last Closed: 2020-03-31 20:09:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
log REST_DEBUG=proxy remote-viewer (338.88 KB, text/plain)
2017-03-02 14:02 UTC, Andrei Stepanov
no flags Details
log REST_DEBUG=proxy remote-viewer (for RHEL7.3) (356.62 KB, text/plain)
2017-03-02 14:47 UTC, Andrei Stepanov
no flags Details
REST_DEBUG=proxy virt-viewer log (97.32 KB, text/plain)
2019-06-28 17:23 UTC, David Jaša
no flags Details
second-level pop-up (363.83 KB, image/png)
2019-06-28 17:24 UTC, David Jaša
no flags Details
same error in Change CD dialog. No need for 2nd level pop-up (363.19 KB, image/png)
2019-06-28 17:25 UTC, David Jaša
no flags Details
attempt to add CD from domain in maintenance mode (94.51 KB, image/png)
2019-06-28 17:31 UTC, David Jaša
no flags Details
Second level pop-up after bug validation (253.03 KB, image/png)
2019-11-15 12:08 UTC, Radek Duda
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:1170 0 None None None 2020-03-31 20:09:33 UTC

Description Andrei Stepanov 2017-03-02 14:02:37 UTC
Created attachment 1259172 [details]
log REST_DEBUG=proxy remote-viewer

remote-viewer has in menu entry "Change CD". With this menu user is able to connect desired CD image to VM. The problem is that, remote-viewer shows CDs even from detached ISO domain. As a result, selected CD doesn't appear in VM.


Client:
libgovirt-0.3.3-1.el7_2.4.x86_64
virt-viewer-2.0-6.el7_2.2.x86_64


oVirt:
ovirt-engine-4.1.1.2-0.1.el7.noarch

How reproducible: always


Steps to Reproduce:
1. Go to AdminPortal.
2. RHV should have Default DataCenter, and attached ISO domain to it.
2. Create a new DataCetner, add a host, deploy a new VM.
3. Do not attach ISO domain to this new DataCenter.
4. Connect with remote-viewer to VM.

Actual results: remote-viewer shows images from detached ISO domain. Selected ISO image could not be mounted.

Log has message (see attachment for complete log):

< <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
< <fault>
<     <reason>Operation Failed</reason>
<     <detail>[Cannot Change CD without active ISO domain.]</detail>
< </fault>


This is also true for windows client with:
spice-client-msi-x86-4.1-6.el7ev.noarch
* Wed Feb 08 2017 Uri Lublin <uril> - 4.1-6
- spec: fix changelog (rhbz#1405612)

* Wed Feb 08 2017 Uri Lublin <uril> - 4.1-5
- spec: fix Obsoletes (rhbz#1405612)

* Thu Dec 22 2016 Uri Lublin <uril> - 4.1-4
- mingw-virt-viewer 2.0-13
- mingw-spice-gtk   0.31-6

Comment 2 Christophe Fergeau 2017-03-02 14:11:05 UTC
I believe this was fixed in 7.3, see bug #1313371
Is this a request to backport this to 7.2.z?

Comment 3 Andrei Stepanov 2017-03-02 14:46:50 UTC
This bug is reproducible for RHEl7.3 client with:

rpm -qa | grep -E 'virt-viewer|libgov|spice'

virt-viewer-2.0-12.el7.x86_64
spice-server-0.12.4-20.el7_3.x86_64
libgovirt-0.3.3-4.el7.x86_64
spice-gtk3-0.31-6.el7_3.2.x86_64
spice-vdagent-0.14.0-14.el7.x86_64
spice-glib-0.31-6.el7_3.2.x86_64
spice-protocol-0.12.11-1.el7.noarch

Comment 4 Andrei Stepanov 2017-03-02 14:47:23 UTC
Created attachment 1259176 [details]
log REST_DEBUG=proxy remote-viewer  (for RHEL7.3)

Comment 5 Christophe Fergeau 2017-03-02 15:19:53 UTC
Could be related to bug #1427467. Would be worth testing with RHEV 4.0 or older if possible.

Comment 14 David Jaša 2019-06-28 17:23:16 UTC
Created attachment 1585706 [details]
REST_DEBUG=proxy virt-viewer log

I don't consider this bug fixed from user perspective:
- only CDs from domains with Active status should be offered. CDs from Maintenance (log attached) and even Detached domains are offered
- when there is no iso domain attached, r-v shows error pop-up on top of Change CD dialog. Simple message "No iso domain attached" or "No CD images are available" in place of image selection would do much better job

OTOH if libgovirt aim is to be generic, it should be able to tell it if app wants all or just usable images (which is case of r-v Change CD dialog), therefore I'm leaving the bug still in ON_QA.

Comment 15 David Jaša 2019-06-28 17:24:05 UTC
Created attachment 1585707 [details]
second-level pop-up

Comment 16 David Jaša 2019-06-28 17:25:15 UTC
Created attachment 1585708 [details]
same error in Change CD dialog. No need for 2nd level pop-up

Comment 17 David Jaša 2019-06-28 17:31:10 UTC
Created attachment 1585709 [details]
attempt to add CD from domain in maintenance mode

clarification of 2nd bullet: when there is no iso domain defined in the Data Center in question. When it is there and unattached, images are listed in dialog as available, resulting in error when user clicks them.

Comment 23 Radek Duda 2019-11-15 12:08:54 UTC
Created attachment 1636451 [details]
Second level pop-up after bug validation

Behind this pop-up there is the same message 'Could not find valid ISO storage domain' written inside 'Change CD' dialog

Comment 25 errata-xmlrpc 2020-03-31 20:09:14 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:1170


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