Change in vdsm[master]: vdsm: generating uuid for libvirt configuration (#842115)

ybronhei at redhat.com ybronhei at redhat.com
Mon Aug 20 08:48:40 UTC 2012


Yaniv Bronhaim has uploaded a new change for review.

Change subject: vdsm: generating uuid for libvirt configuration (#842115)
......................................................................

vdsm: generating uuid for libvirt configuration (#842115)

during migration we found that if both hosts as the same uuid
libvirt fails the migration. this fix generate uniqe uuid only
during vdsm reconfiguration.
this uuid is saved in libvirtd.conf file and ha sbeen used after
libvirt service are restarted.

Change-Id: I12478f64850dc3b3e421a562762c020819c8be28
Signed-off-by: Yaniv Bronhaim <ybronhei at redhat.com>
---
M vdsm/vdsmd.init.in
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/32/7332/1

diff --git a/vdsm/vdsmd.init.in b/vdsm/vdsmd.init.in
index efa6579..ee2b51a 100755
--- a/vdsm/vdsmd.init.in
+++ b/vdsm/vdsmd.init.in
@@ -347,6 +347,8 @@
     set_if_default $lconf unix_sock_rw_perms \"0770\"
     set_if_default $lconf auth_unix_rw \"sasl\"
     set_if_default $qconf dynamic_ownership 0
+    set_if_default $lconf host_uuid \"$(uuidgen)\"
+
     if [[ "$ssl" == true ]]; then
         set_if_default $qconf spice_tls 1
     else


--
To view, visit http://gerrit.ovirt.org/7332
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I12478f64850dc3b3e421a562762c020819c8be28
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yaniv Bronhaim <ybronhei at redhat.com>


More information about the vdsm-patches mailing list