Comment 1 for bug 1807110

Revision history for this message
Matt Riedemann (mriedem) wrote :

Hmm, this is an interesting point. Setting the protected=true flag on the image seems like a good solution, except I don't see any kind of force delete option for images. Would a user be able to change the protected value from true to false if they really knew what they were doing and wanted to delete the snapshot image? It's unclear to me from reading the docs on updating an image and the image schema:

https://developer.openstack.org/api-ref/image/v2/index.html#update-image

https://developer.openstack.org/api-ref/image/v2/index.html#show-image-schema

This should probably be discussed on the mailing list to get wider input as this would also be an API behavior change for shelve.