kollacli [subcommand] [ --version ] [ -v | --verbose ] [ --log-filefile_name] [ -q | --quiet ] [ -h | --help ] [ --debug ]
Starts the CLI shell, or runs CLI commands from the operating system prompt.
-
subcommand A kollacli subcommand:
Subcommand
Description
Print a Bash completion function.
Deploy services.
Create a tar file of the configuration files and logs for debugging.
Add a group.
Add a host to a group.
List all groups and the hosts in each group.
List all groups and the services in each group.
Remove a group.
Remove a host from a group.
Display help on using CLI commands.
Add a host to a deployment.
Check host configuration.
Remove services from host.
List hosts and the groups they belong to.
Remove hosts from a deployment.
Set up a host.
Stop the Kolla Docker containers on a host.
Remove a password name and its value.
Set all empty passwords and SSH keys.
List all password names.
Set a password value.
Set the SSH keys for a password.
Clear a property.
List properties and their associated values.
Set a property.
Add a service to a group.
List all services and their associated subservices.
List all services and the groups they belong to.
Remove a service from a group.
Upgrade a deployment.
-
--version Display the CLI version number.
-
-v,--verbose Set the verbosity of the output when running a command. Repeat
-v, to increase the verbosity, so-vvgives you more than-v, and-vvvgives you more than-vv.-
--log-file Set the file name to log debug and error output. This is disabled by default. The output is in verbose format. If the log file exists, the results are appended to the existing file content.
-
-q,--quiet Suppress all output, except warnings and errors.
-
-h,--help Display CLI syntax help.
-
--debug Display traceback on errors.
kollacli complete [ --name function_name ] [ --shell bash | none ]Print a Bash completion function.
-
--name The name of the function to generate. The default function name is
kollacli.-
--shell The shell type to use for the script. Use
nonefor data only. The default isbash.
kollacli deploy [ --hostshost_list] [ --serial ] [ --timeoutminutes]
Deploy services.
-
--hosts A comma-separated list of hosts. The must be no spaces in the host list. The hosts must belong to the compute group and no other group.
-
--serial Deploy services serially (one host at a time).
-
--timeout Timeout value in minutes. A deployment is stopped automatically if it takes longer than the timeout value.
kollacli group addhostgroup_namehost
Add a host to a group.
-
group_name The name of the group.
-
host The fully qualified domain name or IP address of the host.
kollacli group listhosts
[ { -f | --format } csv | html | json | table | value | yaml ]
[ { -c | --column } column_name ] [ --max-width max_width ]
[ --quote all | minimal | none | nonnumeric ]List all groups and the hosts in each group.
kollacli group listservices
[ { -f | --format } csv | html | json | table | value | yaml ]
[ { -c | --column } column_name ] [ --max-width max_width ]
[ --quote all | minimal | none | nonnumeric ] List all groups and the services in each group.
kollacli group remove group_nameRemove a group.
-
group_name The name of the group.
kollacli group removehostgroup_namehost
Remove a host from a group.
-
group_name The name of the group.
-
host The fully qualified domain name or IP address of the host.
kollacli help [ command ]Display help on using CLI commands.
-
command Help on a specific kollacli command.
kollacli host add hostAdd a host to a deployment.
-
host The fully qualified domain name or IP address of the host.
kollacli host check [ --predeploy ] { host | all } Check host configuration.
-
--predeploy Perform predeployment check. Only use this option if no services are deployed to the host.
-
host| all The fully qualified domain name or IP address of the host, or
allfor all hosts.
kollacli host destroy [ --stop ] [ --includedata ] [--removeimages] { host | all } Remove services from host.
-
--stop Perform a graceful shutdown (docker stop) of the containers before removing them.
-
--includedata Remove the OpenStack data.
-
--removeimages Remove the OpenStack Docker images.
-
host| all The fully qualified domain name or IP address of the host, or
allfor all hosts.
kollacli host list [host] [ { -f | --format } csv | html | json | table | value | yaml ] [ { -c | --column }column_name] [ --max-widthmax_width] [ --quote all | minimal | none | nonnumeric ]
List hosts and the groups they belong to.
-
host The fully qualified domain name or IP address of the host. If no
is provided, all hosts are listed.host
kollacli host remove [ host | all ]Remove hosts from a deployment.
-
host| all The fully qualified domain name or IP address of the host, or
allfor all hosts.
kollacli host setup { host | { -f | --file } file_name }Set up a host.
-
host The fully qualified domain name or IP address of the host.
-
-f--file Absolute path of a YAML format file that contains the hosts to set up and the credentials to use.
kollacli host stop [ host | all ]Stop the Kolla Docker containers on a host.
-
host| all The fully qualified domain name or IP address of the host, or
allfor all hosts.
kollacli password clear password_nameRemove a password name and its value.
-
password_name The name of the password.
kollacli password set password_nameSet a password value.
-
password_name The name of the password.
kollacli password setkeypassword_nameprivate_key_pathpublic_key_path
Set the SSH keys for a password.
-
password_name The name of the password.
-
private_key_path Path to the SSH private key file.
-
public_key_path Path to the SSH public key file.
kollacli property clear [ --groupsgroup_list| --hostshost_list]property_name
Clear a property.
-
property_name The name of the property.
-
--groups A comma-separated list of groups.
-
--hosts A comma-separated list of hosts.
kollacli property list
[ { -f | --format } csv | html | json | table | value | yaml ]
[ { -c | --column } column_name ] [ --max-width max_width ]
[ --quote all | minimal | none | nonnumeric ]
[ --all ] [ --long ]
[ --groups group_list | --hosts host_list ]List properties and their associated values.
-
--all List all properties and their values, regardless of their length.
-
--long List properties, their current values, and their default values, if overridden by a global property.
-
--groups A comma-separated list of groups.
-
--hosts A comma-separated list of hosts.
Set a property.
kollacli property set [ --groupsgroup_list| --hostshost_list]property_namevalue
-
property_name The name of the property.
-
value The value to set for the property.
-
--groups A comma-separated list of groups.
-
--hosts A comma-separated list of hosts.
kollacli service addgroupservice_namegroup_name
Add a service to a group.
-
service_name The name of the service.
-
group_name The name of the group.
kollacli service list
[ { -f | --format } csv | html | json | table | value | yaml ]
[ { -c | --column } column_name ] [ --max-width max_width ]
[ --quote all | minimal | none | nonnumeric ]List all services and their associated subservices.
kollacli service listgroups
[ { -f | --format } csv | html | json | table | value | yaml ]
[ { -c | --column } column_name ] [ --max-width max_width ]
[ --quote all | minimal | none | nonnumeric ]List all services and the groups they belong to.
kollacli service removegroupservice_namegroup_name
Remove a service from a group.
-
service_name The name of the service.
-
group_name The name of the group.

