backout 20867780 - needs more work
authorMike Sullivan <Mike.Sullivan@Oracle.COM>
Wed, 15 Apr 2015 08:44:13 -0700
changeset 4125 aa4cf84f88f2
parent 4124 84726155ce06
child 4130 b2f7921b1d1c
backout 20867780 - needs more work
components/openstack/nova/files/solariszones/driver.py
--- a/components/openstack/nova/files/solariszones/driver.py	Tue Apr 14 23:14:37 2015 -0500
+++ b/components/openstack/nova/files/solariszones/driver.py	Wed Apr 15 08:44:13 2015 -0700
@@ -1810,9 +1810,6 @@
         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."""
@@ -1839,9 +1836,6 @@
         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.