API used for update Image in Glance
Bernd Bausch
berndbausch at gmail.com
Wed Oct 6 14:26:00 UTC 2021
There is an /Update Image /API, documented at
https://docs.openstack.org/api-ref/image/v2/index.html?expanded=update-image-detail#update-image.
It does require an HTTP request body in JSON format.
However, it updates the /image catalog entry, /not the image data. If
you want to replace image data, this is not possible, since the image
catalog entry contains a checksum that can't be modified. Modified image
data would not correspond to the checksum anymore (see the second note
under https://docs.openstack.org/api-ref/image/v2, which also states
"images are immutable").
Bernd Bausch.
On 2021/10/06 11:01 PM, Adivya Singh wrote:
> Can you please list me , what i have to do different while updating
> Image in Glance using a API call, Can Some body share the Syntax for
> the same, Do i need to create a JSON file for the same
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20211006/2657b28e/attachment-0001.htm>
More information about the openstack-discuss
mailing list