このコンテンツは選択した言語では利用できません。

Chapter 21. consistency


This chapter describes the commands under the consistency command.

21.1. consistency group add volume

Usage:

openstack consistency group add volume [-h]

                                            <consistency-group> <volume>
                                            [<volume> ...]
Copy to Clipboard Toggle word wrap

Add volume(s) to consistency group

Expand
Table 21.1. Positional Arguments
ValueSummary

<consistency-group>

Consistency group to contain <volume> (name or id)

<volume>

Volume(s) to add to <consistency-group> (name or id) (repeat option to add multiple volumes)

Expand
Table 21.2. Optional Arguments
ValueSummary

-h, --help

Show this help message and exit

21.2. consistency group create

Usage:

openstack consistency group create [-h]

                                        [-f {json,shell,table,value,yaml}]
                                        [-c COLUMN] [--max-width <integer>]
                                        [--fit-width] [--print-empty]
                                        [--noindent] [--prefix PREFIX]
                                        (--volume-type <volume-type> | --consistency-group-source <consistency-group> | --consistency-group-snapshot <consistency-group-snapshot>)
                                        [--description <description>]
                                        [--availability-zone <availability-zone>]
                                        [<name>]
Copy to Clipboard Toggle word wrap

Create new consistency group.

Expand
Table 21.3. Positional Arguments
ValueSummary

<name>

Name of new consistency group (default to none)

Expand
Table 21.4. Optional Arguments
ValueSummary

-h, --help

Show this help message and exit

--volume-type <volume-type>

Volume type of this consistency group (name or ID)

--consistency-group-source <consistency-group>

Existing consistency group (name or ID)

--consistency-group-snapshot <consistency-group-snapshot>

Existing consistency group snapshot (name or ID)

--description <description>

Description of this consistency group

--availability-zone <availability-zone>

Availability zone for this consistency group (not available if creating consistency group from source)

Expand
Table 21.5. Output Formatters
ValueSummary

-f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml}

the output format, defaults to table

-c COLUMN, --column COLUMN

specify the column(s) to include, can be repeated

Expand
Table 21.6. Table Formatter
ValueSummary

--max-width <integer>

Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.

--fit-width

Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable

--print-empty

Print empty table if there is no data to show.

Expand
Table 21.7. JSON Formatter
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 21.8. shell formatter
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

21.3. consistency group delete

Usage:

openstack consistency group delete [-h] [--force]

                                        <consistency-group>
                                        [<consistency-group> ...]
Copy to Clipboard Toggle word wrap

Delete consistency group(s).

Expand
Table 21.9. Positional Arguments
ValueSummary

<consistency-group>

Consistency group(s) to delete (name or id)

Expand
Table 21.10. Optional Arguments
ValueSummary

-h, --help

Show this help message and exit

--force

Allow delete in state other than error or available

21.4. consistency group list

Usage:

openstack consistency group list [-h] [-f {csv,json,table,value,yaml}]

                                      [-c COLUMN] [--max-width <integer>]
                                      [--fit-width] [--print-empty]
                                      [--noindent]
                                      [--quote {all,minimal,none,nonnumeric}]
                                      [--sort-column SORT_COLUMN]
                                      [--all-projects] [--long]
Copy to Clipboard Toggle word wrap

List consistency groups.

Expand
Table 21.11. Optional Arguments
ValueSummary

-h, --help

Show this help message and exit

--all-projects

Show details for all projects. admin only. (defaults to False)

--long

List additional fields in output

Expand
Table 21.12. Output Formatters
ValueSummary

-f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml}

the output format, defaults to table

-c COLUMN, --column COLUMN

specify the column(s) to include, can be repeated

--sort-column SORT_COLUMN

specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated

Expand
Table 21.13. Table Formatter
ValueSummary

--max-width <integer>

Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.

--fit-width

Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable

--print-empty

Print empty table if there is no data to show.

Expand
Table 21.14. JSON Formatter
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 21.15. CSV Formatter
ValueSummary

--quote {all,minimal,none,nonnumeric}

when to include quotes, defaults to nonnumeric

21.5. consistency group remove volume

Usage:

openstack consistency group remove volume [-h]

                                               <consistency-group> <volume>
                                               [<volume> ...]
Copy to Clipboard Toggle word wrap

Remove volume(s) from consistency group

Expand
Table 21.16. Positional Arguments
ValueSummary

<consistency-group>

Consistency group containing <volume> (name or id)

<volume>

Volume(s) to remove from <consistency-group> (name or ID) (repeat option to remove multiple volumes)

Expand
Table 21.17. Optional Arguments
ValueSummary

-h, --help

Show this help message and exit

21.6. consistency group set

Usage:

openstack consistency group set [-h] [--name <name>]

                                     [--description <description>]
                                     <consistency-group>
Copy to Clipboard Toggle word wrap

Set consistency group properties

Expand
Table 21.18. Positional Arguments
ValueSummary

<consistency-group>

Consistency group to modify (name or id)

Expand
Table 21.19. Optional Arguments
ValueSummary

-h, --help

Show this help message and exit

--name <name>

New consistency group name

--description <description>

New consistency group description

21.7. consistency group show

Usage:

openstack consistency group show [-h]

                                      [-f {json,shell,table,value,yaml}]
                                      [-c COLUMN] [--max-width <integer>]
                                      [--fit-width] [--print-empty]
                                      [--noindent] [--prefix PREFIX]
                                      <consistency-group>
Copy to Clipboard Toggle word wrap

