[Bug 1013782] Re: Stop/start a KVM instance with volumes attached produces an error state
Mark McLoughlin
markmc at redhat.com
Thu Jun 21 19:31:28 UTC 2012
In LibvirtConnection.attach_volume() we do:
mount_device = mountpoint.rpartition("/")[2]
xml = self.volume_driver_method('connect_volume',
connection_info,
mount_device)
in _prepare_xml_info() we do:
mountpoint = vol['mount_device']
xml = self.volume_driver_method('connect_volume',
connection_info,
mountpoint)
Pretty confident we just need to do:
- mountpoint = vol['mount_device']
+ mountpoint = vol['mount_device'].rpartition("/")[2]
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1013782
Title:
Stop/start a KVM instance with volumes attached produces an error
state
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1013782/+subscriptions
More information about the Ubuntu-server-bugs
mailing list