67 Commits

Author SHA1 Message Date
ZhongShengping
c704af6e32 Fix syntax error
README of Devstack shows a problem[1].

[1]https://opendev.org/openstack/trove/src/branch/master/devstack

Change-Id: I00eec0b5edfedbea954ce9e093e7a6cb5a84ddb5
2019-05-06 18:32:53 +08: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
Zuul
e7ef1dd722 Merge "Disable devstack image building for trove-scenario-mariadb-single CI job" 2019-04-11 00:12:37 +00:00
Zuul
ee0ed4de0d Merge "Improve trove guest agent image building" 2019-04-11 00:04:21 +00:00
Ian Wienand
4367dd5e7a Merge "Replace openstack.org git:// URLs with https://" 2019-04-10 00:52:15 +00: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
Lingxian Kong
4fe95fbaf3 Disable devstack image building for trove-scenario-mariadb-single CI job
Trove mainly uses trovestack script to trigger the CI tests, including
the guest agent image building, so the image building in devstack could
be skipped to decrease the testing duration.

Change-Id: I26fa0adc1a5e39612be15b75d37d22ea1cca3be1
Story: #2005391
Task: #30380
2019-04-09 09:20:22 +12:00
Zuul
ac9193d59c Merge "Fix tests for Ubuntu Bionic migration of CI jobs" 2019-03-28 20:02:58 +00:00
Lingxian Kong
6ea816312e Fix tests for Ubuntu Bionic migration of CI jobs
Change-Id: I2fee668c3774f7e87ce3478ca998f8b366c6cd41
2019-03-28 10:32:26 +00:00
Zuul
1f5940e283 Merge "Deprecate the config option default_neutron_networks" 2019-03-28 06:56:39 +00:00
Lingxian Kong
44fbcfaaa6 Deprecate the config option default_neutron_networks
Use `management_networks` instead. `management_networks`will be used
as admin networks which will be attached to Trove instance
automatically.

Change-Id: I5c6004b568c3a428bc0f0a8b0e36665d3c5b3087
2019-03-26 14:14:31 +13:00
Lingxian Kong
4a85d9b77f Fix the way to get localhost IP in devstack
In Ubuntu Bionic, the following command returns "uid" so that the
guest-agent service will fail because of invalid IP address.

$ ip route get 8.8.8.8 | head -1 | cut -d' ' -f8
uid
$ ip route get 8.8.8.8 | head -1
8.8.8.8 via 10.0.17.1 dev ens3 src 10.0.17.131 uid 0

In Ubuntu Xenial:

$ ip route get 8.8.8.8 | head -1 | cut -d' ' -f8
10.0.17.132
$ ip route get 8.8.8.8 | head -1
8.8.8.8 via 192.168.192.1 dev eth0  src 10.0.17.132

Change-Id: Iae24686fa65603b7d22b09da99b7590e4e117454
2019-03-26 11:22:26 +13:00
Ian Wienand
007821e830 Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: I7f2db9189611a1e2121d9e7bacd35c05382b5915
2019-03-24 20:36:20 +00:00
Bartosz Zurkowski
ddafb0e40d Share networks created by Trove Devstack plugin
Trove implies strict network requirements. All Trove instances must be
launched in a network that is connected to the management network so
that Guest Agents residing in the data plane could communicate with
control plane services, e.g. RabbitMQ and Trove Conductor. Trove
Devstack plugin creates a management network bound to management physnet
(trove-mgmt), as well as tenant network (alt-private) connected to it
via a router. Consequently, Trove instances deployed in the tenant
network can easily access the management services mentioned above.
However, these networks are visible only from the perspective of the
tenant that created the networks.

Since Tempest does not provide an easy way to create a similar
management network, and as such does not enable creating tenant network
for Trove instances automatically, this change adds --share flag to
networks created by Devstack so that Tempest could reuse them.

