Configure nova catalog info in Cinder

Cinder's defaults don't match what devstack creates.

Change-Id: I570c7da9ff5b54ce36240a9375fbbfdcffc1b906
This commit is contained in:
Eric Harney 2016-04-06 17:56:53 -04:00
parent b8aa9d32e4
commit 448e760ed3
1 changed files with 6 additions and 0 deletions

View File

@ -67,6 +67,12 @@ function configure_cinder_nfs {
${NFS_SECURE_FILE_OPERATIONS}
iniset $CINDER_CONF nfs nas_secure_file_permissions \
${NFS_SECURE_FILE_PERMISSIONS}
# Point Cinder to the Nova service correctly
# Cinder's defaults don't match what devstack sets up.
iniset $CINDER_CONF DEFAULT nova_catalog_info compute:nova:publicURL
iniset $CINDER_CONF DEFAULT nova_catalog_admin_info compute:nova:adminURL
}