| Summary: | virt-manager's domain name is not correct if domain name has special character | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Huang Wenlong <whuang> |
| Component: | virt-manager | Assignee: | Cole Robinson <crobinso> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 6.2 | CC: | cwei, dyuan, mzhan, rwu, zpeng |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause:
virt-manager was not properly escaping reserved XML characters in domain names when showing them in the main vm list.
Consequence:
vm's with reserved XML characters in their name would not be shown correctly in the main vm list.
Fix:
Properly escape vm names
Result:
VM name's shown correctly in the main vm list
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-12-06 16:15:33 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Huang Wenlong
2011-08-22 07:59:35 UTC
Fixed upstream: http://git.fedorahosted.org/git?p=virt-manager.git;a=commit;h=8a513361522780fcc126ec2ded48839ecc24ef6e Fixed in virt-manager-0.9.0-6.el6 Verified PASS with below environment: # uname -r 2.6.32-191.el6.x86_64 qemu-kvm-0.12.1.2-2.184.el6.x86_64 libvirt-0.9.4-6.el6.x86_64 virt-manager-0.9.0-6.el6.x86_64 python-virtinst-0.600.0-3.el6.noarch Steps: 1. Prepare a guest xml # cat guest.xml ... <name>ESX4.1-<x86>;1#1-2</name> ... 2. # virsh create guest.xml 3. # virsh list Id Name State ---------------------------------- 50 ESX4.1-<x86>;1#1-2 running 4. Launch virt-manager, this guest name can be displayed correctly in VMM window, Basic details and guest window title. ----------- I can reproduce this bug with virt-manager-0.9.0-5.el6.x86_64.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
Cause:
virt-manager was not properly escaping reserved XML characters in domain names when showing them in the main vm list.
Consequence:
vm's with reserved XML characters in their name would not be shown correctly in the main vm list.
Fix:
Properly escape vm names
Result:
VM name's shown correctly in the main vm list
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. http://rhn.redhat.com/errata/RHBA-2011-1642.html |