[virt-tools-list] Problem setting UUID in libvirtd.conf

Digimer linux at alteeve.com
Wed Dec 28 04:15:07 UTC 2011


I ran into a problem where the system UUID for my nodes are identical
(thanks, Tyan!). This blocked live migration, but I found a thread from
last summer saying to overcome this issue using generating a new UUID
using uuidgen and setting it using 'host_uuid' in libvirtd.conf. I've
tried this, but without luck.

[root at an-node01 ~]# virsh sysinfo | grep uuid
    <entry name='uuid'>03000200-0400-0500-0006-000700080009</entry>

[root at an-node01 ~]# diff -u /etc/libvirt/libvirtd.conf.orig
/etc/libvirt/libvirtd.conf
--- /etc/libvirt/libvirtd.conf.orig	2011-12-27 22:29:01.243394880 -0500
+++ /etc/libvirt/libvirtd.conf	2011-12-27 22:59:02.738640396 -0500
@@ -365,4 +365,4 @@
 # NB This default all-zeros UUID will not work. Replace
 # it with the output of the 'uuidgen' command and then
 # uncomment this entry
-#host_uuid = "00000000-0000-0000-0000-000000000000"
+host_uuid = "31873B9E-1069-42CE-B950-137AE5EAA3D1"

[root at an-node01 ~]# /etc/init.d/libvirtd restart
Stopping libvirtd daemon:                                  [  OK  ]
Starting libvirtd daemon:                                  [  OK  ]

[root at an-node01 ~]# virsh sysinfo | grep uuid
    <entry name='uuid'>03000200-0400-0500-0006-000700080009</entry>

[root at an-node01 ~]# rpm -q libvirt
libvirt-0.9.4-23.el6_2.1.x86_64

[root at an-node01 ~]# cat /etc/issue
Red Hat Enterprise Linux Server release 6.2 (Santiago)
Kernel \r on an \m

Any tips?

-- 
Digimer
E-Mail:              digimer at alteeve.com
Freenode handle:     digimer
Papers and Projects: http://alteeve.com
Node Assassin:       http://nodeassassin.org
"omg my singularity battery is dead again.
stupid hawking radiation." - epitron




More information about the virt-tools-list mailing list