nova/nova
Sam Yaple 474e7bb3f3 Fix attibute error when cloning raw images in Ceph
A regression introduced in If03b166d3ecc3e7fa6b7f1a0c69f8ab1cc7b1972
causes a glance image with the type 'raw' in ceph to fail to CoW
clone which prevents launching at all in this case.

The original patch did not update imagebackend.py [1] to use the new
nova.objects.ImageMeta object so the clone() function passes a normal
dict to the is_cloneable() function.

Additionally add another test to ensure that not passing disk_format
will fail, but not result in an exception. It will simply mean that
the function returns that it cannot take advantage of the CoW cloning
ceph provides.

[1] f2e2a5891d/nova/virt/libvirt/imagebackend.py (L824)

Change-Id: I7ae107bfccab7ff66c09d96856722dd6e60fdd96
Closes-Bug: #1508230
(cherry picked from commit 835ff1bf73)
2015-11-09 08:36:08 +00:00
..
CA
api Merge "Pep8 didn't check api/openstack/common.py" 2015-09-23 12:55:30 +00:00
cells Merge "Creating instance fail when inject ssh key in cells mode" 2015-09-14 22:19:04 +00:00
cert
cloudpipe Switch to the oslo_utils.fileutils 2015-07-24 14:10:44 +03:00
cmd Fix the usage output of the nova-idmapshift command 2015-09-14 17:54:05 +00:00
compute Merge "Correct Instance type check to work with InstanceV1" into stable/liberty 2015-10-04 06:22:19 +00:00
conductor rebuild: RPC sends additional args and claims are done 2015-09-22 17:41:29 +01:00
console Use min and max on IntOpt option types 2015-08-14 04:37:21 +00:00
consoleauth
db Merge "Allow filtering using unicode characters" 2015-09-23 12:32:57 +00:00
hacking Merge "Add hacking check for greenthread.spawn()" 2015-08-13 17:09:53 +00:00
image Use min and max on IntOpt option types 2015-08-14 04:37:21 +00:00
ipv6
keymgr
locale Imported Translations from Zanata 2015-10-08 06:41:06 +00:00
mks Add MKS console support 2015-07-25 15:01:44 +03:00
network net: explicitly set mac on linux bridge 2015-09-21 14:21:43 -07:00
objects Image meta: treat legacy vmware adapter type values 2015-10-20 19:22:48 +00:00
objectstore Use min and max on IntOpt option types 2015-08-14 04:37:21 +00:00
openstack Switch to the oslo_utils.fileutils 2015-07-24 14:10:44 +03:00
pci Fix a few typos 2015-09-08 10:36:14 +09:00
rdp
scheduler Merge "Fix MetricWeigher to use MonitorMetricList" into stable/liberty 2015-10-05 16:55:38 +00:00
servicegroup Merge "downgrade log messages for memcache server (dis)connect events" 2015-08-30 00:02:54 +00:00
spice
tests Fix attibute error when cloning raw images in Ceph 2015-11-09 08:36:08 +00:00
virt Fix attibute error when cloning raw images in Ceph 2015-11-09 08:36:08 +00:00
vnc Use min and max on IntOpt option types 2015-08-14 04:37:21 +00:00
volume Consolidate code to get the correct availability zone of an instance 2015-09-09 17:14:35 +02:00
wsgi Helper script for running under Apache2 2015-08-04 11:12:39 -04:00
__init__.py
availability_zones.py Invalidate AZ cache when the instance AZ information is different 2015-09-09 17:14:35 +02:00
baserpc.py
block_device.py snapshot: Add device_name to the snapshot bdms 2015-07-02 13:45:36 +01:00
config.py Add notes explaining vmware's suds usage 2015-09-03 17:23:47 +10:00
context.py Remove unused parameter overwrite in elevated 2015-09-08 05:22:35 +00:00
crypto.py Specify current directory using new cwd param in processutils.execute 2015-08-24 00:46:33 +00:00
debugger.py Use min and max on IntOpt option types 2015-08-14 04:37:21 +00:00
exception.py Omnibus stable/liberty fix 2015-10-13 07:57:52 -04:00
filters.py Add logging when filtering returns nothing. 2015-08-17 16:16:00 +00:00
hooks.py
i18n.py
loadables.py
manager.py Switch to oslo.service library 2015-07-11 02:54:42 +00:00
netconf.py
notifications.py Fix notify_decorator errors 2015-08-11 10:30:30 +08:00
opts.py Use oslo-config-generator instead of generate_sample.sh 2015-06-18 22:00:18 +00:00
paths.py
policy.py
quota.py Fix Python 3 issues in nova.db.sqlalchemy 2015-06-30 07:06:54 -07:00
rpc.py
safe_utils.py Set autodoc_index_modules=True so tox -e docs builds module docs again 2015-07-30 17:11:47 -07:00
service.py Use min and max on IntOpt option types 2015-08-14 04:37:21 +00:00
test.py Remove duplicate NullHandler test fixture 2015-08-31 09:52:45 -07:00
utils.py Give instance default hostname if hostname is empty 2015-09-23 17:02:30 +08:00
version.py
weights.py
wsgi.py Fix exception message mistake in WSGI service 2015-08-28 16:26:30 +00:00