From 73aaef428689c2346aafa5b9542bd30f5633ab50 Mon Sep 17 00:00:00 2001 From: vihithad23 Date: Mon, 28 Sep 2020 18:16:26 +0530 Subject: Documentation: Add options for "glance image-import" Closes-bug:#1886537 Change-Id: I66d99be1ec06806494c5504c467dff759dd38f2d --- doc/source/cli/details.rst | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'doc') 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 ] + [--uri ] + [--store ] [--stores ] + [--all-stores [True|False]] + [--allow-failure [True|False]] 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 `` + URI to download the external image + +``--store `` + Backend store to upload image to. + +``--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 " 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 -- cgit v1.2.1