Comment 8 for bug 1523457

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/cinder (openstack-ci/fuel-8.0/liberty)

Reviewed: https://review.fuel-infra.org/14842
Submitter: Pkgs Jenkins <email address hidden>
Branch: openstack-ci/fuel-8.0/liberty

Commit: be714801f056952f89ced4b44fb125d1dc3f88ab
Author: Tomoki Sekiyama <email address hidden>
Date: Thu Dec 24 16:14:06 2015

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.

Closes-Bug: #1523457
Change-Id: I69b6ddd8823916bdd4e3cfd82ebb9b3546915706