Change-Id: I8c642ab6150858478c48291a51675ef9d15dafaa
Signed-off-by: Bartosz Zurkowski <b.zurkowski@samsung.com>
2019-03-21 13:07:09 +01:00
Lingxian Kong
795f2bde88 Fix SUBNETPOOL_V4_ID check in devstack
In the devstack script, `[ -n $SUBNETPOOL_V4_ID ]` returns true even if
SUBNETPOOL_V4_ID variable is not defined, which is not expected.
I can see the error as the following:

```
2019-02-06 07:20:57.095 | Finalizing Neutron networking for Trove
2019-02-06 07:20:57.095 | Dumping current network parameters:
...
2019-02-06 07:20:57.096 |   SUBNETPOOL_V4_ID:
...
2019-02-06 07:21:02.706 | openstack subnet create: error: argument --subnet-pool: expected one argument
```

This patch changes that to `[ -n "$SUBNETPOOL_V4_ID" ]`

Change-Id: Ib37b2ade3d7cf556340944a56944beb4bb47d7d9
2019-02-13 23:13:48 +13:00
Lingxian Kong
73e4419615 Fix key generation for devstack
When installing trove using devstack, an error occurs when rerun
devstack:
2019-02-06 06:22:57.450 | /opt/stack/.ssh/id_rsa already exists.
2019-02-06 06:22:57.453 | Overwrite (y/n)? Error on exit

Because the ${SSH_DIR} folder was created in the last run.

This patch fixes the issue by checking if the folder exists and only
generate the ssh key if not.

Change-Id: I2f0e3f99b03584a30571199f6be7a7ef28fbbd0d
2019-02-12 12:03:44 +13:00
Dariusz Krol
68a4819dd4 Add image setup to trove devstack plugin
Main goal is to have a working vm image registered in
trove after devstack installation.

It is a first step towards trovestack-redesign as described
in https://etherpad.openstack.org/p/trovestack-redesign

It is enabled by default during devstack installation with
trove enabled plugin, but it can be skipped by setting
DISABLE_TROVE_IMAGE_SETUP=TRUE

Implementation details:
* export environmental variables for diskimage-builder
* build an image with disk-image-create script
* register the newly created image in trove
* add tripleo-elements information to default settings

Change-Id: I6e57890c5b6fb65e9b8c63363f92e5a7c70e523e
Signed-off-by: Dariusz Krol <d.krol@samsung.com>
2018-12-14 21:26:01 +01:00
ghanshyam
d5d9342bee Set Tempest's service_availability setting for Trove
Tempest's service_availability config option includes all the service
availability which is further used by tests to take decision of skip
or run the test.

For example, [service_availability].trove is true then, trove test will run
or if [service_availability].trove is false then, all trove related tests either
in trove tempest plugin or any other plugins will be skipped.

Currently this setting for trove service[1] is in devstack lib/tempest
which is being removed by - https://review.openstack.org/#/c/619973/

For better maintenance, we are moving all tempest non-owned service setting
to service devstack plugin side.

This commit add the setting of trove service on trove devstack plugin.

Closes-Bug: #1743688
[1] https://git.openstack.org/cgit/openstack/trove-tempest-plugin/tree/trove_tempest_plugin/config.py#n17

Needed-By: https://review.openstack.org/#/c/619973/
Change-Id: Ie3c6bab6e0be9dfcfe29ec3f412e704f3ad79d61
2018-11-26 10:02:31 +00:00
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
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
ghanshyam
51883d9ca9 Remove use of unsupported TEMPEST_SERVICES variable
TEMPEST_SERVICES global variable is not supported
by devstack since long back.
- I380dd20e5ed716a0bdf92aa02c3730359b8136e4
- I9c24705e494689f09a885eb0a640efd50db33fcf

Service availability of tempest known services will be
set by devstack with local check.
- I02be777bf93143d946ccbb8e9eff637bfd1928d4

This commit removes the unused TEMPEST_SERVICES setting
Related-Bug: #1743688

