v3 volume metadata calls fail unless using microversions

Bug #1712192 reported by Sean McGinnis
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Medium
Sean McGinnis

Bug Description

Changes added to volume metadata operations in https://review.openstack.org/#/c/328399/ result in all calls failing unless using microversion 3.15 or above. The correct handling should be to use the existing 3.0/2.0 handling if less than 3.15.

Changed in cinder:
assignee: nobody → Sean McGinnis (sean-mcginnis)
importance: Undecided → Medium
Revision history for this message
Sean McGinnis (sean-mcginnis) wrote :
Changed in cinder:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

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

commit c9c668437efb9e7f05a399472875b29c70f79d76
Author: Sean McGinnis <email address hidden>
Date: Mon Aug 21 16:29:05 2017 -0500

    Allow v3.0 volume metadata API calls

    Commit I575635258c10f299181b8e4cdb51a7ad1f1be764 added some optimization
    to a few of the volume metadata API calls. It added a check incorrectly
    for the microversion for those changes such that if you were not using
    microversion 3.15 or above, it would fail the API call.

    This changes the microversion check to correctly either perform the
    new requested functionality or fail back to the base 3.0/2.0 API
    behavior.

    Change-Id: I09ad8200f73273dae8e5d926939620b71d9210e8
    Closes-bug: #1712192

Changed in cinder:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/496302

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (stable/pike)

Reviewed: https://review.openstack.org/496302
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=3bd4dc802108532cb0ae39739d652db152b5ac38
Submitter: Jenkins
Branch: stable/pike

commit 3bd4dc802108532cb0ae39739d652db152b5ac38
Author: Sean McGinnis <email address hidden>
Date: Mon Aug 21 16:29:05 2017 -0500

    Allow v3.0 volume metadata API calls

    Commit I575635258c10f299181b8e4cdb51a7ad1f1be764 added some optimization
    to a few of the volume metadata API calls. It added a check incorrectly
    for the microversion for those changes such that if you were not using
    microversion 3.15 or above, it would fail the API call.

    This changes the microversion check to correctly either perform the
    new requested functionality or fail back to the base 3.0/2.0 API
    behavior.

    Change-Id: I09ad8200f73273dae8e5d926939620b71d9210e8
    Closes-bug: #1712192
    (cherry picked from commit c9c668437efb9e7f05a399472875b29c70f79d76)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/496730

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 11.0.0.0rc2

This issue was fixed in the openstack/cinder 11.0.0.0rc2 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (stable/ocata)

Reviewed: https://review.openstack.org/496730
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=7580fac777d3facb269033f7416a654bce16451c
Submitter: Jenkins
Branch: stable/ocata

commit 7580fac777d3facb269033f7416a654bce16451c
Author: Sean McGinnis <email address hidden>
Date: Mon Aug 21 16:29:05 2017 -0500

    Allow v3.0 volume metadata API calls

    Commit I575635258c10f299181b8e4cdb51a7ad1f1be764 added some optimization
    to a few of the volume metadata API calls. It added a check incorrectly
    for the microversion for those changes such that if you were not using
    microversion 3.15 or above, it would fail the API call.

    This changes the microversion check to correctly either perform the
    new requested functionality or fail back to the base 3.0/2.0 API
    behavior.

    Change-Id: I09ad8200f73273dae8e5d926939620b71d9210e8
    Closes-bug: #1712192
    (cherry picked from commit c9c668437efb9e7f05a399472875b29c70f79d76)
    (cherry picked from commit 3bd4dc802108532cb0ae39739d652db152b5ac38)

tags: added: in-stable-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 10.0.6

This issue was fixed in the openstack/cinder 10.0.6 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 12.0.0.0b1

This issue was fixed in the openstack/cinder 12.0.0.0b1 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.