As Glance is now able to configure the multiple stores, in distributed compute case it is possible that same image is present/copied across multiple stores. As of now the image can be copied to different locations manually by admin/operator and then same will be updated to image locations using locations API. If admin/operator want to delete the image from one of the available stores then he need to use the current vulnerable locations API to do so as delete API will simply deletes the image from all of its available locations. In order to get rid of vulnerable locations API to delete the image from one of the store, Glance should enhance the delete API which will be able to delete the image from provide store(s).
Patch in flight https://review.opendev.org/#/c/698049/ and the spec https://review.opendev.org/#/c/698018/
Specs and API side patch merged. Patch https://review.opendev.org/#/c/698049/ and the spec https://review.opendev.org/#/c/698018/ client side patch under review: https://review.opendev.org/#/c/699644/
This also requires python-glanceclient-2.17.0-0.20200310160931.40c19aa.el8ost.
Since the team has been able to complete upstream work in time as well as downstream backport, I'm moving this RFE to 16.1.1
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:3148