From 33eade3a099b94a830dd48e7406b8ae8d035b3df Mon Sep 17 00:00:00 2001 From: Anton Studenov Date: Mon, 9 Jan 2017 16:02:24 +0300 Subject: [PATCH] [Core] Show proper error message when db is missing * Added check for db existence that asks user to perform `rally-manage db create' command. Change-Id: I02d0e2cf7969da5c874fe2bb0a2f129e76aed454 --- tests/ci/rally_gate_functions.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/ci/rally_gate_functions.sh b/tests/ci/rally_gate_functions.sh index 8d687c80..0b5c263e 100644 --- a/tests/ci/rally_gate_functions.sh +++ b/tests/ci/rally_gate_functions.sh @@ -55,10 +55,10 @@ function setUp () { set -e if [ "$NEUTRON_EXISTS" ]; then OS_QUOTA_STR="--networks -1 --subnets -1 --routers -1 --floating-ips -1 --subnetpools -1 --secgroups -1 --secgroup-rules -1 --ports -1" - openstack --os-interface admin quota set $OS_QUOTA_STR rally-test-project-1 - openstack --os-interface admin quota show rally-test-project-1 - openstack --os-interface admin quota set $OS_QUOTA_STR rally-test-project-2 - openstack --os-interface admin quota show rally-test-project-2 + openstack --debug --os-interface admin quota set $OS_QUOTA_STR rally-test-project-1 + openstack --debug --os-interface admin quota show rally-test-project-1 + openstack --debug --os-interface admin quota set $OS_QUOTA_STR rally-test-project-2 + openstack --debug --os-interface admin quota show rally-test-project-2 fi DEPLOYMENT_CONFIG_FILE=~/.rally/with-existing-users-config