Comment 3 for bug 1528087

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to cinder (master)

Reviewed: https://review.openstack.org/263081
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=16f1dc862e9771f7b26d094bdcf41791c9fc5a8c
Submitter: Jenkins
Branch: master

commit 16f1dc862e9771f7b26d094bdcf41791c9fc5a8c
Author: Tomoki Sekiyama <email address hidden>
Date: Tue Dec 29 12:35:52 2015 +0900

    Fix image volume creation error

    When "image_upload_use_cinder_backend = True" is specified to
    the volume backend and the Glance cinder store is enabled,
    upload-to-image command fails with the following error:

      Create clone_image_volume: xxx for image xxx failed
      (Exception: An object of type VolumeAttachmentList is required
       in field volume_attachment, not a )

    This is due to unnecessary attributes specified in the volume
    params, such as 'volume_attachment' or 'consistencygroup'.
    This patch removes the unnecessary attributes from the params.

    Change-Id: Ia416cb6686312e1591de7fe40a7ce7d6aa2fce7d
    Closes-Bug: #1529762
    Related-Bug: #1528087