Bug 1366088
| Summary: | The graphics type changed after migration | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Fangge Jin <fjin> |
| Component: | libvirt | Assignee: | Pavel Hrdina <phrdina> |
| Status: | CLOSED ERRATA | QA Contact: | zhe peng <zpeng> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.3 | CC: | dyuan, juzhou, mxie, mzhan, rbalakri, tzheng, xiaodwan, xuzhang, yafu, yanqzhan, zpeng |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | libvirt-3.2.0-1.el7 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-08-01 17:11:42 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: | |||
I can reproduce this issue.
verify with build:
libvirt-3.2.0-3.el7.x86_64
qemu-kvm-rhev-2.9.0-1.el7.x86_64
step with bug description
after migration, check target guest xml
.....
<graphics type='vnc' socket='/var/lib/libvirt/qemu/domain-8-rhel7/vnc.sock'>
<listen type='socket' socket='/var/lib/libvirt/qemu/domain-8-rhel7/vnc.sock'/>
</graphics>
....
additional testing, add --persistent when do migrate, after migration complete,
destroy target guest and check xml:
....
<graphics type='vnc'>
<listen type='socket'/>
</graphics>
....
worked as expect, move 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://access.redhat.com/errata/RHEA-2017:1846 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/RHEA-2017:1846 |
Description of problem: Set graphics listen type to 'socket', start guest and do migration, after migration, the graphics type changed to 'address'. The live xml before migration: # virsh dumpxml rhel7.2 ... <graphics type='vnc' socket='/var/lib/libvirt/qemu/domain-24-rhel7.2/vnc.sock'> <listen type='socket' socket='/var/lib/libvirt/qemu/domain-24-rhel7.2/vnc.sock'/> </graphics> The migratable xml is: # virsh dumpxml rhel7.2 --migratable ... <graphics type='vnc'/> The live xml after migration: # virsh dumpxml rhel7.2 ... <graphics type='vnc' port='5900' autoport='yes' listen='127.0.0.1'> <listen type='address' address='127.0.0.1'/> </graphics> Version-Release number of selected component: libvirt-2.0.0-5.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1. Set guest graphics type to vnc and listen type to socket 2. Start guest and do migration 3. Check graphics type after migration Actual results: After migration, the graphics type changed to 'address'. Expected results: After migration, the graphics type doesn't change.