108 Commits

Author SHA1 Message Date
Lingxian Kong
f3bb46542b Use dedicated service credential config
The current admin credential config options are confusing

Change-Id: I92c15c065edf364b955f2243b3599e0b8cae8b4f
2019-10-10 11:49:04 +13:00
Lingxian Kong
73211dd519 Doc: Add public trove guest images info
Story: 2006553
Task: 36638
Change-Id: I31ebc1dacbcfe7a032a5e80bf2957ad1c7b90d9b
2019-09-25 21:00:23 +12:00
Lingxian Kong
86f0ace357 Fix Trove periodic job
Change-Id: Iaa6b7e04ab3882d426b8943591fc9189243d69c0
2019-09-23 22:23:13 +12:00
Lingxian Kong
0cdf8b20b6 Add image build experimental CI job
Story: 2006553
Task: 36637
Change-Id: I3d909082fb887b24ed25c93e11792031d5053b1e
2019-09-17 22:23:43 +12:00
Lingxian Kong
b43248be79 [doc] Create instance in user guide
Add parameters to create public trove instance.

Change-Id: Ib69d7a3c0389f6419eff81879a17d150c8f056e9
Story: 2006500
Task: 36472
2019-09-11 22:35:56 +12:00
Lingxian Kong
3c09e6178a Improve guest image creation in devstack
Change-Id: I0ef8cbc4babc5c6b9f2936923ffe2837ecc3da74
2019-09-07 14:12:58 +12:00
Zuul
86228d9b88 Merge "fix bug report url" 2019-09-03 03:25:47 +00:00
yangyong
1d3db54fbf fix bug report url
since we don't use launchpad to report bugs anymore,replace it with
storyboard.openstack.org

Change-Id: Ifa456c62c4fed197954cb7f7b2aaf0328a00d6a3
2019-09-03 03:03:27 +00:00
Lingxian Kong
a1aa15282e Support management security group
Allow the cloud admin to control the security groups on the management
port of Trove instance, a new config option `management_security_groups`
is introduced for that purpose.

Change-Id: I4b22b87d37792be700d4ec7f78a7ea479ddb5814
Story: 2006466
Task: 36395
2019-09-02 10:06:49 +12:00
Lingxian Kong
e739ef6e93 Minor change to image build guide
Change-Id: I1658617ebe5b75b3f051d491243f3cf36f829dd5
2019-08-30 14:08:55 +12:00
Lingxian Kong
0ef474a70c Support keypair in devstack
Since Trove already supports to specify a Nova keypair when creating
instance for management convenience, devstack needs to be changed to
create the management keypair and add to Trove config file.

One extra change in this patch is to use a single config file for Trove
API, task-manager and conductor.

Change-Id: I1e6c4f4305104815bdf89b31776a4955de61bc89
Story: 2005429
Task: 30463
2019-08-29 15:41:58 +12:00
Lingxian Kong
dfa5ce93d5 Improve devmode=flase when building the image
During debugging, the following changes are also included:

- Support to specify an image ID to run the integration test.
- Fix the reboot function bug.
- Remove the unsuccessful restart test.

How to run integration test with dev_mode=false:

    ADMIN_PASSWORD=password \
    SERVICE_PASSWORD=password \
    DEV_MODE=false \
    /opt/stack/trove/integration/scripts/trovestack gate-tests mysql mysql

Change-Id: I31d4ee579a554f4c98f9facb9fd4b7779665a3dd
2019-08-25 23:11:54 +12:00
Andreas Jaeger
5ca55e487a Update api-ref location
The api documentation is now published on docs.openstack.org instead
of developer.openstack.org. Update all links that are changed to the
new location.

Note that redirects will be set up as well but let's point now to the
new location.

For details, see:
http://lists.openstack.org/pipermail/openstack-discuss/2019-July/007828.html

