python-novaclient/releasenotes/notes/microversion-v2_45-1bfcae3914280534.yaml
Matt Riedemann 603f0eae9f 2.45: createImage/createBackup image_id is in response body
This adds support for microversion 2.45 which changes the response
on the createImage and createBackup server action APIs to return
the image_id for the created snapshot image in a json dict in the
response body rather than in a Location header (which is gone in
microversion >= 2.45).

Since the 'nova backup' command was not printing out the created
image ID before, that is also added in this microversion.

Part of blueprint remove-create-image-location-header-response

Change-Id: Id48aa7b14e2d25008287549b04db437ca9c3f548
2017-04-26 09:32:59 -04:00

14 lines
626 B
YAML

---
features:
- |
Support was added for microversion 2.45. This changes how the
``createImage`` and ``createBackup`` server action APIs return
the created snapshot image ID in the response. With microversion
2.45 and later, the image ID is return in a json dict response body
with an ``image_id`` key and uuid value. The old ``Location`` response
header is no longer returned in microversion 2.45 or later.
There are no changes to the ``nova image-create`` CLI. However, the
``nova backup`` CLI will print out the backup snapshot image information
with microversion 2.45 or greater now.