summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLingxian Kong <anlin.kong@gmail.com>2019-08-30 14:08:55 +1200
committerLingxian Kong <anlin.kong@gmail.com>2019-08-30 14:08:55 +1200
commite739ef6e935ccae0b8b68e0828449897275e5cc0 (patch)
treead1d2b9c2a01f7756c416a8d751bb2d047bb40d0 /doc
parent0ef474a70ce3d6ba15c19240425f2ac48d12e778 (diff)
downloadtrove-e739ef6e935ccae0b8b68e0828449897275e5cc0.tar.gz
Minor change to image build guide
Change-Id: I1658617ebe5b75b3f051d491243f3cf36f829dd5
Diffstat (limited to 'doc')
-rw-r--r--doc/source/admin/building_guest_images.rst7
-rw-r--r--doc/source/admin/trovestack.rst12
2 files changed, 6 insertions, 13 deletions
diff --git a/doc/source/admin/building_guest_images.rst b/doc/source/admin/building_guest_images.rst
index 5b017470..85dbb1a4 100644
--- a/doc/source/admin/building_guest_images.rst
+++ b/doc/source/admin/building_guest_images.rst
@@ -125,10 +125,9 @@ Build image using trovestack
----------------------------
Trove provides a script called ``trovestack`` that could do most of the
-management and test tasks. Refer to the "Build guest agent image" section
-in
-`trovestack document <https://github.com/openstack/trove/blob/master/integration/README.md>`_
-for how to build trove guest agent images.
+management and test tasks. Refer to
+`trovestack document <https://docs.openstack.org/trove/latest/admin/trovestack.html#build-guest-agent-image>`_
+for the steps to build trove guest agent images.
-----------------------------
Disk Image Builder 'Elements'
diff --git a/doc/source/admin/trovestack.rst b/doc/source/admin/trovestack.rst
index 824a60e2..a22b1332 100644
--- a/doc/source/admin/trovestack.rst
+++ b/doc/source/admin/trovestack.rst
@@ -24,7 +24,7 @@ Before running ``trovestack`` command, go to the scripts folder:
.. code-block:: console
- git clone https://github.com/openstack/trove
+ git clone https://opendev.org/openstack/trove
cd trove/integration/scripts
Build guest agent image
@@ -54,14 +54,8 @@ The trove guest agent image could be created by running the following command:
image at the building time. Now ``dev_mode=false`` is still in experimental
and not considered production ready yet.
-* If you build the image on host1 but the trove controller service is running
- on host2, you need to set ``dev_mode=false`` and set ``CONTROLLER_IP`` as the
- IP address of trove controller service host. As the cloud administrator, you
- also need to create a Nova keypair and set ``nova_keypair`` option in Trove
- config file in order to ssh into the guest agent.
-
For example, in order to build a MySQL image for Ubuntu Xenial operating
-system:
+system in development mode:
.. code-block:: console
@@ -77,5 +71,5 @@ image in Glance and register a new datastore or version in Trove using
--public \
--disk-format qcow2 \
--container-format bare \
- --file ~/images/ubuntu_mysql.qcow2
+ --file ~/images/ubuntu-mysql.qcow2
$ trove-manage datastore_version_update mysql 5.7.1 mysql $image_id "" 1