Update OS Ubuntu and fix create configuration

Ubuntu 14.04 can't install Openstack latest, update to Ubuntu 18.04.
Create configuration need specific --datastore_version if no default
datastore is defined.

Change-Id: I78ab5fcb64837166a9807fbcc414a2538f85b6ac
This commit is contained in:
Nguyen Thanh Cong 2020-10-02 09:12:57 +07:00
parent af83edd1c4
commit 20c4551533
2 changed files with 5 additions and 3 deletions

View File

@ -4,7 +4,7 @@ Install and configure for Ubuntu
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This section describes how to install and configure the Database
service for Ubuntu 14.04 (LTS).
service for Ubuntu 18.04 (LTS).
.. include:: common_prerequisites.txt

View File

@ -94,7 +94,7 @@ Bulk-configure a database or databases
.. code-block:: console
$ openstack database configuration create NAME VALUES --datastore DATASTORE_NAME
$ openstack database configuration create NAME VALUES --datastore DATASTORE_NAME --datastore-version DATASTORE_VERSION_NAME
- *NAME*. The name you want to use for this group.
@ -106,13 +106,15 @@ Bulk-configure a database or databases
- *DATASTORE_NAME*. The name of the associated data store.
- *DATASTORE_VERSION_NAME*. The name of the associated data store version
This example creates a configuration group called ``group1``.
``group1`` contains just one key and value pair, and this pair sets
the ``sync_binlog`` option to ``1``.
.. code-block:: console
$ openstack database configuration create group1 '{"sync_binlog" : 1}' --datastore mysql
$ openstack database configuration create group1 '{"sync_binlog" : 1}' --datastore mysql --datastore_version mysql-5.5
+----------------------+--------------------------------------+
| Property | Value |
+----------------------+--------------------------------------+