Change-Id: I8adf15cf87ed517c8b71d86c23732b804f44aaff
2019-08-14 22:08:50 +00:00
Zuul
f72015179e Merge "Update the outdated content" 2019-06-24 09:16:15 +00:00
chenxing
4bcb8a026c Update the outdated content
Change-Id: I7743b848e69a81e4aefb2191779a4cd9d4c7b666
Closes-Bug: #1729211
2019-06-14 12:10:01 +00:00
Lingxian Kong
49a11dd9c7 trovestack guide
Also fixed the migration script issue after upgrading SQLAlchemy
version from 1.2.19 to 1.3.4

Change-Id: Ia0d954237dd3c9c2b2ebedf440fa3c656da30777
2019-06-11 00:09:42 +12:00
Zuul
a038b356fd Merge "Add Redis datastore upgrade" 2019-05-20 09:20:56 +00:00
Przemysław Godek
2fd324357b Add Redis datastore upgrade
This patch adds support for upgrading Redis datastore - both single
instance and cluster.

It is achievied in a similar way to MySQL/Mariadb. Steps are:
    + For each node do:
        + stop database
        + preserve configuration files,
        + unmount data volume,
        + create new instance with new datastore,
        + enter restarting mode
        + mount data volume,
        + restore configuration files,
        + reload datastore

Note that due to the Redis Cluster design and Trove approach (all
nodes are master nodes) we do not perform real rolling upgrade - some
Redis slots may be unavailable while upgrading node associated with
them.

This patch adds also a user documentation about upgrading datastores
using Redis as an example.

Story: #2005421
Task: #30443
Co-Authored-By: Kasper Hasior <k.hasior@samsung.com>
Change-Id: I60cddb3a41d2cc7024cbec3d2fd2038d79446507
Signed-off-by: Kasper Hasior <k.hasior@samsung.com>
2019-05-16 13:07:00 +00:00
Minmin Ren
27cf32564e Instead of deprecated keystone cli in docs
The keystone CLI is deprecated in favor of
python-openstackclient, update docs using
openstack CLI instead of keystone CLI.

Change-Id: Ifddb5d0d38e4353e17e14ecd65a0d086a6886763
2019-05-06 09:29:35 +00:00
ZhongShengping
6a5afea40a Move to opendev
1.Use opendev.org instead of git.openstack.org.
2.Use review.opendev.org instead of review.openstack.org.

Change-Id: I8e9da8fbb04bdec42a0b2f012f6a38b8ee413b27
2019-04-24 16:08:08 +08:00
Lingxian Kong
eafd303e0a Use opendev.org instead of git.openstack.org
After moving to opendev.org, the following command fails when building
the Trove guest image:

curl -o /opt/stack/devstack/upper-constraints.txt \
  'https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=master'

https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt
should be used instead.

Other places using git.openstack.org are also changed.

Change-Id: Id357dd61e229e3336219723c1c1ae6b50e983f26
2019-04-22 00:05:41 +12:00
Lingxian Kong
798af4d02a Improve trove guest agent image building
- Add a new element 'guest-agent' for image building. This element is
  used when dev_mode=false, so that the trove code is downloaded into
  the image during the building phase rather than during the guest
  agent initialization.
- Improve trovestack sub-command 'build-image'.

  ./trovestack build-image ${datastore_type} \
     ${guest_os} \
     ${guest_release} \
     ${dev_mode}

- Improve documentation.

Story: #2005387
Task: #30375

Change-Id: I9d7acbd6a97f8c01b48b0f2cf94398d549d89124
2019-04-10 09:29:40 +12:00
Dariusz Krol
71b09bae42 User guide update to use Openstack client syntax
Change-Id: I13f80047cf1fb64f3452f20df58cc3cf21a17456
Signed-off-by: Dariusz Krol <dkrol3@gmail.com>
Signed-off-by: Dariusz Krol <d.krol@samsung.com>
2019-03-26 09:08:01 +00:00
Dariusz Krol
2663503930 Add documentation for managing databases and users
New entry added as an RST file with examples showing how to
create and manage users and databases on Trove instances
using Trove API.

