Minor change to image build guide

Change-Id: I1658617ebe5b75b3f051d491243f3cf36f829dd5
This commit is contained in:
Lingxian Kong 2019-08-30 14:08:55 +12:00
parent 0ef474a70c
commit e739ef6e93
2 changed files with 6 additions and 13 deletions

View File

@ -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'

View File

@ -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