Ability to import an image in multiple stores

Registered by Grégoire Unbekandt

Despite using the option enabled_backends, we can only import an image one time and in one backend.
The 2 first problems pointed out by the multi-store backend support specification (https://specs.openstack.org/openstack/glance-specs/specs/rocky/approved/glance/multi-store.html) are not fully fulfilled with the current implementation:

- It’s a manual out-of-band task to copy image bits to secondary storage.
- The operator must manage store locations manually; there is no way to query the available stores to back an image’s bits in glance.

We should be able to import an image in multiple stores through the glance api and without manual tasks.
For example by allowing users to specify multiple backend at the image upload, we could leverage on the current interoperable import workflow to send data in all the specified stores.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
Grégoire Unbekandt
Direction:
Needs approval
Assignee:
Grégoire Unbekandt
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Grégoire Unbekandt
Completed by
Grégoire Unbekandt

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.opendev.org/#/q/topic:bp/import-multi-stores

Addressed by: https://review.opendev.org/667132
    Add ability to import image into multi-stores

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.