Change-Id: I565f3b4d7c215c9508de127f1781638531d6fb45
Signed-off-by: Dariusz Krol <dkrol3@gmail.com>
Signed-off-by: Dariusz Krol <d.krol@samsung.com>
2019-03-19 21:24:13 +01:00
Dariusz Krol
f4b5c65dc0 Add upgrade status check - instances with assigned tasks
This check detects Trove instances in state other than Active
(identified by assigned None tasks), as such instances have some
kind of activity running, which requires communication between
the instance and Trove control plane.

Change-Id: I64901fd27dc97de8ee5e3bc693ec966d4f1a3346
Signed-off-by: Dariusz Krol <d.krol@samsung.com>
2019-01-15 19:54:03 +01:00
taoguo
e3c4c59dc4 Update http to https
modify http link to https link

Change-Id: I9550e78f3e70885b276f5623fb1cb6b32b6ce892
2018-11-12 10:09:04 +08:00
whoami-rajat
ace53c47fa Add trove-status upgrade check command framework
This adds basic framework for trove-status upgrade
check commands. For now it has only "check_placeholder"
check implemented.
Real checks can be added to this tool in the future.

Change-Id: Idfeab4c06cba6f841c17ab6e255a29e8707bfa55
Story: 2003657
Task: 26162
2018-10-22 12:56:28 +05:30
Marcin Piwowarczyk
dc7303a135 Be compilance with latest oslo.messaging
Support for the [oslo_messaging_rabbit] section has been removed in
oslo.messaging==9.0.0 package [1].
That's why integration tests failures on build devstack step.

This is the moment where we need to use the transport_url directive
in the [DEFAULT] section instead.

Moreover rpc_backend property (which was used in trove to enable fake
RPC backend) has been removed from DEFAULT section and API tests
fails on TIME_OUT as they starts on rabbit RPC backend.

Fake RPC can be now configured as described here [2]:
transport_url = 'fake:/'

[1] https://docs.openstack.org/releasenotes/oslo.messaging/unreleased.html
[2] https://docs.openstack.org/oslo.messaging/latest/configuration/conffixture.html

Change-Id: Id6c5a9198d5a213cb085407a1d8b534e7c755f69
Signed-off-by: Marcin Piwowarczyk <m.piwowarczy@samsung.com>
2018-10-13 20:00:16 +02:00
zhangdebo
d040dc5246 Add blueprints and bugs link in documents
Change-Id: I0d5e1b427506e3965b892b130aca4022619de5ae
2018-09-29 03:34:48 -04:00
Zuul
9dbf894631 Merge "Format service apache2 reload section for Debian/Ubuntu" 2018-08-22 15:06:46 +00:00
jiansong
636e0053bd Remove nova conf for guestagent
It seems that the current guestagent only needs to communicate
through amqp, and does not need to interact with nova, so the
related nova configuration can be removed from the guestagent,
which can reduce some invalid configuration.

Similarly, we removed the related configuration of condutor
and guestagent in devstack plugin.

Change-Id: I3f0b3b445c053351c1f3e966d77ea228df0e94a7
2018-08-07 02:16:54 -07:00
Zuul
73f8033375 Merge "[doc] Use openstack client command to replace others" 2018-07-20 03:28:16 +00:00
Zuul
c41d8cee16 Merge "Update auth_uri option to www_authenticate_uri" 2018-07-19 18:17:09 +00:00
ericxiett
ae4dddbd9a Format service apache2 reload section for Debian/Ubuntu
Change-Id: I5e0c9a8f38a64208eb885086910b60da6a6b4ab7
2018-07-14 02:40:16 +00:00
Qian Min Chen
f3ca9f2a1c [doc] Use openstack client command to replace others
The neutron client commands will be deprecated,
and 'nova net-list' has already been deprecated, so use
openstack client commands to replace neutron client.

Change-Id: Idb7d9782bb3af28cba7e318b0ed664641b5d731f
2018-07-12 11:13:17 +08:00
Tovin Seven
86fbe26add Trivial: Update pypi url to new url
Pypi url changed from [1] to [2]

[1] https://pypi.python.org/pypi/<package>
[2] https://pypi.org/project/<package>

