--- a/components/openstack/nova/files/solariszones/driver.py Fri Apr 10 11:53:57 2015 -0700
+++ b/components/openstack/nova/files/solariszones/driver.py Fri Apr 10 13:32:09 2015 -0700
@@ -1810,6 +1810,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."""
@@ -1836,6 +1839,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.