Bug 1717900
| Summary: | Failed to show ISO images in ISO domain after I Click the "Change CD" menu | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | zhoujunqin <juzhou> | ||||||||||||
| Component: | virt-viewer | Assignee: | Eduardo Lima (Etrunko) <elima> | ||||||||||||
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||||||||||
| Severity: | urgent | Docs Contact: | |||||||||||||
| Priority: | high | ||||||||||||||
| Version: | 8.0 | CC: | berrange, dblechte, elima, mjankula, mxie, tzheng, wchadwic, xiaodwan, zili | ||||||||||||
| Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
||||||||||||
| Target Release: | 8.1 | ||||||||||||||
| Hardware: | x86_64 | ||||||||||||||
| OS: | Unspecified | ||||||||||||||
| Whiteboard: | |||||||||||||||
| Fixed In Version: | virt-viewer-7.0-8.el8 | Doc Type: | If docs needed, set a value | ||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||
| Clone Of: | Environment: | ||||||||||||||
| Last Closed: | 2019-11-05 21:22:11 UTC | Type: | Bug | ||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||
| Documentation: | --- | CRM: | |||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||
| Embargoed: | |||||||||||||||
| Attachments: |
|
||||||||||||||
|
Description
zhoujunqin
2019-06-06 12:18:02 UTC
Created attachment 1577887 [details]
screenshot
Created attachment 1577888 [details]
debug log
Working on it. (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. 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. Created attachment 1605683 [details]
ovirt-engine.log
(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?
>
> 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.
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 Created attachment 1606554 [details]
remote-viewer log(verison: virt-viewer-7.0-7.el8.x86_64)
Thanks for the debug, I am investigating the reason of the failure at the moment. 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. (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. Created attachment 1609208 [details]
debug log for virt-viewer-7.0-7.el8.x86_64
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. *** Bug 1661423 has been marked as a duplicate of this bug. *** I move this bug from ON_QA to VERIFIED based on Comment 29 testing. 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 *** Bug 1741204 has been marked as a duplicate of this bug. *** |