Glance v2 API currently supports configuring multiple stores. However user/admin/operator can upload image to ony one store at a time. The workflow to copy the image bits to secondary locations for a single image requires the operator / admin to manually copy those image bits and then use the glance API to add the new location to the image. Glance should provide a way to asynchronously move or replicate images between stores through Images API eliminating the role of admin/operator doing so. Similar blueprint: https://blueprints.launchpad.net/glance/+spec/image-bits-replication
*** Bug 1466391 has been marked as a duplicate of this bug. ***
Upstream glance-specs - https://review.opendev.org/#/c/694724/
Working PoC for reference - https://review.opendev.org/#/c/696457/
Patch https://review.opendev.org/#/c/696457/ merged in master.
Test scenarios which I used for functional testing; https://drive.google.com/open?id=1VTs5RvOCG_P9GrdCM2lBLMHe8g1MNHrKlUO2wn9yOTg
This also requires python-glanceclient-2.17.0-0.20200310160931.40c19aa.el8ost.
If this bug requires doc text for errata release, please set the 'Doc Type' and provide draft text according to the template in the 'Doc Text' field. The documentation team will review, edit, and approve the text. If this bug does not require doc text, please set the 'requires_doc_text' flag to '-'.
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