Fix libvirt global name 'xml_info' is not defined.
Remove a line setting a stale xml_info variable. This caused failures when performing a rebuild w/ libvirt. Fixes LP Bug #964843. Change-Id: If8cbdb3198742d488325153c50d90a2ece67a3af
This commit is contained in:
parent
e292488627
commit
f34b904078
@ -1362,7 +1362,6 @@ class LibvirtConnection(driver.ComputeDriver):
|
||||
root_device_name = driver.block_device_info_get_root(block_device_info)
|
||||
if root_device_name:
|
||||
root_device = block_device.strip_dev(root_device_name)
|
||||
xml_info['root_device_name'] = root_device_name
|
||||
else:
|
||||
# NOTE(yamahata):
|
||||
# for nova.api.ec2.cloud.CloudController.get_metadata()
|
||||
|
Loading…
Reference in New Issue
Block a user