Change-Id: Iccbc833d821a2d7b2bc34860170ce1817fbecead
2018-01-23 16:27:42 +03:00
Zuul
373868cd2a Merge "Add support for MySQL 5.7 on Ubuntu Xenial" 2018-01-09 19:20: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
Zuul
f0f8402e66 Merge "Fix Increase guest agent cmd process timeout" 2017-12-20 21:31:07 +00:00
Samuel Matzek
6049776081 Fix Increase guest agent cmd process timeout
A previous commit attempted to set the guest agent command
process timeout value high but had a copy-paste error in
the line that actually sets the environment variable value
into the guest conf file.

This fixes the copy-paste issue.

Change-Id: Ib8aa566fb34eb52e2541d0ccb595234373e01bc2
2017-12-11 09:38:34 -06:00
Dai Dang Van
dd6b22d47a Remove policy.json file
We already had default rule in code, so we should not
still define all of them again in policy file.
Besides, we should you yaml format for now instead json.

Another thing, we don't need to config policy file in
Devstack enviroment.

Change-Id: I783ba51695271d358764557899fe91e84620556d
2017-12-07 16:38:03 +07:00
Nguyen Van Trung
abb3460b9e Add doc8 to pep8 check for trove project
This patch adds a doc8 check of .rst files to the current pep8 check.
It includes fixes to the .rst files that didn't pass the check.

Change-Id: I866ee72cfdd6067ae219a751aa7c2a0c391886f7
2017-11-30 08:28:55 +07:00
Luke Browning
e2257394ed Fix typo in trovestack cleanup
apache_site_config_for is a shell function, not a shell variable.
Shell syntax for functions is ().  Variables use {}.

Change-Id: Ia9a35cdb0883f576efe584bc854de94072e13b87
2017-11-19 08:28:49 -06:00
Samuel Matzek
55ee8eaf31 Increase guest agent cmd process timeout
Increase the timeout for out of process commands called
by the guest agent in the devstack plugin.

Change-Id: Ic8fec30a829ca828bd7fdef18e65fa2cb59f73c2
2017-11-16 07:35:36 -06:00
Samuel Matzek
3d5b0bd84e Do not configure kvm virt_type in devstack
Disable the configuration of the kvm virt_type in devstack
as some of the nodes in infra are exhibiting a bug [1] and
failing the gate.

[1] https://bugs.launchpad.net/ubuntu/+source/linux-lts-xenial/+bug/1682077

Change-Id: I4a59914cd14a9b88bad91adb09fd4235cb923907
2017-10-27 14:57:39 -05:00
Samuel Matzek
a3514d8420 Enable longer Keystone token life
The devstack plugin sets a 3 hour Keystone token life
but Keystone is already running when this configuration change
is called so Keystone still runs with the default for the tests.

Add a restart of Keystone to enable the longer life.

Change-Id: Ie340b1c0b56652fc9ca4c0981468363c1be9fb25
2017-10-23 10:10:29 -05:00
Samuel Matzek
d7b773d2b0 Enable integration tests
Re-enable the integration tests.

Integration tests were temporarily disabled under
9ec134996a1162de0d74ef915dc138bbacbcfdf1 to avoid the
circular dependency with python-troveclient and allow
the merging of the python-troveclient changes necessary
to complete the fixing of the gates.

This also increases the TROVE_AGENT_CALL_HIGH_TIMEOUT to
help the upgrade test pass. The upgrade test has an agent call
that takes longer than the current timeout when running in
the gate on Nova compute with virt_type set as qemu.

Change-Id: I8459cd64cdf6107e537f4e7c793c3626fa4bf9f9
2017-10-19 06:23:16 -05:00
Samuel Matzek
9ec134996a Fix gate issues
Issue 1:
The os-testr 1.0.0 release had a couple of required config changes due
to it's internal usage of stestr.

This change to stestr changed the way tests were discovered by
os-testr and as a result the unit test run was picking up tempest
tests.

A regex is added to the py3base environment call of ostestr because
the use of --serial and --blacklist-file together is broken in stestr
and adding the regex parameter allows the blacklist-file to be
processed. The stestr issue is documented here [1].

