Devstack scripts update

1. Do not create Murano users and endpoints if keystone is not installed.
2. Install 'python-mysqldb' package as it is required by 'murano-manage db-sync'
   This package is installed by nova, neutron, keystone. In case these
   components are not selected the package is missed.

Change-Id: If3c0bdc761a3280aee522672f4ce2776fb89e126
This commit is contained in:
Dmitry Teselkin 2014-04-15 19:15:04 +04:00
parent e91ab13ab1
commit b12fca744b
2 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1 @@
python-mysqldb

View File

@ -51,6 +51,9 @@ fi
# ------------------------------
# service murano admin
function create_murano_accounts() {
if ! is_service_enabled key; then
return
fi
SERVICE_TENANT=$(openstack project list | awk "/ $SERVICE_TENANT_NAME / { print \$2 }")
ADMIN_ROLE=$(openstack role list | awk "/ admin / { print \$2 }")