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:
Witold Bedyk 2018-07-19 11:15:20 +02:00
parent 73d31f2516
commit 9f2e147308

View File

@ -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}" \