[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
This commit is contained in:
parent
64f875c4f6
commit
33eade3a09
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user