cinder/cinder/tests/unit/image
Tomoki Sekiyama edf00659aa Fix volume upload failure with glance_api_version=2
When the volume has additional image properties, upload-to-image
using glance API version 2 will fail with the following error.

  Failed validation u'type' in schema[u'additionalProperties']:
      {u'type': u'string'}

This is due to non core properties passed as a dict to the key
'properties'. It is valid in Image API v1, but the additional
properties must be passed just like core properties in v2.

Change-Id: Ib32c92a8be170b5f43a34e69155398dfc1a8cbcd
Closes-Bug: #1527324
2015-12-21 15:06:06 +09:00
..
__init__.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
fake.py Generic image-volume cache 2015-09-02 17:54:07 +00:00
test_cache.py Image cache tests: use fake_notifier 2015-10-01 15:41:23 -04:00
test_glance.py Fix volume upload failure with glance_api_version=2 2015-12-21 15:06:06 +09:00