Issue 2:

Cache dirs for PKI tokens have been removed for all services in
devstack under I5680376e70e74882e9fdb87ee1b95d5f40570ad7.

We must also remove the use here to pass the right parameters to
configure_auth_token_middleware.

Issue 3:
Keystone V2 APIs have been removed.  When creating Nova and Glance
clients, the test code was either hard coding v2 Keystone or not
providing enough information for the V3 auth.

Issue 4:
Oslo context has deprecated parameters such as 'tenant', has removed
them from its constructor and is using a rename decorator to handle
them. As such, the code and test case to check for unrecognized
parameters to TroveContext and Context is erroneously removing the
tenant parameter.  Oslo context has also changed the from_dict method
since the original code to remove parameters was introduced into
Trove. The new method signature and code should already provide most
or all of the protections against incompatibility the original code
was attempting to provide. The fix for this issue is to change
TroveContext's from_dict method to use the kwargs to handle its own
__init__ parameters and be more in line with what Nova is doing in
its RequestContext subclass.

Issue 5:
Jobs run as jenkins on Zuul v2 but run as user zuul on Zuul v3.

Issue 6:
Ignore one case of pylint E1101 in the Ceilometer notification
code base.

[1] https://github.com/mtreinish/stestr/issues/103

Change-Id: Ic55187b0d73d4c572d7f8332882b4f455a6177c8
2017-10-13 09:37:48 -05:00
Matt Riedemann
0fb67d459b Fix AttributeError in api example snippets tests
Change I3f020b6bcb1b9bf6d18a3b4f738c13cccd1bbff8 in
python-troveclient 2.11.0 changed the
troveclient.compat.client._logger variable to be a LOG
variable.

I have no idea how this hasn't been breaking the Trove
API examples CI job since python-troveclient 2.11.0 was
released. Maybe it has an no one has noticed or cared to
fix it.

Anyway, this adds hasattr checking in the test code to
set the log level on the correct variable based on which
version of troveclient is being used.

Also - no idea why setting the log level in the client
for these API tests is even necessary, but this dates back
to a change in 2014 so who knows. Not me.

--

This also fixes bug 1708171 by making nova run in
singleconductor mode so the affinity/anti-affinity
scheduling tests work. Trove CI is blocked by both
changes so they have to go together.

Change-Id: Iaf00fc55336a8049c8303b8fa2849df2366115e6
Closes-Bug: #1708190
Closes-Bug: #1708171
2017-08-02 14:02:07 -04:00
Amrith Kumar
20d51467c7 enable trove-api behind mod-wsgi
This change enables behind mod-wsgi as part of the community pike goal
goal-deploy-api-in-wsgi.

The change includes:

    - the wsgi script files to run trove api under apache
    - updates to the devstack plugin
    - a basic deploy doc which explains this change

Change-Id: Icdd39b47a1be426e87a5d09f9e9d567af1974a9c
Depends-On: I3d6f6649430ee40879de15fee0b215dc32e8b666
Closes-Bug: #1681478
2017-04-25 06:54:29 -04:00
Amrith Kumar
191e3036e1 fix-gate: change trove auth URL's to reflect new URL settings
Trove's code was setup to use :5000 and :35357 for keystone's auth end
points. Change that to reflect the new settings that are /identity/
and /identity_admin/. See also [1]

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

Change-Id: I3d6f6649430ee40879de15fee0b215dc32e8b666
Related: I46294fb24e3c23fa19fcfd7d6c9ee8a932354702
2017-04-23 00:17:13 +00:00
Amrith Kumar
c84f5cce14 Improve Gate: address multiple issues relative to timing
This commit merges two commits, 447750[1] and 448630[2] in the fond
hope that this will improve the odds of its being able to merge.

The log operation test assumes that the log will be Ready but in some
cases, Partial is also a valid result. Add that into the list of
allowed results.

