summaryrefslogtreecommitdiff
path: root/devstack
diff options
context:
space:
mode:
authorLingxian Kong <anlin.kong@gmail.com>2019-09-05 23:21:08 +1200
committerLingxian Kong <anlin.kong@gmail.com>2019-09-11 11:28:00 +1200
commitc33fa6706678131e7625a605e2f1dd3a2b0cd362 (patch)
tree9e9e1749d9d476c3b9f9f5f656ca45e79b0e4f24 /devstack
parent3c09e6178a20b99b0c54346c8661a1a3f01cc4b6 (diff)
downloadtrove-c33fa6706678131e7625a605e2f1dd3a2b0cd362.tar.gz
Support to create public trove instance
- The users need to specify the network to create Trove instance, but trove-taskmanager will create port in that network for Nova instance creation. Using port gives Trove more capabilities to define how the database service is exposed. - Deprecate ICMP protocol for the instance. - Restrict 'nics' parameter for creating instance. - Add 'access' parameter for creating instance. - Add 'public_network_id' option in order to create floating IP for the instance. - Do not create records for security groups, but Trove can still delete existing instances for backward compatibility. - Delete unreasonable Host, Account, Storage API. Story: 2006500 Task: 36468 Task: 36466 Change-Id: I80827e1ad5e6b130cbf94c2bb7a909c44d5cf1e5
Diffstat (limited to 'devstack')
-rw-r--r--devstack/plugin.sh30
1 files changed, 15 insertions, 15 deletions
diff --git a/devstack/plugin.sh b/devstack/plugin.sh
index 9830c433..d99c9a7f 100644
--- a/devstack/plugin.sh
+++ b/devstack/plugin.sh
@@ -240,18 +240,18 @@ function configure_trove {
iniset $TROVE_CONF DEFAULT remote_neutron_client trove.common.single_tenant_remote.neutron_client_trove_admin
iniset $TROVE_CONF DEFAULT default_datastore $TROVE_DATASTORE_TYPE
- iniset $TROVE_CONF cassandra tcp_ports 22,7000,7001,7199,9042,9160
- iniset $TROVE_CONF couchbase tcp_ports 22,8091,8092,4369,11209-11211,21100-21199
- iniset $TROVE_CONF couchdb tcp_ports 22,5984
- iniset $TROVE_CONF db2 tcp_ports 22,50000
- iniset $TROVE_CONF mariadb tcp_ports 22,3306,4444,4567,4568
- iniset $TROVE_CONF mongodb tcp_ports 22,2500,27017,27019
- iniset $TROVE_CONF mysql tcp_ports 22,3306
- iniset $TROVE_CONF percona tcp_ports 22,3306
- iniset $TROVE_CONF postgresql tcp_ports 22,5432
- iniset $TROVE_CONF pxc tcp_ports 22,3306,4444,4567,4568
- iniset $TROVE_CONF redis tcp_ports 22,6379,16379
- iniset $TROVE_CONF vertica tcp_ports 22,5433,5434,5444,5450,4803
+ iniset $TROVE_CONF cassandra tcp_ports 7000,7001,7199,9042,9160
+ iniset $TROVE_CONF couchbase tcp_ports 8091,8092,4369,11209-11211,21100-21199
+ iniset $TROVE_CONF couchdb tcp_ports 5984
+ iniset $TROVE_CONF db2 tcp_ports 50000
+ iniset $TROVE_CONF mariadb tcp_ports 3306,4444,4567,4568
+ iniset $TROVE_CONF mongodb tcp_ports 2500,27017,27019
+ iniset $TROVE_CONF mysql tcp_ports 3306
+ iniset $TROVE_CONF percona tcp_ports 3306
+ iniset $TROVE_CONF postgresql tcp_ports 5432
+ iniset $TROVE_CONF pxc tcp_ports 3306,4444,4567,4568
+ iniset $TROVE_CONF redis tcp_ports 6379,16379
+ iniset $TROVE_CONF vertica tcp_ports 5433,5434,5444,5450,4803
# configure apache related files
if [[ "${TROVE_USE_MOD_WSGI}" == "TRUE" ]]; then
@@ -457,10 +457,10 @@ function start_trove {
enable_apache_site trove-api
restart_apache_server
else
- run_process tr-api "$TROVE_BIN_DIR/trove-api --config-file=$TROVE_CONF --debug"
+ run_process tr-api "$TROVE_BIN_DIR/trove-api --config-file=$TROVE_CONF"
fi
- run_process tr-tmgr "$TROVE_BIN_DIR/trove-taskmanager --config-file=$TROVE_CONF --debug"
- run_process tr-cond "$TROVE_BIN_DIR/trove-conductor --config-file=$TROVE_CONF --debug"
+ run_process tr-tmgr "$TROVE_BIN_DIR/trove-taskmanager --config-file=$TROVE_CONF"
+ run_process tr-cond "$TROVE_BIN_DIR/trove-conductor --config-file=$TROVE_CONF"
}
# stop_trove() - Stop running processes