diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/source/admin/datastore.rst | 21 | ||||
-rw-r--r-- | doc/source/install/verify.rst | 4 |
2 files changed, 21 insertions, 4 deletions
diff --git a/doc/source/admin/datastore.rst b/doc/source/admin/datastore.rst index d98fdef4..59e2b26d 100644 --- a/doc/source/admin/datastore.rst +++ b/doc/source/admin/datastore.rst @@ -60,8 +60,8 @@ To create a datastore version: .. code-block:: console openstack datastore version create 5.7.29 mysql mysql "" \ - --image-tags trove,mysql \ - --active --default + --image-tags trove,mysql \ + --active --default #. Load validation rules for configuration groups @@ -121,4 +121,19 @@ version for testing purpose, to do that: .. code-block:: console - $ openstack datastore version <version-id> --disable + $ openstack datastore version set <version-id> --disable + +Replace image ID with tags +~~~~~~~~~~~~~~~~~~~~~~~~~~ + +For datastore versions what are created using image ID, it's easy to switch to +image tags without affecting the existing instances. New instances will be +created by the image ID (the most recently uploaded) that getting from Glance +using image tags. To do that, as the cloud admin user: + + .. code-block:: console + + $ openstack datastore version set <version-id> --image-tags trove,mysql + +Ignoring ``--image`` means removing the image ID from the datastore version if +it's associated. diff --git a/doc/source/install/verify.rst b/doc/source/install/verify.rst index a607ee58..3fd0960a 100644 --- a/doc/source/install/verify.rst +++ b/doc/source/install/verify.rst @@ -33,7 +33,9 @@ Verify operation of the Database service. .. code-block:: console - $ openstack datastore version create 5.7.29 mysql mysql "" trove,mysql --active --default + $ openstack datastore version create 5.7.29 mysql mysql "" \ + --image-tags trove,mysql \ + --active --default #. Create a database `instance <http://docs.openstack.org/user-guide/create_db.html>`_. |