Display consistency group details.

Expand
Table 21.20. Positional Arguments
ValueSummary

<consistency-group>

Consistency group to display (name or id)

Expand
Table 21.21. Optional Arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 21.22. Output Formatters
ValueSummary

-f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml}

the output format, defaults to table

-c COLUMN, --column COLUMN

specify the column(s) to include, can be repeated

Expand
Table 21.23. Table Formatter
ValueSummary

--max-width <integer>

Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.

--fit-width

Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable

--print-empty

Print empty table if there is no data to show.

Expand
Table 21.24. JSON Formatter
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 21.25. shell formatter
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

21.8. consistency group snapshot create

Usage:

openstack consistency group snapshot create [-h]

                                                 [-f {json,shell,table,value,yaml}]
                                                 [-c COLUMN]
                                                 [--max-width <integer>]
                                                 [--fit-width]
                                                 [--print-empty]
                                                 [--noindent]
                                                 [--prefix PREFIX]
                                                 [--consistency-group <consistency-group>]
                                                 [--description <description>]
                                                 [<snapshot-name>]
Copy to Clipboard Toggle word wrap

Create new consistency group snapshot.

Expand
Table 21.26. Positional Arguments
ValueSummary

<snapshot-name>

Name of new consistency group snapshot (default to None)

Expand
Table 21.27. Optional Arguments
ValueSummary

-h, --help

Show this help message and exit

--consistency-group <consistency-group>

Consistency group to snapshot (name or ID) (default to be the same as <snapshot-name>)

--description <description>

Description of this consistency group snapshot

Expand
Table 21.28. Output Formatters
ValueSummary

-f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml}

the output format, defaults to table

-c COLUMN, --column COLUMN

specify the column(s) to include, can be repeated

Expand
Table 21.29. Table Formatter
ValueSummary

--max-width <integer>

Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.

--fit-width

Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable

--print-empty

Print empty table if there is no data to show.

Expand
Table 21.30. JSON Formatter
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 21.31. shell formatter
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

21.9. consistency group snapshot delete

Usage:

openstack consistency group snapshot delete [-h]


                                                 <consistency-group-snapshot>
                                                 [<consistency-group-snapshot> ...]
Copy to Clipboard Toggle word wrap

Delete consistency group snapshot(s).

Expand
Table 21.32. Positional Arguments
ValueSummary

<consistency-group-snapshot>

Consistency group snapshot(s) to delete (name or ID)

Expand
Table 21.33. Optional Arguments
ValueSummary

-h, --help

Show this help message and exit

21.10. consistency group snapshot list

Usage:

openstack consistency group snapshot list [-h]

                                               [-f {csv,json,table,value,yaml}]
                                               [-c COLUMN]
                                               [--max-width <integer>]
                                               [--fit-width] [--print-empty]
                                               [--noindent]
                                               [--quote {all,minimal,none,nonnumeric}]
                                               [--sort-column SORT_COLUMN]
                                               [--all-projects] [--long]
                                               [--status <status>]
                                               [--consistency-group <consistency-group>]
Copy to Clipboard Toggle word wrap

List consistency group snapshots.

Expand
Table 21.34. Optional Arguments
ValueSummary

-h, --help

Show this help message and exit

--all-projects

Show detail for all projects (admin only) (defaults to False)

--long

List additional fields in output

--status <status>

Filters results by a status ("available", "error", "creating", "deleting" or "error_deleting")

--consistency-group <consistency-group>

Filters results by a consistency group (name or ID)

Expand
Table 21.35. Output Formatters
ValueSummary

-f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml}

the output format, defaults to table

-c COLUMN, --column COLUMN

specify the column(s) to include, can be repeated

--sort-column SORT_COLUMN

specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated

Expand
Table 21.36. Table Formatter
ValueSummary

--max-width <integer>

Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.

--fit-width

Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable

--print-empty

Print empty table if there is no data to show.

Expand
Table 21.37. JSON Formatter
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 21.38. CSV Formatter
ValueSummary

--quote {all,minimal,none,nonnumeric}

when to include quotes, defaults to nonnumeric

21.11. consistency group snapshot show

Usage:

openstack consistency group snapshot show [-h]

                                               [-f {json,shell,table,value,yaml}]
                                               [-c COLUMN]
                                               [--max-width <integer>]
                                               [--fit-width] [--print-empty]
                                               [--noindent]
                                               [--prefix PREFIX]
                                               <consistency-group-snapshot>
Copy to Clipboard Toggle word wrap

Display consistency group snapshot details

Expand
Table 21.39. Positional Arguments
ValueSummary

<consistency-group-snapshot>

Consistency group snapshot to display (name or ID)

Expand
Table 21.40. Optional Arguments
ValueSummary

-h, --help

Show this help message and exit

Expand
Table 21.41. Output Formatters
ValueSummary

-f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml}

the output format, defaults to table

-c COLUMN, --column COLUMN

specify the column(s) to include, can be repeated

Expand
Table 21.42. Table Formatter
ValueSummary

--max-width <integer>

Maximum display width, <1 to disable. You can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence.

--fit-width

Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable

--print-empty

Print empty table if there is no data to show.

Expand
Table 21.43. JSON Formatter
ValueSummary

--noindent

Whether to disable indenting the json

Expand
Table 21.44. shell formatter
ValueSummary

--prefix PREFIX

Add a prefix to all variable names

トップに戻る
Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。 最新の更新を見る.

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

Theme

© 2025 Red Hat