diff options
author | Zuul <zuul@review.opendev.org> | 2022-05-05 16:01:00 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2022-05-05 16:01:00 +0000 |
commit | 0b8c28986d98221fadf0e0dbc2909cf14709ae79 (patch) | |
tree | 4fa7d2df1870b8ff0843a5f65b9487afaf68317d | |
parent | 68d18dc2f2f228ff57a9b58083cb264bf6b29224 (diff) | |
parent | 73aaef428689c2346aafa5b9542bd30f5633ab50 (diff) | |
download | python-glanceclient-0b8c28986d98221fadf0e0dbc2909cf14709ae79.tar.gz |
Merge "Documentation: Add options for "glance image-import""
-rw-r--r-- | doc/source/cli/details.rst | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/source/cli/details.rst b/doc/source/cli/details.rst index f446aba..a4ae3f5 100644 --- a/doc/source/cli/details.rst +++ b/doc/source/cli/details.rst @@ -598,6 +598,10 @@ glance image-import .. code-block:: console usage: glance image-import [--import-method <METHOD>] + [--uri <IMAGE_URL>] + [--store <STORE>] [--stores <STORES>] + [--all-stores [True|False]] + [--allow-failure [True|False]] <IMAGE_ID> Initiate the image import taskflow. @@ -614,6 +618,29 @@ Initiate the image import taskflow. be retrieved with import-info command and the default "glance-direct" is used with "image-stage". +``--uri <IMAGE_URL>`` + URI to download the external image + +``--store <STORE>`` + Backend store to upload image to. + +``--stores <STORES>`` + List of comma separated stores to upload image if multi-stores are + enabled in the environment. + +``--all-stores [True|False]`` + "all-stores" can be used instead of "--stores <STORES>" to indicate + that image should be imported all available stores. + +``--allow-failure [True|False]`` + Indicator if all stores listed (or available) must + succeed. "True" by default meaning that we allow some + stores to fail and the status can be monitored from + the image metadata. If this is set to "False" the + import will be reverted should any of the uploads + fail. Only usable with "stores" or "all-stores". + + .. _glance_image-create-via-import: glance image-create-via-import |