Launchpad

Reviewed: https:/ /review. opendev. org/c/openstack /glance/ +/843208
Committed: https:/ /opendev. org/openstack/ glance/ commit/ 55c000ee1d7bb41 5491071abbc4001 b4b715d380
Submitter: "Zuul (22348)"
Branch: stable/yoga

commit 55c000ee1d7bb41 5491071abbc4001 b4b715d380
Author: Brian Rosmaita <email address hidden>
Date: Mon May 23 16:34:52 2022 -0400

    Bump Image API version to 2.16

    This API version increment is due to change I6a875a38bef5, which
    corrected the response code for the admin-only API call:
        PUT /v2/cache/ {image_ id}
    The call now returns 202 upon success (it had been returning 200).

    The intent of this version bump is to get the attention of operators
    to take note of this change; from now on, the call always returns 202
    upon success regardless of what API version you request.

    Additionally, cleaned up some version tests that had gotten out of
    date and were not thoroughly testing version negotiation.

    Also, corrected the version negotiation code around the v2.13 API.
    The versions response had been modified by change I6882fd2381e6 to
    only include v2.13 when the 'enabled_backends' config option had a
    value, but the versions negotiation code was not updated to reflect
    that.

    Change-Id: I0cf35ed7e21497 826cd581e59aa58 774f030b9f6
    Related-bug: #1971521
    (cherry picked from commit 11989a18f4ede07 026a435abb3d695 a075ae7004)

Read the original on bugs.launchpad.net ↗