In addition, this change aims to support cases where test suites last
much more than 1 hour and where a token can expire unexpectedly mid
operation. This is by no means a 'fix' for the bug here, just a way to
get the gate to be more stable.

[1] https://review.openstack.org/447750
[2] https://review.openstack.org/448630

Change-Id: Ib888dd55f04952139508a7cb0fee60e192e1b77c
Closes-Bug: 1674520
Partial-Fix: 1674510
2017-03-23 04:10:06 -04:00
Amrith Kumar
966b777e78 formalizing configure_nova_kvm
The earlier hack has proved to be quite good, and has not produced
many problems. Messages echoed to the summary log are not stashed in
logstash, moving to a single message in the log instead. Changed the
function name to a more formal name (configure_nova_kvm) instead of
tweak_nova.

Change-Id: I85364c6530058e964a8eba7fb515d7deadfd5d72
2016-12-20 11:29:07 -05:00
Amrith Kumar
47971156f3 Tweak trove devstack plugin
Tweak the trove devstack plugin to force KVM if possible. This change
is semi-experimental. I would like to see how it performs in the gate,
it seems to be fine on my local machine. It takes some precautions to
only force kvm if it is possible.

In speaking with infra, there are also some known stability issues
with kvm and part of the experiment here is to see what those are. The
other part is to quantify the improvement that it brings to the trove
gate.

Change-Id: I209d3202b4f6414cd3430c11f2ccdb8d5b541d94
2016-12-17 12:13:31 -05:00
Petr Malik
21250cf20c Add support for Oslo Policies to Trove
The Oslo Policy library provides support for RBAC policy
enforcement across all OpenStack services.

Update the devstack plugin to copy the default policy file
over to /etc/trove in the gate environments.

Note: Not adding a rule for 'reset-password' instance
action as that API was discontinued years ago
and is now just waiting for removal (Bug: 1645866).

DocImpact
Co-Authored-By: Ali Adil <aadil@tesora.com>

Change-Id: Ic443a4c663301840406cad537159eab7b0b5ed1c
Implements: blueprint trove-policy
2016-12-06 21:51:21 +00:00
Peter Stachowski
d54cd03199 (fix troveclient gate) Use alt-demo network
This change uses the alt-demo network instead of sharing
the private network from the demo tenant.  This should
fix the tempest tests on python-troveclient complaining
about this and also brings us one step closer to using
neutron entirely.

Tested with the demo tenant as well and it still
puts on a network without using the --nic parameter, the
only drawback is that the ip doesn't appear on the trove
show command.

The scenario and api tests were modified to always pass
in the nic parameter (as it probably should have been done
from the beginning anyways).

