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 1717900 - Failed to show ISO images in ISO domain after I Click the "Change CD" menu
Summary: Failed to show ISO images in ISO domain after I Click the "Change CD" menu
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: virt-viewer
Version: 8.0
Hardware: x86_64
OS: Unspecified
high
urgent
Target Milestone: rc
: 8.1
Assignee: Eduardo Lima (Etrunko)
QA Contact: Virtualization Bugs
URL:
Whiteboard:
: 1661423 1741204 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-06-06 12:18 UTC by zhoujunqin
Modified: 2020-11-25 19:36 UTC (History)
9 users (show)

Fixed In Version: virt-viewer-7.0-8.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-05 21:22:11 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot (700.91 KB, image/png)
2019-06-06 12:20 UTC, zhoujunqin
no flags Details
debug log (66.25 KB, text/plain)
2019-06-06 12:21 UTC, zhoujunqin
no flags Details
ovirt-engine.log (3.67 KB, text/plain)
2019-08-19 08:16 UTC, zhoujunqin
no flags Details
remote-viewer log(verison: virt-viewer-7.0-7.el8.x86_64) (79.94 KB, text/plain)
2019-08-21 14:19 UTC, zhoujunqin
no flags Details
debug log for virt-viewer-7.0-7.el8.x86_64 (88.67 KB, text/plain)
2019-08-29 05:17 UTC, zhoujunqin
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:3478 0 None None None 2019-11-05 21:22:28 UTC

Description zhoujunqin 2019-06-06 12:18:02 UTC
Description of problem:
Failed to show ISO images in ISO domain after I Click the "Change CD" menu

Version-Release number of selected component (if applicable):
virt-viewer-7.0-3.el8_0.1.x86_64
libgovirt-0.3.4-8.el8.x86_64
libvirt-4.5.0-23.module+el8+2800+2d311f65.x86_64
qemu-kvm-2.12.0-63.module+el8+2833+c7d6d092.x86_64
spice-gtk3-0.35-7.el8.x86_64
gtk-vnc2-0.9.0-1.el8.x86_64

RHV: Software Version:4.3.0.1-0.1.el7


How reproducible:
100%

Steps to Reproduce:

1. Prepare a guest on rhvm, and a ISO domain to rhvm, add more than one cd images in the domain, and add user "admin" to virtual machine permissions
"Permissions"->click "Add"->then select "User" in the pops window "Add permission to User"->input 'admin' and click 'Go'->then check it and click 'OK'.

2. Download ca file from rhevm on host.
# For RHEVM 4.0 or newer
wget -O ca.crt http://ibm-x3250m5-03.rhts.eng.pek2.redhat.com/ovirt-engine/services/pki-resource?resource=ca-certificate&format=X509-PEM-CA

3. Connect to the guest by ovirt uri.
   # remote-viewer --ovirt-ca-file=ca.crt ovirt://rhevm.example.com/$vm

4. Input right username (admin@internal) and password to connect the guest.

5. Click the "Change CD" menu item.	



Actual results:
Failed to show ISO images in ISO domain, it shows loading, detail please see Screenshot.

Expected results:
All ISO images in ISO domain are listed.


Additional info:
1. I can also reproduce it with package: virt-viewer-7.0-2.el8.x86_64
2. "Change cd" works well when i use remote-viewer connect to the vm directly.

Comment 1 zhoujunqin 2019-06-06 12:20:14 UTC
Created attachment 1577887 [details]
screenshot

Comment 2 zhoujunqin 2019-06-06 12:21:28 UTC
Created attachment 1577888 [details]
debug log

Comment 3 Eduardo Lima (Etrunko) 2019-06-10 13:48:59 UTC
Working on it.