Change-Id: I3470831e34b3bbeb2fb028b71312f51e5224b502
2018-04-20 17:31:45 +07:00
caoyuan
38a5679dac Update auth_uri option to www_authenticate_uri
Option auth_uri from group keystone_authtoken is deprecated[1].
Use option www_authenticate_uri from group keystone_authtoken.

[1]https://review.openstack.org/#/c/508522/

Change-Id: I46bb0acaf1dec9bb4b91d4a2180b3e7ed66741c2
2018-04-11 22:28:23 +08:00
Zuul
6ed15b20a9 Merge "Add Database service user guide" 2018-01-14 02:45:42 +00:00
Zuul
373868cd2a Merge "Add support for MySQL 5.7 on Ubuntu Xenial" 2018-01-09 19:20:48 +00:00
Zuul
77162ca941 Merge "Replace outdated image info in guest_cloud_init doc." 2018-01-09 03:56:48 +00:00
Luke Browning
36926f39e6 Add support for MySQL 5.7 on Ubuntu Xenial
Ubuntu Trusty continues to get MySQL 5.6.

The selection of the MySQL version is based on the version
of Ubuntu that is installed.  If the script trovestack is
invoked on Xenial, the version that is chosen is 5.7.  If
it is invoked on Trusty, then version 5.6 is chosen.

The only thing that is eliminated is the dubious combination
of MySQL 5.6 on Ubuntu Xenial.  This combination is probably
not supported by Ubuntu as it is down level from their
standard offering is probably not tested anywhere.

Note Xenial does not provide the 5.6 version of mysql.  This
was accomplished by initializing the Apt repo with the
Trusty software repository.

The size of the root file system is increased from 3 to 4 GBs
as the Mysql Xenial image does not fit in 3 GBs. This has an
impact on the flavors that are used by Trove for testing as the
name of the flavor includes the size of the root file system.

This is turn caused a change to each of the db specific test
config files as the trove falvors are referenced in them.

Change-Id: I4f4e497208b8f4728580e48239a8ae208e0a96dd
2018-01-08 14:57:56 -06:00
Zhao Chao
2bda6791af Replace outdated image info in guest_cloud_init doc.
The link of Ubuntu Cloud Archive is broken and was referring to daily
buildings. Using official released images instead.

Change-Id: I78352c72c667cae93c0865f79ded0ed5caff7560
Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
2018-01-05 16:55:23 +08:00
Zhao Chao
f41268d5c1 Fix integration cgit url in image building doc.
Change-Id: Idd5873151a5b8c83ac243bb42adee38a351fa99c
Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
2018-01-05 15:37:22 +08:00
caoyuan
7d40878b18 Remove the deprecated Nova-network
1. since the Nova-network has been deprecated, the install docs should
update too.
2. optimise the description

Change-Id: I651789b5f50a3c7ef5d68e4b720881d5b245b911
2017-12-13 10:29:39 +08:00
Zuul
8aad3ee2e4 Merge "Update URLs in documents according to document migration" 2017-11-24 01:36:10 +00:00
chenxing
4d99ae4bb3 Add Database service user guide
import the trove user guide from openstack-manuals

Closes-Bug: #1731209
Change-Id: I939e88bfb88234045b0a8b00ee0d6d623c6b10d1
2017-11-21 10:27:53 +08:00
jiansong
0a5b9f97d2 Update DIB doc
bin/disk-image-create was moved in a patch last year, this moves
disk-image-create to a regular python entry-point[1].Resulting in
our current document will be some problems. It seems that an
effective solution is to install DIB. Updated the relevant
information.

[1]:https://review.openstack.org/#/c/367157/

Change-Id: Idf1c15491ca77f4bd06a7b13aec676c84d15a800
2017-11-13 06:17:16 +00:00
Zuul
7f53205e88 Merge "Fix to use "." to source script files" 2017-11-03 19:01:57 +00:00
melissaml
1a999f084b Update URLs in documents according to document migration
Change-Id: I4ef8a26df071746b6855a6a278840abdd77f2607
2017-11-03 17:17:01 +08:00
David Rabel
84af1645ac Fix indent in docs
Change-Id: Ic83980366fda6ce82e04a3c45777092ef14bae5f
2017-10-28 16:32:55 +02:00