summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLingxian Kong <anlin.kong@gmail.com>2020-10-09 11:50:48 +1300
committerLingxian Kong <anlin.kong@gmail.com>2020-10-09 13:44:38 +1300
commitc1be8a41d984aa88addfeaea2dc3c2392bfa2dcd (patch)
treeae46ca9e22190f4447c1c5668fc258300811532d /doc
parent1d24b65052bbfb8f7dff5744c7bb44a58a2336c6 (diff)
downloadtrove-c1be8a41d984aa88addfeaea2dc3c2392bfa2dcd.tar.gz
Support database version image tags for creating instance
Change-Id: If6ffacb5bab1aa5ffc51dd5678bd110c0beeb51d
Diffstat (limited to 'doc')
-rw-r--r--doc/source/admin/datastore.rst21
-rw-r--r--doc/source/install/verify.rst4
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>`_.