Comment 4 zhoujunqin 2019-08-08 08:11:59 UTC
(In reply to Eduardo Lima (Etrunko) from comment #3)
> Working on it.

Hi Eduardo Lima,
Is there any progress for this bug, thanks.

BR,
juzhou.

Comment 9 zhoujunqin 2019-08-19 08:01:38 UTC
Reproduce with package:
virt-viewer-7.0-5.el8.x86_64

Then try to verify this bug with packages:
virt-viewer-7.0-6.el8.x86_64
libgovirt-0.3.4-9.el8.x86_64

Steps:
1. Prepare a guest on rhvm, and a ISO domain to rhvm, add more than one cd images in the domain, and add user "admin" to virtual machine permissions
"Permissions"->click "Add"->then select "User" in the pops window "Add permission to User"->input 'admin' and click 'Go'->then check it and click 'OK'.

2. Download ca file from rhevm on host.
# For RHEVM 4.0 or newer
wget -O ca.crt http://rhevm.example.com/ovirt-engine/services/pki-resource?resource=ca-certificate&format=X509-PEM-CA

3. Connect to the guest by ovirt uri.
   # remote-viewer --ovirt-ca-file=ca.crt ovirt://rhevm.example.com/$vm

4. Input right username (admin@internal) and password to connect the guest.

5. Click the "Change CD" menu item.	

Results:
All ISO images in ISO domain are listed, and i can select ISO to attach to vm successfully.


Additional info:
I also test on rhv UI:
"File->Change cd" doesn't works when i use remote-viewer connect to the vm console directly on rhv UI,
With info "Could not find ISO file collection".
But it works well with previous version(virt-viewer-7.0-5.el8.x86_64).

@Eduardo Lima, please help me have a look of current testing result, thanks.

Comment 10 zhoujunqin 2019-08-19 08:16:45 UTC
Created attachment 1605683 [details]
ovirt-engine.log

Comment 11 Eduardo Lima (Etrunko) 2019-08-20 13:25:08 UTC
(In reply to zhoujunqin from comment #9)
> Reproduce with package:
> virt-viewer-7.0-5.el8.x86_64
> 
> Then try to verify this bug with packages:
> virt-viewer-7.0-6.el8.x86_64
> libgovirt-0.3.4-9.el8.x86_64
> 
> Steps:
> 1. Prepare a guest on rhvm, and a ISO domain to rhvm, add more than one cd
> images in the domain, and add user "admin" to virtual machine permissions
> "Permissions"->click "Add"->then select "User" in the pops window "Add
> permission to User"->input 'admin' and click 'Go'->then check it and click
> 'OK'.
> 
> 2. Download ca file from rhevm on host.
> # For RHEVM 4.0 or newer
> wget -O ca.crt
> http://rhevm.example.com/ovirt-engine/services/pki-resource?resource=ca-
> certificate&format=X509-PEM-CA
> 
> 3. Connect to the guest by ovirt uri.
>    # remote-viewer --ovirt-ca-file=ca.crt ovirt://rhevm.example.com/$vm
> 
> 4. Input right username (admin@internal) and password to connect the guest.
> 
> 5. Click the "Change CD" menu item.	
> 
> Results:
> All ISO images in ISO domain are listed, and i can select ISO to attach to
> vm successfully.
> 
> 
> Additional info:
> I also test on rhv UI:
> "File->Change cd" doesn't works when i use remote-viewer connect to the vm
> console directly on rhv UI,
> With info "Could not find ISO file collection".
> But it works well with previous version(virt-viewer-7.0-5.el8.x86_64).
> 
> @Eduardo Lima, please help me have a look of current testing result, thanks.


Hi Juzhou, it is not clear to me what is failing? You said it works in a given situation but fails in another?

What do you mean when you say:

"use remote-viewer connect to the vm console directly on rhv UI"

Is it by clicking the "Console" button on the web interface and downloading the console.vv file?

Comment 12 zhoujunqin 2019-08-21 02:06:16 UTC
> 
> Hi Juzhou, it is not clear to me what is failing? You said it works in a
> given situation but fails in another?
> 
> What do you mean when you say:
> 
> "use remote-viewer connect to the vm console directly on rhv UI"
> 
> Is it by clicking the "Console" button on the web interface and downloading
> the console.vv file?

Yes, you are right, it's by clicking the "Console" button on the web interface and downloading the console.vv file.
'Change CD' doesn't work.

Comment 13 zhoujunqin 2019-08-21 14:17:33 UTC
Hi Elima,

I tried again by downloading the console.vv file and using remote-viewer to connect vm,'Change CD' doesn't work.

$  G_MESSAGES_DEBUG=all REST_DEBUG=proxy remote-viewer console.vv

Log called: remote-viewer.log

Comment 14 zhoujunqin 2019-08-21 14:19:01 UTC
Created attachment 1606554 [details]
remote-viewer log(verison: virt-viewer-7.0-7.el8.x86_64)

Comment 15 Eduardo Lima (Etrunko) 2019-08-21 20:35:46 UTC
Thanks for the debug, I am investigating the reason of the failure at the moment.

Comment 16 zhoujunqin 2019-08-27 08:29:07 UTC
Hi Elima,
Have you found a good way to solve Comment 13 issue?
As you know, we'll enter External Snapshot 3 stage soon, we QE hope that we can get the new version asap, then we can have enough time to test it, thanks.

BR,
juzhou.

Comment 17 Eduardo Lima (Etrunko) 2019-08-27 12:28:51 UTC
(In reply to zhoujunqin from comment #16)
> Hi Elima,
> Have you found a good way to solve Comment 13 issue?
> As you know, we'll enter External Snapshot 3 stage soon, we QE hope that we
> can get the new version asap, then we can have enough time to test it,
> thanks.
> 
> BR,
> juzhou.

Hi Juzhou, the patch has been reviewed and I will include it in the build today.

Comment 25 zhoujunqin 2019-08-29 05:17:34 UTC
Created attachment 1609208 [details]
debug log for virt-viewer-7.0-7.el8.x86_64

Comment 29 zhoujunqin 2019-08-30 02:03:00 UTC
Verify with latest build:
virt-viewer-7.0-8.el8.x86_64

Steps:
Sceanario-1 Testing with ovirt:// 

1.1 Prepare a guest on rhvm, and a ISO domain to rhvm, add more than one cd images in the domain, and add user "admin" to virtual machine permissions
"Permissions"->click "Add"->then select "User" in the pops window "Add permission to User"->input 'admin' and click 'Go'->then check it and click 'OK'.

1.2 Download ca file from rhevm on host.
$ For RHEVM 4.0 or newer
wget -O ca.crt http://rhevm.example.com/ovirt-engine/services/pki-resource?resource=ca-certificate&format=X509-PEM-CA

1.3 Connect to the guest by ovirt uri.
$ remote-viewer --ovirt-ca-file=ca.crt ovirt://rhevm.example.com/$vm

1.4 Input right username (admin@internal) and password to connect the guest.

1.5 Click the "Change CD" menu item.	

Result: After clicking "Change CD" menu, all ISO images in ISO domain are listed, and i can select ISO to attach to vm successfully.


Scenario-2 Testing with console.vv

2.1 Download vm console.vv file from rhv web UI, then open it.

$ remote-viewer console.vv 

Result: After clicking 'change CD', all ISO images in ISO domain are listed, and i can select ISO to attach to vm successfully.

So this bug has been fixed, thanks.

Comment 33 Eduardo Lima (Etrunko) 2019-08-30 12:21:13 UTC
*** Bug 1661423 has been marked as a duplicate of this bug. ***

Comment 34 zhoujunqin 2019-08-30 22:41:09 UTC
I move this bug from ON_QA to VERIFIED based on Comment 29 testing.

Comment 36 errata-xmlrpc 2019-11-05 21:22:11 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-2019:3478

Comment 37 Marina Kalinin 2020-11-25 19:36:12 UTC
*** Bug 1741204 has been marked as a duplicate of this bug. ***


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