List actions.
openstack cluster action list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--filters <"key1=value1;key2=value2...">]
[--sort <key>[:<direction>]]
[--limit <limit>]
[--marker <id>]
[--global-project]
[--full-id]
Config file for the dict-to-csv formatter
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Filter parameters to apply on returned actions. This can be specified multiple times, or once with parameters separated by a semicolon. The valid filter keys are: [‘name’, ‘target’, ‘action’, ‘status’]. NOTICE: The value of ‘target’, if provided, must be a full ID.
Sorting option which is a string containing a list of keys separated by commas. Each key can be optionally appended by a sort direction (:asc or :desc). The valid sort keys are: [‘name’, ‘target’, ‘action’, ‘created_at’, ‘status’]
Limit the number of actions returned
Only return actions that appear after the given action ID
Whether actions from all projects should be listed. Default to False. Setting this to True may demand for an admin privilege
Print full IDs in list
This command is provided by the python-senlinclient plugin.
Show detailed info about the specified action.
openstack cluster action show <action>
Name or ID of the action to show the details for
This command is provided by the python-senlinclient plugin.
Update an action.
openstack cluster action update [--status <status>] <action>
The new status for the action
ID of the action to update
This command is provided by the python-senlinclient plugin.
Retrieve build information.
openstack cluster build info
This command is provided by the python-senlinclient plugin.
Check the cluster(s).
openstack cluster check
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--wait]
<cluster>
[<cluster> ...]
Config file for the dict-to-csv formatter
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Wait for cluster check to complete
ID or name of cluster(s) to operate on.
This command is provided by the python-senlinclient plugin.
Collect attributes across a cluster.
openstack cluster collect
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--full-id]
--path <path>
<cluster>
Config file for the dict-to-csv formatter
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Print full IDs in list
JSON path expression for attribute to be collected
ID or name of cluster(s) to operate on.
This command is provided by the python-senlinclient plugin.
Create the cluster.
openstack cluster create
[--config <"key1=value1;key2=value2...">]
[--min-size <min-size>]
[--max-size <max-size>]
[--desired-capacity <desired-capacity>]
[--timeout <timeout>]
[--metadata <"key1=value1;key2=value2...">]
--profile <profile>
[--wait]
<cluster-name>
Configuration of the cluster. Default to {}. This can be specified multiple times, or once with key-value pairs separated by a semicolon.
Min size of the cluster. Default to 0
Max size of the cluster. Default to -1, means unlimited
Desired capacity of the cluster. Default to min_size if min_size is specified else 0.
Cluster creation timeout in seconds
Metadata values to be attached to the cluster. This can be specified multiple times, or once with key-value pairs separated by a semicolon.
Default profile Id or name used for this cluster
Wait for cluster creation to complete
Name of the cluster to create
This command is provided by the python-senlinclient plugin.
Delete the cluster(s).
openstack cluster delete
[--force-delete]
[--force]
[--wait]
<cluster>
[<cluster> ...]
Force to delete cluster(s).
Skip yes/no prompt (assume yes).
Wait for cluster delete to complete
Name or ID of cluster(s) to delete.
This command is provided by the python-senlinclient plugin.
List events.
openstack cluster event list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--filters <"key1=value1;key2=value2...">]
[--limit <limit>]
[--marker <id>]
[--sort <key>[:<direction>]]
[--global-project]
[--full-id]
Config file for the dict-to-csv formatter
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Filter parameters to apply on returned events. This can be specified multiple times, or once with parameters separated by a semicolon. The valid filter keys are: [‘level’, ‘otype’, ‘oid’ ,’cluster_id’, ‘oname’, ‘action’]. NOTICE: The value of ‘oid’ or ‘cluster_id’, if provided, must be a full ID.
Limit the number of events returned
Only return events that appear after the given event ID
Sorting option which is a string containing a list of keys separated by commas. Each key can be optionally appended by a sort direction (:asc or :desc). The valid sort keys are: [‘timestamp’, ‘level’, ‘oid’, ‘otype’, ‘oname’, ‘action’, ‘status’]
Whether events from all projects should be listed. Default to False. Setting this to True may demand for an admin privilege
Print full IDs in list
This command is provided by the python-senlinclient plugin.
Show the event details.
openstack cluster event show <event>
ID of event to display details for
This command is provided by the python-senlinclient plugin.
Scale out a cluster by the specified number of nodes.
openstack cluster expand [--count <count>] [--wait] <cluster>
Number of nodes to be added to the specified cluster
Wait for cluster scale-out to complete
Name or ID of cluster to operate on
This command is provided by the python-senlinclient plugin.
List clusters.
openstack cluster list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--filters <"key1=value1;key2=value2...">]
[--sort <key>[:<direction>]]
[--limit <limit>]
[--marker <id>]
[--global-project]
[--full-id]
Config file for the dict-to-csv formatter
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Filter parameters to apply on returned clusters. This can be specified multiple times, or once with parameters separated by a semicolon. The valid filter keys are: [‘status’, ‘name’]
Sorting option which is a string containing a list of keys separated by commas. Each key can be optionally appended by a sort direction (:asc or :desc). The valid sort keys are: [‘name’, ‘status’, ‘init_at’, ‘created_at’, ‘updated_at’]
Limit the number of clusters returned
Only return clusters that appear after the given cluster ID
Indicate that the cluster list should include clusters from all projects. This option is subject to access policy checking. Default is False
Print full IDs in list
This command is provided by the python-senlinclient plugin.
Add specified nodes to cluster.
openstack cluster members add --nodes <nodes> [--wait] <cluster>
ID or name of nodes to be added; multiple nodes can be separated with “,”
Wait for cluster members add to complete
Name or ID of cluster to operate on
This command is provided by the python-senlinclient plugin.
Delete specified nodes from cluster.
openstack cluster members del
--nodes <nodes>
[-d DESTROY_AFTER_DELETION]
[--wait]
<cluster>
Name or ID of nodes to be deleted; multiple nodes can be separated with “,”
Whether nodes should be destroyed after deleted. Default is False.
Wait for cluster members delete to complete
Name or ID of cluster to operate on
This command is provided by the python-senlinclient plugin.
List nodes from cluster.
openstack cluster members list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--filters <key1=value1;key2=value2...>]
[--sort <key>[:<direction>]]
[--limit <limit>]
[--marker <id>]
[--full-id]
<cluster>
Config file for the dict-to-csv formatter
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Filter parameters to apply on returned nodes. This can be specified multiple times, or once with parameters separated by a semicolon. The valid filter keys are: [‘status’, ‘name’]
Sorting option which is a string containing a list of keys separated by commas. Each key can be optionally appended by a sort direction (:asc or :desc)’ The valid sort keys are:[‘index’, ‘name’, ‘status’, ‘init_at’, ‘created_at’, ‘updated_at’]
Limit the number of nodes returned
Only return nodes that appear after the given node ID
Print full IDs in list
Name or ID of cluster to nodes from
This command is provided by the python-senlinclient plugin.
Replace the nodes in a cluster with specified nodes.
openstack cluster members replace
--nodes <OLD_NODE1
=NEW_NODE1>
[--wait]
<cluster>
OLD_NODE is the name or ID of a node to be replaced, NEW_NODE is the name or ID of a node as replacement. This can be specified multiple times, or once with node-pairs separated by a comma ‘,’.
Wait for cluster members replace to complete
Name or ID of cluster to operate on
This command is provided by the python-senlinclient plugin.
Adopt (or preview) the node.
openstack cluster node adopt
--identity <identity>
--type <type>
[--role <role>]
[--metadata <"key1=value1;key2=value2...">]
[--name <node-name>]
[--overrides <json>]
[--preview]
[--snapshot]
Physical resource id.
The name of the profile type.
Role for this node in the specific cluster.
Metadata values to be attached to the node. This can be specified multiple times, or once with key-value pairs separated by a semicolon.
Name of the node to adopt.
JSON formatted specification for overriding this node properties.
Whether preview the node adopt request. If set, only previewing this node and do not adopt.
Whether a shapshot of the existing physical object should be created before the object is adopted as a node.
This command is provided by the python-senlinclient plugin.
Check the node(s).
openstack cluster node check <node> [<node> ...]
ID or name of node(s) to check.
This command is provided by the python-senlinclient plugin.
Create the node.
openstack cluster node create
[--cluster <cluster>]
[--role <role>]
[--metadata <"key1=value1;key2=value2...">]
--profile <profile>
<node-name>
Cluster Id or Name for this node
Role for this node in the specific cluster
Metadata values to be attached to the node. This can be specified multiple times, or once with key-value pairs separated by a semicolon
Profile Id or Name used for this node
Name of the node to create
This command is provided by the python-senlinclient plugin.
Delete the node(s).
openstack cluster node delete
[--force-delete]
[--force]
<node>
[<node> ...]
Force to delete node(s).
Skip yes/no prompt (assume yes).
Name or ID of node(s) to delete.
This command is provided by the python-senlinclient plugin.
List nodes.
openstack cluster node list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--cluster <cluster>]
[--filters <"key1=value1;key2=value2...">]
[--sort <key>[:<direction>]]
[--limit <limit>]
[--marker <id>]
[--global-project]
[--full-id]
Config file for the dict-to-csv formatter
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
ID or name of cluster from which nodes are to be listed
Filter parameters to apply on returned nodes. This can be specified multiple times, or once with parameters separated by a semicolon. The valid filter keys are: [‘status’,’name’]
Sorting option which is a string containing a list of keys separated by commas. Each key can be optionally appended by a sort direction (:asc or :desc). The valid sort keys are:[‘index’, ‘name’, ‘status’, ‘init_at’, ‘created_at’, ‘updated_at’]
Limit the number of nodes returned
Only return nodes that appear after the given node ID
Indicate that this node list should include nodes from all projects. This option is subject to access policy checking. Default is False
Print full IDs in list
This command is provided by the python-senlinclient plugin.
Perform an operation on a node.
openstack cluster node op
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
--operation <operation>
[--params <key1=value1;key2=value2...>]
<node>
Config file for the dict-to-csv formatter
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Operation to be performed on the node.
Parameters to for the specified operation. This can be specified multiple times, or once with parameters separated by a semicolon.
ID or name the node operate on.
This command is provided by the python-senlinclient plugin.
Recover the node(s).
openstack cluster node recover [--check <boolean>] <node> [<node> ...]
Whether the node(s) should check physical resource status before doing node recover. Default is false
ID or name of node(s) to recover.
This command is provided by the python-senlinclient plugin.
Show detailed info about the specified node.
openstack cluster node show [--details] <node>
Include physical object details
Name or ID of the node to show the details for
This command is provided by the python-senlinclient plugin.
Update the node.
openstack cluster node update
[--name <name>]
[--profile <profile>]
[--role <role>]
[--metadata <"key1=value1;key2=value2...">]
[--tainted <boolean>]
<node>
New name for the node
ID or name of new profile to use
Role for this node in the specific cluster
Metadata values to be attached to the node. This can be specified multiple times, or once with key-value pairs separated by a semicolon. Use ‘{}’ can clean metadata
Whether the node should be marked as tainted. If true, this node will be selected first for the nextcluster scale-in operation.
Name or ID of node to update
This command is provided by the python-senlinclient plugin.
Perform an operation on all nodes across a cluster.
openstack cluster op
--operation <operation>
[--params <key1=value1;key2=value2...>]
[--wait]
<cluster>
Operation to be performed on the cluster
Parameters to for the specified operation. This can be specified multiple times, or once with parameters separated by a semicolon.
Wait for cluster operation to complete
ID or name of cluster to operate on.
This command is provided by the python-senlinclient plugin.
Attach policy to cluster.
openstack cluster policy attach
[--enabled <boolean>]
--policy <policy>
[--wait]
<cluster>
Whether the policy should be enabled once attached. Default to True
ID or name of policy to be attached
Wait for cluster policy-attach to complete
Name or ID of cluster to operate on
This command is provided by the python-senlinclient plugin.
List policies from cluster.
openstack cluster policy binding list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--filters <"key1=value1;key2=value2...">]
[--sort <key>[:<direction>]]
[--full-id]
<cluster>
Config file for the dict-to-csv formatter
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Filter parameters to apply on returned results. This can be specified multiple times, or once with parameters separated by a semicolon. The valid filter keys are: [‘is_enabled’, ‘policy_type’, ‘policy_name’]
Sorting option which is a string containing a list of keys separated by commas. Each key can be optionally appended by a sort direction (:asc or :desc). The valid sort keys are: [‘enabled’]
Print full IDs in list
Name or ID of cluster to query on
This command is provided by the python-senlinclient plugin.
Show a specific policy that is bound to the specified cluster.
openstack cluster policy binding show --policy <policy> <cluster>
ID or name of the policy to query on
ID or name of the cluster to query on
This command is provided by the python-senlinclient plugin.
Update a policy’s properties on a cluster.
openstack cluster policy binding update
--policy <policy>
--enabled <boolean>
<cluster>
ID or name of policy to be updated
Whether the policy should be enabled
Name or ID of cluster to operate on
This command is provided by the python-senlinclient plugin.
Create a policy.
openstack cluster policy create --spec-file <spec-file> <name>
The spec file used to create the policy
Name of the policy to create
This command is provided by the python-senlinclient plugin.
Delete policy(s).
openstack cluster policy delete [--force] <policy> [<policy> ...]
Skip yes/no prompt (assume yes)
Name or ID of policy(s) to delete
This command is provided by the python-senlinclient plugin.
Detach policy from cluster.
openstack cluster policy detach --policy <policy> [--wait] <cluster>
ID or name of policy to be detached
Wait for cluster policy-detach to complete
Name or ID of cluster to operate on
This command is provided by the python-senlinclient plugin.
List policies that meet the criteria.
openstack cluster policy list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--limit <limit>]
[--marker <id>]
[--sort <key>[:<direction>]]
[--filters <"key1=value1;key2=value2...">]
[--global-project]
[--full-id]
Config file for the dict-to-csv formatter
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Limit the number of policies returned
Only return policies that appear after the given policy ID
Sorting option which is a string containing a list of keys separated by commas. Each key can be optionally appended by a sort direction (:asc or :desc). The valid sort keys are: [‘type’, ‘name’, ‘created_at’, ‘updated_at’]
Filter parameters to apply on returned policies. This can be specified multiple times, or once with parameters separated by a semicolon. The valid filter keys are: [‘type’, ‘name’]
Indicate that the list should include policies from all projects. This option is subject to access policy checking. Default is False
Print full IDs in list
This command is provided by the python-senlinclient plugin.
Show the policy details.
openstack cluster policy show <policy>
Name or Id of the policy to show
This command is provided by the python-senlinclient plugin.
List the available policy types.
openstack cluster policy type list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
Config file for the dict-to-csv formatter
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
This command is provided by the python-senlinclient plugin.
Get the details about a policy type.
openstack cluster policy type show <type-name>
Policy type to retrieve
This command is provided by the python-senlinclient plugin.
Update a policy.
openstack cluster policy update [--name <name>] <policy>
New name of the policy to be updated
Name or ID of the policy to be updated
This command is provided by the python-senlinclient plugin.
Validate a policy.
openstack cluster policy validate --spec-file <spec-file>
The spec file of the policy to be validated
This command is provided by the python-senlinclient plugin.
Create a profile.
openstack cluster profile create
[--metadata <"key1=value1;key2=value2...">]
--spec-file <spec-file>
<profile-name>
Metadata values to be attached to the profile. This can be specified multiple times, or once with key-value pairs separated by a semicolon
The spec file used to create the profile
Name of the profile to create
This command is provided by the python-senlinclient plugin.
Delete profile(s).
openstack cluster profile delete [--force] <profile> [<profile> ...]
Skip yes/no prompt (assume yes)
Name or ID of profile(s) to delete
This command is provided by the python-senlinclient plugin.
List profiles that meet the criteria.
openstack cluster profile list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--limit <limit>]
[--marker <id>]
[--sort <key>[:<direction>]]
[--filters <"key1=value1;key2=value2...">]
[--global-project]
[--full-id]
Config file for the dict-to-csv formatter
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Limit the number of profiles returned
Only return profiles that appear after the given profile ID
Sorting option which is a string containing a list of keys separated by commas. Each key can be optionally appended by a sort direction (:asc or :desc). The valid sort_keys are:[‘type’, ‘name’, ‘created_at’, ‘updated_at’]
Filter parameters to apply on returned profiles. This can be specified multiple times, or once with parameters separated by a semicolon. The valid filter keys are: [‘type’, ‘name’]
Indicate that the list should include profiles from all projects. This option is subject to access policy checking. Default is False
Print full IDs in list
This command is provided by the python-senlinclient plugin.
Show profile details.
openstack cluster profile show <profile>
Name or ID of profile to show
This command is provided by the python-senlinclient plugin.
List the available profile types.
openstack cluster profile type list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
Config file for the dict-to-csv formatter
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
This command is provided by the python-senlinclient plugin.
Show the operations about a profile type.
openstack cluster profile type ops <type-name>
Profile type to retrieve
This command is provided by the python-senlinclient plugin.
Show the details about a profile type.
openstack cluster profile type show <name-version>
Profile type name and version to retrieve (e.g. os.nova.server-1.0)
This command is provided by the python-senlinclient plugin.
Update a profile.
openstack cluster profile update
[--name <name>]
[--metadata <"key1=value1;key2=value2...">]
<profile>
The new name for the profile
Metadata values to be attached to the profile. This can be specified multiple times, or once with key-value pairs separated by a semicolon. Use ‘{}’ can clean metadata
Name or ID of the profile to update
This command is provided by the python-senlinclient plugin.
Validate a profile.
openstack cluster profile validate --spec-file <spec-file>
The spec file of the profile to be validated
This command is provided by the python-senlinclient plugin.
Create a receiver.
openstack cluster receiver create
[--type <type>]
[--params <"key1=value1;key2=value2...">]
[--cluster <cluster>]
[--action <action>]
<name>
Type of the receiver to create. Receiver type can be “webhook” or “message”. Default to “webhook”.
A dictionary of parameters that will be passed to target action when the receiver is triggered
Targeted cluster for this receiver. Required if receiver type is webhook
Name or ID of the targeted action to be triggered. Required if receiver type is webhook
Name of the receiver to create
This command is provided by the python-senlinclient plugin.
Delete receiver(s).
openstack cluster receiver delete [--force] <receiver> [<receiver> ...]
Skip yes/no prompt (assume yes)
Name or ID of receiver(s) to delete
This command is provided by the python-senlinclient plugin.
List receivers that meet the criteria.
openstack cluster receiver list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--filters <"key1=value1;key2=value2...">]
[--limit <limit>]
[--marker <id>]
[--sort <key>[:<direction>]]
[--global-project]
[--full-id]
Config file for the dict-to-csv formatter
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Filter parameters to apply on returned receivers. This can be specified multiple times, or once with parameters separated by a semicolon. The valid filter keys are: [‘name’, ‘type’, ‘action’, ‘cluster_id’, ‘user_id’]
Limit the number of receivers returned
Only return receivers that appear after the given receiver ID
Sorting option which is a string containing a list of keys separated by commas. Each key can be optionally appended by a sort direction (:asc or :desc). The valid sort keys are: [‘name’, ‘type’, ‘action’, ‘cluster_id’, ‘created_at’]
Indicate that the list should include receivers from all projects. This option is subject to access policy checking. Default is False
Print full IDs in list
This command is provided by the python-senlinclient plugin.
Show the receiver details.
openstack cluster receiver show <receiver>
Name or ID of the receiver to show
This command is provided by the python-senlinclient plugin.
Update a receiver.
openstack cluster receiver update
[--name <name>]
[--action <action>]
[--params <"key1=value1;key2=value2...">]
<receiver>
Name of the receiver to create
Name or ID of the targeted action to be triggered. Required if receiver type is webhook
A dictionary of parameters that will be passed to target action when the receiver is triggered
Name or ID of receiver(s) to update
This command is provided by the python-senlinclient plugin.
Recover the cluster(s).
openstack cluster recover
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--check <boolean>]
[--wait]
<cluster>
[<cluster> ...]
Config file for the dict-to-csv formatter
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
Whether the cluster should check it’s nodes status before doing cluster recover. Default is false
Wait for cluster recover to complete
ID or name of cluster(s) to operate on.
This command is provided by the python-senlinclient plugin.
Resize a cluster.
openstack cluster resize
[--capacity <capacity>]
[--adjustment <adjustment>]
[--percentage <percentage>]
[--min-step <min-step>]
[--strict]
[--min-size min]
[--max-size max]
[--wait]
<cluster>
The desired number of nodes of the cluster
A positive integer meaning the number of nodes to add, or a negative integer indicating the number of nodes to remove
A value that is interpreted as the percentage of size adjustment. This value can be positive or negative
An integer specifying the number of nodes for adjustment when <PERCENTAGE> is specified
A boolean specifying whether the resize should be performed on a best-effort basis when the new capacity may go beyond size constraints
New lower bound of cluster size
New upper bound of cluster size. A value of -1 indicates no upper limit on cluster size
Wait for cluster resize to complete
Name or ID of cluster to operate on
This command is provided by the python-senlinclient plugin.
Run scripts on cluster.
openstack cluster run
[--port <port>]
[--address-type <address_type>]
[--network <network>]
[--ipv6]
[--user <user>]
[--identity-file <identity_file>]
[--ssh-options <ssh_options>]
--script <script>
<cluster>
The TCP port to use for SSH connection
The type of IP address to use. Possible values include ‘fixed’ and ‘floating’ (the default)
The network to use for SSH connection
Whether the IPv6 address should be used for SSH. Default to use IPv4 address.
The login name to use for SSH connection. Default to ‘root’.
The private key file to use, same as the ‘-i’ SSH option
Extra options to pass to SSH. See: man ssh.
Path name of the script file to run
ID or name of cluster(s) to operate on.
This command is provided by the python-senlinclient plugin.
Show a list of all running services.
openstack cluster service list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
Config file for the dict-to-csv formatter
specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated
sort the column(s) in ascending order
sort the column(s) in descending order
This command is provided by the python-senlinclient plugin.
Show details of the cluster.
openstack cluster show <cluster>
Name or ID of cluster to show
This command is provided by the python-senlinclient plugin.
Scale in a cluster by the specified number of nodes.
openstack cluster shrink [--count <count>] [--wait] <cluster>
Number of nodes to be deleted from the specified cluster
Wait for cluster scale-in to complete
Name or ID of cluster to operate on
This command is provided by the python-senlinclient plugin.
Update the cluster.
openstack cluster update
[--config <"key1=value1;key2=value2...">]
[--profile <profile>]
[--profile-only <boolean>]
[--timeout <timeout>]
[--metadata <"key1=value1;key2=value2...">]
[--name <name>]
[--wait]
<cluster>
Configuration of the cluster. This can be specified multiple times, or once with key-value pairs separated by a semicolon. Any existing configuration values on the cluster are wiped out when using this option.
ID or name of new profile to use
Whether the cluster should be updated profile only. If false, it will be applied to all existing nodes. If true, any newly created nodes will use the new profile,but existing nodes will not be changed. Default is False.
New timeout (in seconds) value for the cluster
Metadata values to be attached to the cluster. This can be specified multiple times, or once with key-value pairs separated by a semicolon. Use ‘{}’ can clean metadata
New name for the cluster to update
Wait for cluster update to complete
Name or ID of cluster to be updated
This command is provided by the python-senlinclient plugin.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.