# HG changeset patch # User Drew Fisher # Date 1437227523 25200 # Node ID d08190e626f14f1519364e1812cf3428c5f64247 # Parent 5d025a8c4800f484e7d9c368408c56304f9ab7eb 20867780 Nova should support LZR for block devices diff -r 5d025a8c4800 -r d08190e626f1 components/openstack/nova/files/solariszones/driver.py --- a/components/openstack/nova/files/solariszones/driver.py Fri Jul 17 23:29:07 2015 -0700 +++ b/components/openstack/nova/files/solariszones/driver.py Sat Jul 18 06:52:03 2015 -0700 @@ -1836,6 +1836,9 @@ with ZoneConfig(zone) as zc: zc.addresource("device", [zonemgr.Property("storage", suri)]) + # apply the configuration to the running zone + zone.apply() + def detach_volume(self, connection_info, instance, mountpoint, encryption=None): """Detach the disk attached to the instance.""" @@ -1862,6 +1865,9 @@ with ZoneConfig(zone) as zc: zc.removeresources("device", [zonemgr.Property("storage", suri)]) + # apply the configuration to the running zone + zone.apply() + def swap_volume(self, old_connection_info, new_connection_info, instance, mountpoint, resize_to): """Replace the disk attached to the instance.