Bug 963161
Summary: | generated UUIDs are not compliant with RFC4122 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Xuesong Zhang <xuzhang> | ||||||
Component: | virt-manager | Assignee: | Martin Kletzander <mkletzan> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Virtualization Bugs <virt-bugs> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 7.0 | CC: | acathrow, cwei, dyuan, jdenemar, joseph.keller, lcui, milos.vyletel, mkletzan, mzhan, tzheng | ||||||
Target Milestone: | rc | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | virt-manager-0.10.0-3.el7 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | 949969 | Environment: | |||||||
Last Closed: | 2014-06-13 09:44:36 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
Xuesong Zhang
2013-05-15 09:42:33 UTC
(In reply to comment #0) > This bug is also occurred in rhel7. > > version: > libvirt-1.0.5-2.el7.x86_64 Have you actually tested it? If so what were the steps and what was the result? The bug is supposed to be fixed in 1.0.5, i.e., in the current rhel7 package. Yeah, I have tried on rhel7 and found the UUID isn't compliant with RFC4122, then clone it from rhel6. Here is the steps: 1. new one VM via virt-manager 2. #virsh dumpxml b|grep uuid <uuid>b6c1e7dd-8759-eeb9-5dc8-61f6da088a42</uuid> I attached the log for your reference. virt-manager version: virt-manager-0.10.0-0.2.gitb68faac8.el7.noarch (In reply to comment #2) > (In reply to comment #0) > > This bug is also occurred in rhel7. > > > > version: > > libvirt-1.0.5-2.el7.x86_64 > > Have you actually tested it? If so what were the steps and what was the > result? The bug is supposed to be fixed in 1.0.5, i.e., in the current rhel7 > package. Created attachment 748591 [details]
libvirt log
Can you retest with just virsh? You can use the following steps if you already have domain "b" defined: 1. virsh dumpxml b | grep -v '<uuid>' >b.xml 2. virsh undefine b 3. virsh define b.xml 4. virsh dumpxml | grep uuid Also virt-manager logs generated when you created a new VM with it would be helpful too. If just virsh, the uuid seems correct. # virsh dumpxml b | grep -v '<uuid>' >b.xml # virsh undefine b Domain b has been undefined # virsh define b.xml Domain b defined from b.xml # virsh dumpxml b|grep uuid <uuid>1c40166d-1091-41dd-91d4-adca8b8a2f15</uuid> If use the virt-manager, the uuid didn't compliant with RFC4122. Update the virt-manager log for your reference. (In reply to comment #5) > Can you retest with just virsh? You can use the following steps if you > already have domain "b" defined: > > 1. virsh dumpxml b | grep -v '<uuid>' >b.xml > 2. virsh undefine b > 3. virsh define b.xml > 4. virsh dumpxml | grep uuid > > Also virt-manager logs generated when you created a new VM with it would be > helpful too. Created attachment 748725 [details]
virt-manager log
1. New one VM "c" via virt-manager
2. # virsh dumpxml c|grep uuid
<uuid>79836aee-e9c5-4164-5944-c6abbdb798ed</uuid>
Attached is the virt-manager log while new VM "c".
OK, the bad UUID is generated by virt-manager. I'm not sure why virt-manager puts <uuid> element into the XML. Patch proposed upstream: https://www.redhat.com/archives/virt-tools-list/2013-June/msg00001.html Moving to POST: commit 74aa8c8a588ebde20767f328cb88068d23da6f1e Author: Martin Kletzander <mkletzan> Date: Mon May 20 18:00:13 2013 +0200 Generate valid UUIDs according to RFC4122 The bug is not fixed according to the follwoing steps: # rpm -qa libvirt virt-manager libvirt-1.1.1-2.el7.x86_64 virt-manager-0.10.0-2.el7.noarch Steps: 1. New a domain N with virt-manager 2. check the uuid of the domain # virsh dumpxml N | grep uuid <uuid>677c094d-8ffb-ad4d-f292-bd9e56ef721a</uuid> Tested with: virt-manager-0.10.0-3.el7.noarch Use virt-manager to install a new guest,check it's uuid. # virsh dumpxml test | grep uuid <uuid>1351fa2a-c355-41b0-ac57-6b4025a067d2</uuid> Checked several guests,the uuid met the variant specification,so move the bug to VERIFIED. This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |