Added to devstack plugin passwords for services

Drivers use neutron, and neutron auth requires password,
currently devstack does not set password by default.
Same to nova and cinder.

Change-Id: I5637b938ecbf6813111213e7e5908f456b531c7d
This commit is contained in:
vponomaryov 2014-02-18 11:04:30 +02:00
parent 21980f84f2
commit e9d14b4aa1
1 changed files with 4 additions and 0 deletions

View File

@ -189,6 +189,10 @@ function configure_manila() {
iniset $MANILA_CONF DEFAULT share_lvm_helpers CIFS=$CIFS_HELPER,NFS=manila.share.drivers.lvm.NFSHelper
iniset $MANILA_CONF DEFAULT path_to_key /home/stack/.ssh/id_rsa.pub
iniset $MANILA_CONF DEFAULT nova_admin_password $SERVICE_PASSWORD
iniset $MANILA_CONF DEFAULT cinder_admin_password $SERVICE_PASSWORD
iniset $MANILA_CONF DEFAULT neutron_admin_password $SERVICE_PASSWORD
if is_service_enabled tls-proxy; then
# Set the service port for a proxy to take the original
iniset $MANILA_CONF DEFAULT osapi_share_listen_port $MANILA_SERVICE_PORT_INT