Bug 1163647
Summary: | virt-viewer will core dump with -r option via ssh when destroy the guest | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | CongDong <codong> | ||||
Component: | virt-viewer | Assignee: | Christophe Fergeau <cfergeau> | ||||
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 7.1 | CC: | cfergeau, dblechte, fidencio, juzhou, mzhan, rbalakri, tzheng | ||||
Target Milestone: | rc | ||||||
Target Release: | 7.2 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | virt-viewer-2.0-1.el7 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 1287462 (view as bug list) | Environment: | |||||
Last Closed: | 2015-11-19 07:35:00 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: | |||||||
Bug Depends On: | 1181288 | ||||||
Bug Blocks: | 1287462 | ||||||
Attachments: |
|
Description
CongDong
2014-11-13 08:36:42 UTC
Created attachment 957030 [details]
virt-viewer debug out put
CongDong, What do you mean, exactly, by "destroy the guest on host A"? Delete the VM on host A? (In reply to Fabiano Fidêncio from comment #3) > CongDong, > What do you mean, exactly, by "destroy the guest on host A"? Delete the VM > on host A? Both Christophe and Jonathon told me that "destroy the guest on host A" means "virsh destroy". Seeing something somehow similar (crashes when restarting the guest after destroying it) with virt-viewer.git which is caused by https://git.fedorahosted.org/cgit/virt-viewer.git/commit/?id=f03285ba8da4a40a8058c3259788293124cc2803 . Maybe this one is related as this patch is in the rhel7 package Should be fixed by https://www.redhat.com/archives/virt-tools-list/2014-November/msg00089.html and https://www.redhat.com/archives/virt-tools-list/2014-November/msg00091.html Will be fixed with rebase to virt-viewer 2.0 I can reproduce this issue with package: virt-viewer-0.6.0-12.el7.x86_64 Then try to verify this bug with new build: virt-viewer-2.0-1.el7.x86_64 Steps: Scenario 1: Test with spice guest 1. Prepare a running spice guest on host A # virsh dumpxml rhel6.6-snapshot0610 ... <channel type='spicevmc'> <target type='virtio' name='com.redhat.spice.0' state='disconnected'/> <alias name='channel1'/> <address type='virtio-serial' controller='0' bus='0' port='2'/> </channel> ... <graphics type='spice' port='5900' autoport='yes' listen='127.0.0.1'> <listen type='address' address='127.0.0.1'/> <image compression='off'/> </graphics> ... <video> <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1'/> <alias name='video0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </video> 2. On host B, use virt-viewer connect to guest on host A. # virt-viewer -c qemu+ssh://$host_A_ip/system rhel6.6-snapshot0610 -r Result: Connect to guest on host A successfully. 3. destroy the guest on host A # virsh destroy rhel6.6-snapshot0610 Domain rhel6.6-snapshot0610 destroyed Result: Virt-viewer window keeps on host B and showing: "Waiting for guest domain to re-start", no crash. 4. Start guest on host A again: # virsh start rhel6.6-snapshot0610 Domain rhel6.6-snapshot0610 started Result: Virt-viewer window keeeps and reconnect to guest automatically, showing guest boot up process with no crash. Scenario 2: Test with VNC guest 1. Prepare a running vnc guest on host A ... # virsh dumpxml rhel6.6-snapshot0610-clone <graphics type='vnc' port='5900' autoport='yes' listen='127.0.0.1'> <listen type='address' address='127.0.0.1'/> </graphics> ... <graphics type='vnc' port='5900' autoport='yes' listen='127.0.0.1'> <listen type='address' address='127.0.0.1'/> </graphics> 2. On host B, use virt-viewer connect to guest on host A. # virt-viewer -c qemu+ssh://$host_A_ip/system rhel6.6-snapshot0610-clone -r Result: Connect to guest on host A successfully. 3. destroy the guest on host A # virsh destroy rhel6.6-snapshot0610-clone Domain rhel6.6-snapshot0610 destroyed Result: Virt-viewer window keeps on host B and showing: "Waiting for guest domain to re-start", no crash. 4. Start guest on host A again: # virsh start rhel6.6-snapshot0610-clone Domain rhel6.6-snapshot0610-clone started Result: Virt-viewer window keeeps and reconnect to guest automatically, showing guest boot up process with no crash. Seen above steps, move this bug from ON_QA to VERIFIED. 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://rhn.redhat.com/errata/RHBA-2015-2211.html |