11989a18f4
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: I0cf35ed7e21497826cd581e59aa58774f030b9f6 Related-bug: #1971521
20 lines
651 B
YAML
20 lines
651 B
YAML
---
|
|
features:
|
|
- |
|
|
When the Glance image cache is being used, the CURRENT version of
|
|
the Image service API, as indicated in the ``GET /versions`` response,
|
|
is 2.16.
|
|
|
|
upgrade:
|
|
- |
|
|
The Image service API call ``PUT /v2/cache/{image_id}`` now returns
|
|
a 202 (Accepted) response code to indicate success. In glance 24.0.0
|
|
(the initial Yoga release), it had mistakenly returned a 200.
|
|
|
|
fixes:
|
|
- |
|
|
Bug `1971521 <https://bugs.launchpad.net/glance/+bug/1971521>`_:
|
|
Fixed the success response code of the REST API call
|
|
``PUT /v2/cache/{image_id}`` to be 202 (Accepted), following the
|
|
original design of the feature.
|