Increase timeouts when installing Cassandra schema
This change tries to avoid devstack plugin failures like this one [1]. [1] http://logs.openstack.org/86/583586/1/gate/monasca-tempest-python-cassandra/ac3bb9b/logs/devstacklog.txt.gz#_2018-07-19_08_35_08_757 Change-Id: I5eae2d759f2bd1b81904825f2417ed03a651292b Story: 2003030 Task: 23057
This commit is contained in:
parent
73d31f2516
commit
9f2e147308
@ -609,8 +609,8 @@ function install_schema_metric_database_vertica {
|
||||
}
|
||||
|
||||
function install_schema_metric_database_cassandra {
|
||||
local CASSANDRA_CONNECT_TIMEOUT=30
|
||||
local CASSANDRA_REQUEST_TIMEOUT=60
|
||||
local CASSANDRA_CONNECT_TIMEOUT=300
|
||||
local CASSANDRA_REQUEST_TIMEOUT=300
|
||||
sudo cp -f "${MONASCA_API_DIR}"/devstack/files/cassandra/*.cql $MONASCA_SCHEMA_DIR
|
||||
/usr/bin/cqlsh ${SERVICE_HOST} -f $MONASCA_SCHEMA_DIR/monasca_schema.cql \
|
||||
--connect-timeout="${CASSANDRA_CONNECT_TIMEOUT}" \
|
||||
|
Loading…
Reference in New Issue
Block a user