1. 'start' and 'stop' still relied on having the Trove setup support in
devstack (the lib/trove file).
2. Two instances of the Trove services are started as devstack doesn't
check if a plugin is enabled when starting the same services.
3. The trove.conf.rc file in local.conf.d stopped being added to
local.conf, as the variable name 'TROVE_CONF' now conflicts with the
actual Trove service configuration file.
4. The localrc that was sourced previously is no longer available. The
generated file '.localrc.auto' needs to be sourced instead.
These issues were fixed as noted:
1. 'stop' and 'start' now depend on a variable to find the commands
file. This variable is set to $PATH_DEVSTACK_SRC/lib/trove if it
exists, otherwise it's set to $DEST/devstack/plugin.sh If neither
exists, redstack stops with an error.
2. If $PATH_DEVSTACK_SRC/lib/trove exists, redstack disables the
devstack Trove plugin under the assumption that devstack will set up
Trove based on its files.
3. The trove.conf.rc file was renamed to trove_services.conf.rc
4. '.localrc.auto' is sourced if it exists
Reviewed: https:/ /review. openstack. org/177324 /git.openstack. org/cgit/ openstack/ trove-integrati on/commit/ ?id=0a518f5079c 49e63e8855fd415 47de8d0cd5a8c6
Committed: https:/
Submitter: Jenkins
Branch: master
commit 0a518f5079c49e6 3e8855fd41547de 8d0cd5a8c6
Author: Peter Stachowski <email address hidden>
Date: Fri Apr 24 15:48:34 2015 +0000
Fix redstack issues (stop/start,plugin use,conf)
Due to having multiple patchsets in flight at the same time /review. openstack. org/#/c/ 158540/ /review. openstack. org/#/c/ 167047/ /review. openstack. org/#/c/ 155913/ and possibly others),
(https:/
https:/
https:/
a number of things stopped working (mostly due to auto-merge issues).
1. 'start' and 'stop' still relied on having the Trove setup support in
devstack (the lib/trove file).
2. Two instances of the Trove services are started as devstack doesn't
check if a plugin is enabled when starting the same services.
3. The trove.conf.rc file in local.conf.d stopped being added to
local.conf, as the variable name 'TROVE_CONF' now conflicts with the
actual Trove service configuration file.
4. The localrc that was sourced previously is no longer available. The
generated file '.localrc.auto' needs to be sourced instead.
These issues were fixed as noted:
1. 'stop' and 'start' now depend on a variable to find the commands SRC/lib/ trove if it plugin. sh If neither SRC/lib/ trove exists, redstack disables the conf.rc
file. This variable is set to $PATH_DEVSTACK_
exists, otherwise it's set to $DEST/devstack/
exists, redstack stops with an error.
2. If $PATH_DEVSTACK_
devstack Trove plugin under the assumption that devstack will set up
Trove based on its files.
3. The trove.conf.rc file was renamed to trove_services.
4. '.localrc.auto' is sourced if it exists
Change-Id: Ic1e5a809a47b3f 00d5eaec30237e3 7b73c676aad
Closes-Bug: #1448189