--- 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.