Change-Id: I9f3cbae3490e9995ba5f835fc2304442b83464e4
Closes-Bug: 1647001
2016-12-03 01:12:11 +00:00
Peter Stachowski
c666032b09 Create net/subnet for alt_demo tenant
Now that devstack uses Neutron by default (and so does the gate)
we need to create a private network and subnet in the alt_demo
tenant for the int-tests to work.
(see https://review.openstack.org/#/c/355492 )
Note that we will not use this network to start as some issues
still need to be sorted out.

The tcp_ports configuration was also moved to facilitate both
network styles.

The 'PUBLIC_INTERFACE=eth0' line was also moved to be in just
nova networking as it is not necessary for Neutron (and caused
the network to become unstable).  This should allow it to
continue working for backwards compatibility if required.

A number of changes to code and/or tests were also required.
Since these are specifically tied to the switch to neutron
(as they are equally valid for nova-net) they have been
made separately and referenced below in the 'dependencies' list.
This should also facilitate easier reviews and make it
possible to backport any of the fixes if required.

The cluster tests for PXC and Redis were turned off until the
networking issues with these two datastores can be sorted out.

Merged dependencies: I136141b3db78b7a0a1804bb5e3d4ca5cf4bc3bb3
                     I47cbe9e899cb0767c377d184f123e38eda5b6a05
                     I2ede074eb9bdf26420750f19f3aa4b8d057c5d7d
                     I6aff776680c9c0632d8965c3ed70ed26db0a63f2
                     I54edc4acac09ca2278f525c08ad0d87576f0549e
                     Iab530fe503336c83e9b948c2c008d371a8030a1e
                     I6464c0031ba5b504ff103d8f62093d252deb87bb

We need to have the new variable IPV4_ADDRS_SAFE_TO_USE defined:
Depends-On: Ic6720677a4a496d246a8f9be5ede1a53821f56dc

Change-Id: I5c1714b7839b2736c50f2daa2f4506c4006815a1
Closes-Bug: #1613889
2016-11-29 09:52:59 -05:00
himani
f52220939b Removed check for KEYSTONE_CATALOG_BACKEND from trove plugin
Devstack has removed KEYSTONE_CATALOG_BACKEND from it's
repo: https://review.openstack.org/#/c/391380

Due to above change gate tests are failing, we should
remove it from trove plugin as well. Refer below for
it's deprecation and removal:-
http://lists.openstack.org/pipermail/openstack-dev/2016-February/086272.html

Closes-Bug: #1644085
Change-Id: I1c2024f629375a03bcb40fb9ee98c853ed52d53b
2016-11-23 11:54:21 +05:30
Doug Shelley
ee4edd42a2 Make parameter consistent in devstack plugin
The control_exchange parameter was being set to "trove" in only
2 of the 4 conf files. Add the setting to the other two.

Change-Id: I7706c495b95dc043dcc84b484795412cd2e3c19b
Closes-bug: 1627170
2016-09-23 18:01:34 -04:00
Shaik Apsar
77ef95cfd5 Fix for tcp_ports configuration in devstack.
Change-Id: I0e60b8a5441ee1787749d94850f0b3d80065e285
Closes-Bug: #1609084
2016-08-02 14:51:02 -04:00
Masaki Matsushita
f091f76b92 Add port 22 to tcp_ports in devstack
Currently, devstack/plugin.sh adds port 22 to mysql's tcp_ports in
trove-taskmanager.conf.
This commit adds port 22 to other DB's tcp_ports.
This helps users who use devstack for development purpose.

Change-Id: I3c7c0b050c2983c9b2cb2c4b7f8f08d9a8b42f9c
2016-07-22 15:27:51 +09:00
Jenkins
091c255b67 Merge "Have Trove plugin install dashboard" 2016-06-25 01:00:10 +00:00
Amrith Kumar
9aa8ff6960 Move the rabbit/rpc options to its own section
Using the DEFAULT section for rabbit configuration is deprecated, so
all rabbit related option should be moved to the oslo_messaging_rabbit
section. The example agent config still respects the
TROVE_HOST_GATEWAY option.

This change has to depend on a change in redstack that otherwise
overwrites the hard work we do here :)

Change-Id: Ic169efdb2eb453abb6c4401a082586715a84a038
Depends-On: Iec072877e9174e136b4f0c1c806d7f9b377a7f2e
2016-06-21 10:44:25 -04:00
Peter Stachowski
bd76eda2a3 Have Trove plugin install dashboard
At present if the Trove plugin is enabled and Horizon is enabled,
the Trove dashboard still needs to be enabled (which is currently
done by redstack). This should be handled by the Trove plugin
itself.

With this fix, if Trove and Horizon are installed the dashboard
will be automatically set up.

Some variable names were modified slightly as well to bring
them in line with the rest.

The cleanup code was also moved to the 'stop' section, which is
where it probably belonged right from the beginning.

Depends-On: I71cf27a57e8d2cd141928f26ac01bd5ca14c723f
Change-Id: I6586801bff4282e3bbf11e45e4f171fffcab285e
Partial-Bug: #1593806
2016-06-20 15:52:23 +00:00
Jenkins
1226118a02 Merge "Increase 'state_change_wait_time' in devstack" 2016-05-20 23:12:05 +00:00