Creates a backup of an instance.
openstack database backup create
[-i <instance>]
[--description <description>]
[--parent <parent>]
[--incremental]
[--swift-container SWIFT_CONTAINER]
[--restore-from RESTORE_FROM]
[--restore-datastore-version RESTORE_DATASTORE_VERSION]
[--restore-size RESTORE_SIZE]
<name>
ID or name of the instance. This is not required if restoring a backup from the data location.
An optional description for the backup.
Optional ID of the parent backup to perform an incremental backup from.
Create an incremental backup based on the last full or incremental backup. It will create a full backup if no existing backup found.
The container name for storing the backup data when Swift is used as backup storage backend. If not specified, will use the container name configured in the backup strategy, otherwise, the default value configured by the cloud operator. Non-existent container is created automatically.
The original backup data location, typically this is a Swift object URL.
ID of the local datastore version corresponding to the original backup
The original backup size.
Name of the backup.
This command is provided by the python-troveclient plugin.
Deletes a backup.
openstack database backup delete backup [backup ...]
Id or name of backup(s).
This command is provided by the python-troveclient plugin.
Deletes an execution.
openstack database backup execution delete <execution>
ID of the execution to delete.
This command is provided by the python-troveclient plugin.
List database backups
openstack database backup list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--limit <limit>]
[--marker <ID>]
[--datastore <datastore>]
[--instance-id INSTANCE_ID]
[-i INSTANCE]
[--all-projects]
[--project-id PROJECT_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
Return up to N number of the most recent bcakups.
Begin displaying the results for IDs greater than thespecified marker. When used with --limit
, set this to the last ID displayed in the previous run.
ID or name of the datastore (to filter backups by).
Filter backups by database instance ID. Deprecated since Xena. Use -i/–instance instead.
Filter backups by database instance(ID or name).
Get all the backups of all the projects(Admin only).
Filter backups by project ID.
This command is provided by the python-troveclient plugin.
Lists available backups for an instance.
openstack database backup list instance
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--limit <limit>]
[--marker <ID>]
<instance>
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
Return up to N number of the most recent bcakups.
Begin displaying the results for IDs greater than thespecified marker. When used with --limit
, set this to the last ID displayed in the previous run.
ID or name of the instance.
This command is provided by the python-troveclient plugin.
Shows details of a database backup
openstack database backup show <backup>
ID or name of the backup
This command is provided by the python-troveclient plugin.
Creates backup strategy for the project or a particular instance.
openstack database backup strategy create
[--project-id PROJECT_ID]
[--instance-id INSTANCE_ID]
[--swift-container SWIFT_CONTAINER]
Project ID in Keystone. Only admin user is allowed to create backup strategy for other projects.
Database instance ID.
The container name for storing the backup data when Swift is used as backup storage backend.
This command is provided by the python-troveclient plugin.
Deletes backup strategy.
openstack database backup strategy delete
[--project-id PROJECT_ID]
[--instance-id INSTANCE_ID]
Project ID in Keystone. Only admin user is allowed to delete backup strategy for other projects.
Database instance ID.
This command is provided by the python-troveclient plugin.
List backup strategies
openstack database backup strategy list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--instance-id INSTANCE_ID]
[--project-id PROJECT_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 results by database instance ID.
Project ID in Keystone. Only admin user is allowed to list backup strategy for other projects.
This command is provided by the python-troveclient plugin.
Creates a new database cluster.
openstack database cluster create
[--instance "opt=<value>[,opt=<value> ...]
"]
[--locality <policy>]
[--extended-properties "opt=<value>[,opt=<value> ...]
"]
[--configuration <configuration>]
<name>
<datastore>
<datastore_version>
Add an instance to the cluster. Specify multiple times to create multiple instances. Valid options are: flavor=<flavor_name_or_id>, volume=<disk_size_in_GB>, volume_type=<type>, nic=’<net-id=<net-uuid>, v4-fixed-ip=<ip-addr>, port-id=<port-uuid>>’ (where net-id=network_id, v4-fixed-ip=IPv4r_fixed_address, port-id=port_id), availability_zone=<AZ_hint_for_Nova>, module=<module_name_or_id>, type=<type_of_cluster_node>, related_to=<related_attribute>.
Locality policy to use when creating cluster. Choose one of %(choices)s.
Add extended properties for cluster create. Currently only support MongoDB options, other databases will be added in the future. MongoDB: num_configsvr=<number_of_configsvr>, num_mongos=<number_of_mongos>, configsvr_volume_size=<disk_size_in_GB>, configsvr_volume_type=<volume_type>, mongos_volume_size=<disk_size_in_GB>, mongos_volume_type=<volume_type>.
ID of the configuration group to attach to the cluster.
Name of the cluster.
A datastore name or ID.
A datastore version name or ID.
This command is provided by the python-troveclient plugin.
Deletes a cluster.
openstack database cluster delete <cluster>
ID or name of the cluster.
This command is provided by the python-troveclient plugin.
Force delete a cluster.
openstack database cluster force delete <cluster>
ID or name of the cluster.
This command is provided by the python-troveclient plugin.
Adds more instances to a cluster.
openstack database cluster grow
[--instance "opt=<value>[,opt=<value> ...]
"]
<cluster>
Add an instance to the cluster. Specify multiple times to create multiple instances. Valid options are: flavor=<flavor_name_or_id>, volume=<disk_size_in_GB>, volume_type=<type>, nic=’<net-id=<net-uuid>, v4-fixed-ip=<ip-addr>, port-id=<port-uuid>>’ (where net-id=network_id, v4-fixed-ip=IPv4r_fixed_address, port-id=port_id), availability_zone=<AZ_hint_for_Nova>, module=<module_name_or_id>, type=<type_of_cluster_node>, related_to=<related_attribute>.
ID or name of the cluster.
This command is provided by the python-troveclient plugin.
List database clusters
openstack database cluster list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--limit <limit>]
[--marker <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 results displayed.
Begin displaying the results for IDs greater than the specified marker. When used with --limit
, set this to the last ID displayed in the previous run.
This command is provided by the python-troveclient plugin.
Lists all instances of a cluster.
openstack database cluster list instances
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
<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
ID or name of the cluster.
This command is provided by the python-troveclient plugin.
Lists all modules for each instance of a cluster.
openstack database cluster modules
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
<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
ID or name of the cluster.
This command is provided by the python-troveclient plugin.
Set the cluster task to NONE.
openstack database cluster reset status <cluster>
ID or name of the cluster.
This command is provided by the python-troveclient plugin.
Shows details of a database cluster
openstack database cluster show <cluster>
ID or name of the cluster
This command is provided by the python-troveclient plugin.
Drops instances from a cluster.
openstack database cluster shrink <cluster> <instance> [<instance> ...]
ID or name of the cluster.
Drop instance(s) from the cluster. Specify multiple ids to drop multiple instances.
This command is provided by the python-troveclient plugin.
Upgrades a cluster to a new datastore version.
openstack database cluster upgrade <cluster> <datastore_version>
ID or name of the cluster.
A datastore version name or ID.
This command is provided by the python-troveclient plugin.
Attaches a configuration group to an instance.
openstack database configuration attach <instance> <configuration>
ID or name of the instance
ID or name of the configuration group to attach to the instance.
This command is provided by the python-troveclient plugin.
Creates a configuration group.
openstack database configuration create
[--datastore <datastore>]
[--datastore-version <datastore_version>]
[--datastore-version-number DATASTORE_VERSION_NUMBER]
[--description <description>]
<name>
<values>
Datastore assigned to the configuration group. Required if default datastore is not configured.
Datastore version ID assigned to the configuration group.
The version number for the database. The version number is needed for the datastore versions with the same name.
An optional description for the configuration group.
Name of the configuration group.
Dictionary of the values to set.
This command is provided by the python-troveclient plugin.
Shows the default configuration of an instance.
openstack database configuration default <instance>
ID or name of the instance.
This command is provided by the python-troveclient plugin.
Deletes a configuration group.
openstack database configuration delete <configuration_group>
ID or name of the configuration group
This command is provided by the python-troveclient plugin.
Detaches a configuration group from an instance.
openstack database configuration detach <instance>
ID or name of the instance.
This command is provided by the python-troveclient plugin.
Lists all instances associated with a configuration group.
openstack database configuration instances
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--limit <limit>]
[--marker <ID>]
<configuration_group>
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 results displayed.
Begin displaying the results for IDs greater than the specified marker. When used with –limit, set this to the last ID displayed in the previous run.
ID or name of the configuration group.
This command is provided by the python-troveclient plugin.
List database configurations
openstack database configuration list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--limit <limit>]
[--marker <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 results displayed.
Begin displaying the results for IDs greater than the specified marker. When used with –limit, set this to the last ID displayed in the previous run.
This command is provided by the python-troveclient plugin.
Lists available parameters for a configuration group.
openstack database configuration parameter list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--datastore <datastore>]
<datastore_version>
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 the datastore to list configurationparameters for. Optional if the ID of thedatastore_version is provided.
Datastore version name or ID assigned to the configuration group. ID is preferred if more than one datastore versions have the same name.
This command is provided by the python-troveclient plugin.
Change parameters for a configuration group.
openstack database configuration parameter set
configuration_group_id
<values>
Configuration group ID.
Dictionary of the new values to set.
This command is provided by the python-troveclient plugin.
Shows details of a database configuration parameter.
openstack database configuration parameter show
[--datastore <datastore>]
<datastore_version>
<parameter>
ID or name of the datastore to list configuration parameters for. Optional if the ID of the datastore_version is provided.
Datastore version name or ID assigned to the configuration group. ID is preferred if more than one datastore versions have the same name.
Name of the configuration parameter.
This command is provided by the python-troveclient plugin.
Update a configuration group.
openstack database configuration set
[--name <name>]
[--description <description>]
configuration_group_id
<values>
New name of the configuration group.
An optional description for the configuration group.
Configuration group ID.
Dictionary of the values to set.
This command is provided by the python-troveclient plugin.
Shows details of a database configuration group.
openstack database configuration show <configuration_group>
ID or name of the configuration group
This command is provided by the python-troveclient plugin.
Creates a database on an instance.
openstack database db create
[--character_set <character_set>]
[--collate <collate>]
<instance>
<name>
Optional character set for database.
Optional collation type for database.
ID or name of the instance.
Name of the database.
This command is provided by the python-troveclient plugin.
Deletes a database from an instance.
openstack database db delete <instance> <database>
ID or name of the instance.
Name of the database.
This command is provided by the python-troveclient plugin.
Get a list of all Databases from the instance.
openstack database db list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
<instance>
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 the instance.
This command is provided by the python-troveclient plugin.
List database flavors
openstack database flavor list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--datastore-type <datastore-type>]
[--datastore-version-id <datastore-version-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
Type of the datastore. For eg: mysql.
ID of the datastore version.
This command is provided by the python-troveclient plugin.
Shows details of a database flavor
openstack database flavor show <flavor>
ID or name of the flavor
This command is provided by the python-troveclient plugin.
Creates a new database instance.
openstack database instance create
[--flavor <flavor>]
[--size <size>]
[--volume-type <volume_type>]
[--databases <database> [<database> ...]]
[--users <user:password> [<user:password> ...]]
[--backup <backup>]
[--availability-zone <availability_zone>]
[--datastore <datastore>]
[--datastore-version <datastore_version>]
[--datastore-version-number DATASTORE_VERSION_NUMBER]
[--nic <net-id=<net-uuid>,subnet-id=<subnet-uuid>,ip-address=<ip-address>>]
[--configuration <configuration>]
[--replica-of <source_instance>]
[--replica-count <count>]
[--module <module>]
[--locality <policy>]
[--is-public]
[--allowed-cidr ALLOWED_CIDRS]
<name>
Flavor to create the instance (name or ID). Flavor is not required when creating replica instances.
Size of the instance disk volume in GB. Required when volume support is enabled.
Volume type. Optional when volume support is enabled.
Optional list of databases.
Optional list of users.
A backup name or ID.
The Zone hint to give to Nova.
A datastore name or ID.
A datastore version name or ID.
The version number for the database. The version number is needed for the datastore versions with the same name.
Create instance in the given Neutron network. This information is used for creating user-facing port for the instance. Either network ID or subnet ID (or both) should be specified, IP address is optional
ID of the configuration group to attach to the instance.
ID or name of an existing instance to replicate from.
Number of replicas to create (defaults to 1 if replica_of specified).
ID or name of the module to apply. Specify multiple times to apply multiple modules.
Locality policy to use when creating replicas. Choose one of %(choices)s.
Whether or not to make the instance public.
The IP CIDRs that are allowed to access the database instance. Repeat for multiple values
Name of the instance.
This command is provided by the python-troveclient plugin.
Deletes an instance.
openstack database instance delete [--force] instance [instance ...]
Force delete the instance, will reset the instance status before deleting.
Id or name of instance(s).
This command is provided by the python-troveclient plugin.
Detaches a replica instance from its replication source.
openstack database instance detach <instance>
ID or name of the instance.
This command is provided by the python-troveclient plugin.
Ejects a replica source from its set.
openstack database instance eject <instance>
ID or name of the instance.
This command is provided by the python-troveclient plugin.
Force delete an instance.
openstack database instance force delete <instance>
ID or name of the instance
This command is provided by the python-troveclient plugin.
List database instances
openstack database instance list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--limit <limit>]
[--marker <ID>]
[--include_clustered]
[--all-projects]
[--project-id PROJECT_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 results displayed.
Begin displaying the results for IDs greater than thespecified marker. When used with --limit
, set this to the last ID displayed in the previous run.
Include instances that are part of a cluster (default %(default)s). –include-clustered may be deprecated in the future, retaining just –include_clustered.
Include database instances of all projects (admin only)
Include database instances of a specific project (admin only)
This command is provided by the python-troveclient plugin.
Promotes a replica to be the new replica source of its set.
openstack database instance promote <instance>
ID or name of the instance.
This command is provided by the python-troveclient plugin.
Reboots an instance(the Nova server).
openstack database instance reboot <instance>
ID or name of the instance.
This command is provided by the python-troveclient plugin.
Rebuilds an instance(the Nova server).
openstack database instance rebuild <instance> <image-id>
ID or name of the instance.
ID of the new guest image.
This command is provided by the python-troveclient plugin.
Set instance service status to ERROR and clear the current task status. Mark any running backup operations as FAILED.
openstack database instance reset status <instance>
ID or name of the instance
This command is provided by the python-troveclient plugin.
Resize an instance with a new flavor
openstack database instance resize flavor <instance> flavor
ID or name of the instance
ID or name of the new flavor.
This command is provided by the python-troveclient plugin.
Resizes the volume size of an instance.
openstack database instance resize volume <instance> <size>
ID or name of the instance.
New size of the instance disk volume in GB.
This command is provided by the python-troveclient plugin.
Restarts an instance.
openstack database instance restart <instance>
ID or name of the instance.
This command is provided by the python-troveclient plugin.
Show instance details
openstack database instance show <instance>
Instance (name or ID)
This command is provided by the python-troveclient plugin.
Updates an instance: Edits name, configuration, or replica source.
openstack database instance update
[--name <name>]
[--configuration <configuration>]
[--detach-replica-source]
[--remove-configuration]
[--is-public | --is-private]
[--allowed-cidr ALLOWED_CIDRS]
<instance>
ID or name of the instance.
ID of the configuration reference to attach.
Detach the replica instance from its replication source. –detach-replica-source may be deprecated in the future in favor of just –detach_replica_source
Drops the current configuration reference.
Make the database instance accessible to public.
Make the database instance inaccessible to public.
The IP CIDRs that are allowed to access the database instance. Repeat for multiple values
ID or name of the instance.
This command is provided by the python-troveclient plugin.
Upgrades an instance to a new datastore version.
openstack database instance upgrade <instance> <datastore_version>
ID or name of the instance.
ID or name of the datastore version.
This command is provided by the python-troveclient plugin.
List database limits
openstack database limit 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-troveclient plugin.
Lists the log files available for instance.
openstack database log list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
<instance>
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 the instance.
This command is provided by the python-troveclient plugin.
Save the log file.
openstack database log save [--file FILE] <instance> <log_name>
Path of file to save log to for instance.
Id or Name of the instance.
Name of log to operate.
This command is provided by the python-troveclient plugin.
Instructs Trove guest to operate logs.
openstack database log set
[--enable]
[--disable]
[--publish]
[--discard]
<instance>
<log_name>
Whether or not to enable log collection.
Whether or not to disable log collection.
Whether or not to publish log files to the backend storage for logs(Swift by default).
Whether or not to discard the existing logs before publish.
Id or Name of the instance.
Name of log to operate.
This command is provided by the python-troveclient plugin.
Show information of given log name for the database instance.
openstack database log show <instance> <log_name>
Id or Name of the instance.
Name of log to operate.
This command is provided by the python-troveclient plugin.
Show the content of log file.
openstack database log tail [--lines LINES] <instance> <log_name>
The number of log lines can be shown in batch.
Id or Name of the instance.
Name of log to operate.
This command is provided by the python-troveclient plugin.
Show quotas for a project.
openstack database quota show
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
project
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 the project.
This command is provided by the python-troveclient plugin.
Update quotas for a project.
openstack database quota update project <resource> <limit>
Id or name of the project.
Resource name.
New limit to set for the named resource.
This command is provided by the python-troveclient plugin.
Disables root for an instance.
openstack database root disable <instance>
ID or name of the instance.
This command is provided by the python-troveclient plugin.
Enables root for an instance and resets if already exists.
openstack database root enable
[--root_password <root_password>]
<instance_or_cluster>
Root password to set.
ID or name of the instance or cluster.
This command is provided by the python-troveclient plugin.
Gets status if root was ever enabled for an instance or cluster.
openstack database root show <instance_or_cluster>
ID or name of the instance or cluster.
This command is provided by the python-troveclient plugin.
Creates a user on an instance.
openstack database user create
[--host <host>]
[--databases <databases> [<databases> ...]]
<instance>
<name>
<password>
Optional host of user.
Optional list of databases.
ID or name of the instance.
Name of user.
Password of user.
This command is provided by the python-troveclient plugin.
Deletes a user from an instance.
openstack database user delete [--host <host>] <instance> <name>
Optional host of user.
ID or name of the instance.
Name of user.
This command is provided by the python-troveclient plugin.
Grants access to a database(s) for a user.
openstack database user grant access
[--host <host>]
<instance>
<name>
<databases>
[<databases> ...]
Optional host of user.
ID or name of the instance.
Name of user.
List of databases.
This command is provided by the python-troveclient plugin.
Lists the users for an instance.
openstack database user list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
<instance>
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 the instance.
This command is provided by the python-troveclient plugin.
Revokes access to a database for a user.
openstack database user revoke access
[--host <host>]
<instance>
<name>
<databases>
Optional host of user.
ID or name of the instance.
Name of user.
A single database.
This command is provided by the python-troveclient plugin.
Shows details of a database user of an instance.
openstack database user show [--host <host>] <instance> <name>
Optional host of user.
ID or name of the instance.
Name of user.
This command is provided by the python-troveclient plugin.
Shows access details of a user of an instance.
openstack database user show access
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
[--host <host>]
<instance>
<name>
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
Optional host of user.
ID or name of the instance.
Name of user.
This command is provided by the python-troveclient plugin.
Updates a user’s attributes on an instance.At least one optional argument must be provided.
openstack database user update attributes
[--host <host>]
[--new_name <new_name>]
[--new_password <new_password>]
[--new_host <new_host>]
<instance>
<name>
Optional host of user.
Optional new name of user.
Optional new password of user.
Optional new host of user.
ID or name of the instance.
Name of user.
This command is provided by the python-troveclient plugin.
Deletes a datastore
openstack datastore delete <datastore>
ID or name of the datastore
This command is provided by the python-troveclient plugin.
List available datastores
openstack datastore 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-troveclient plugin.
Shows details of a datastore
openstack datastore show <datastore>
ID of the datastore
This command is provided by the python-troveclient plugin.
Creates a datastore version.
openstack datastore version create
[--active]
[--image-tags IMAGE_TAGS]
[--default]
[--version-number VERSION_NUMBER]
version_name
datastore_name
datastore_manager
image_id
Enable the datastore version.
List of image tags separated by comma, e.g. trove,mysql
If set the datastore version as default.
The version number for the database. If not specified, use the version name as the default value.
Datastore version name.
Datastore name. The datastore is created automatically if does not exist.
Datastore manager, e.g. mysql
ID of the datastore image in Glance. This can be empty string if –image-tags is specified.
This command is provided by the python-troveclient plugin.
Deletes a datastore version.
openstack datastore version delete <datastore_version>
ID of the datastore version.
This command is provided by the python-troveclient plugin.
Lists available versions for a datastore
openstack datastore version list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--sort-ascending | --sort-descending]
<datastore>
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 the datastore
This command is provided by the python-troveclient plugin.
Updates a datastore version.
openstack datastore version set
[--datastore-manager DATASTORE_MANAGER]
[--image IMAGE]
[--image-tags IMAGE_TAGS]
[--version-name VERSION_NAME]
[--enable | --disable]
[--default | --non-default]
datastore_version_id
Datastore manager name.
ID of the datastore image in Glance.
List of image tags separated by comma, e.g. trove,mysql
New datastore version name.
Datastore version ID.
This command is provided by the python-troveclient plugin.
Shows details of a datastore version.
openstack datastore version show
[--datastore <datastore>]
<datastore_version>
ID or name of the datastore. Optional if the ID ofthe datastore_version is provided.
ID or name of the datastore version.
This command is provided by the python-troveclient plugin.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.