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
Bugs, which is subscribed to 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
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs