24465850 Update Nova for the Mitaka release
22456289 nova interface-attach reports an error; adds unusable entry to instance anyway
In-house patch to force Nova to always use our driver's snapshot
method. This is required until we can support Image <--> Volume
transforms.
--- nova-13.1.0/nova/api/openstack/compute/servers.py.~1~ 2016-06-14 08:45:49.000000000 -0700
+++ nova-13.1.0/nova/api/openstack/compute/servers.py 2016-07-06 17:53:50.593003090 -0700
@@ -1097,8 +1097,10 @@ class ServersController(wsgi.Controller)
context, instance.uuid)
try:
- if self.compute_api.is_volume_backed_instance(context, instance,
- bdms):
+ hypervisor = instance.system_metadata['image_hypervisor_type']
+ if hypervisor != 'solariszones' and \
+ self.compute_api.is_volume_backed_instance(context,
+ instance, bdms):
authorize(context, action="create_image:allow_volume_backed")
image = self.compute_api.snapshot_volume_backed(
context,