| 1 | --- |
| 2 | features: |
| 3 | - | |
| 4 | This release adds client support for the Glance feature |
| 5 | `multi-store backend support |
| 6 | <https://specs.openstack.org/openstack/glance-specs/specs/rocky/approved/glance/multi-store.html>`_, |
| 7 | introduced in the Rocky release. This feature allows end users |
| 8 | to direct uploaded or imported image data to a particular backend |
| 9 | when a cloud operator has configured the Image Service to use multiple |
| 10 | backends. |
| 11 | |
| 12 | The available backends are discoverable by making the ``stores-info`` |
| 13 | call, which will return a list of available backends. The list contains |
| 14 | an identifier (``id``) and a ``description`` of each available |
| 15 | backend. The default backend is indicated in this response. |
| 16 | |
| 17 | When uploading or importing an image, the glanceclient now accepts |
| 18 | the ``--backend`` option. Its value must be the ``id`` of a backend |
| 19 | configured in the cloud against which the call is being made. This |
| 20 | option may also be configured by exporting the ``OS_IMAGE_BACKEND`` |
| 21 | environment variable with the ``id`` of a configured backend as its |
| 22 | value. |
| 23 | |
| 24 | Some other points to keep in mind: |
| 25 | |
| 26 | - If no backend is specified, the image data is stored in the |
| 27 | default backend. |
| 28 | - If the version of the Image Service API contacted does not |
| 29 | support multi-store backends, the option is silently ignored |
| 30 | and the image data is stored in the default backend. |
| 31 | - If an invalid backend identifier is used, the glanceclient will |
| 32 | exit with an error message. |
| 33 | - Backend identifiers and their meanings are unique to each cloud. |
| 34 | Consult the ``stores-info`` call and your cloud provider's |
| 35 | documentation for details. |