Cannot upload volume to image
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Cinder |
Undecided
|
Tomoki Sekiyama | ||
Bug Description
Cannot upload volume to image if the volume was created from image with description.
Steps to reproduce:
* Upload volume to image
* Set image description to some non empty string (e.g."testing")
* Create volume from image
* Try to upload volume as image back to Glance
Error: Unable to upload volume to image for volume "..."
| Yuriy Nesenenko (ynesenenko) wrote : | #1 |
I found duplicate of this bug. https:/
I could reproduce this at master branch.
----
its imposible to upload to images from volumes , when the Volume have description
ERROR: Unable to set 'properties' to '{u'description': u''}'. Reason: {u'description': u''} is not of type u'string'
Failed validating u'type' in schema[
{u'type': u'string'}
On instance[
{u'
| Changed in cinder: | |
| assignee: | nobody → Mitsuhiro Tanino (mitsuhiro-tanino) |
Fix proposed to branch: master
Review: https:/
| Changed in cinder: | |
| assignee: | Mitsuhiro Tanino (mitsuhiro-tanino) → Tomoki Sekiyama (tsekiyama) |
| status: | New → In Progress |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: master
commit edf00659aadaf89
Author: Tomoki Sekiyama <email address hidden>
Date: Fri Dec 18 20:38:36 2015 +0900
Fix volume upload failure with glance_
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'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: Ib32c92a8be170b
Closes-Bug: #1527324
| Changed in cinder: | |
| status: | In Progress → Fix Released |
This issue was fixed in the openstack/cinder 8.0.0.0b2 development milestone.
| tobe (chendihao) wrote : | #6 |
Thanks for the fix in master. Is it possible to backport in liberty branch because all of us really need this?
Fix proposed to branch: stable/liberty
Review: https:/
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit 01555a940d0f84d
Author: Tomoki Sekiyama <email address hidden>
Date: Fri Dec 18 20:38:36 2015 +0900
Fix volume upload failure with glance_
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'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: Ib32c92a8be170b
Closes-Bug: #1527324
(cherry picked from commit edf00659aadaf89
| tags: | added: in-stable-liberty |
This issue was fixed in the openstack/cinder 7.0.2 release.
This issue was fixed in the openstack/cinder 7.0.2 release.


All steps were down using Horizon.