nova-compute charm should configure an unique host_uuid on libvirtd.conf

Bug #1417687 reported by Edward Hope-Morley
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nova-compute (Juju Charms Collection)
Fix Released
Medium
Xiang Hui

Bug Description

1. Description of the problem:
when live migration is performed on where nova-compute charm deployed, the following error occurred.

2014-04-10 14:29:42.262 7662 ERROR nova.virt.libvirt.driver [-]
[instance: 8115a225-52e3-4a98-adfa-664031120e06] Live Migration
failure: internal error: Attempt to migrate guest to the same host
03000200-0400-0500-0006-000700080009

It appears the value of host_uuid which libvirt takes on every compute node are all same.
libvirt takes the value of host uuid running "dmidecode -s system-uuid".
It however depends on value provided by hardware vendor.
It doesn't provide always a valid unique id.
https://www.redhat.com/archives/libvirt-users/2011-August/msg00085.html

To prevent this issue,
I think nove-compute charm should configure this value with "uuidgen" explicitly.

2. Ubuntu release, software version, Release Number and Architecture of the selected components.
Ubuntu : 12.04 LTS
Charm : cs:precise/nova-compute

3. How reproducible is the problem?
Always, if "dmidecode -s system-uuid" doesn't return a valid unique id.

4. Steps to Reproduce:
 a. Actual Results:
In some cases, host_uuid which libvirtd recognizes are not unique.
 b. Expected Results:
host_uuid has to have a unique value across nova-computing nodes.

5. Known Workaround:
Configured host_uuid manually and live migration works fine.

Tags: openstack cts

Related branches

Changed in nova-compute (Juju Charms Collection):
status: In Progress → Fix Committed
James Page (james-page)
Changed in nova-compute (Juju Charms Collection):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.