Skip to content

Commit f95fe33

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Cleanup nova-cinder nova.conf section"
2 parents e419746 + a7bde1f commit f95fe33

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

lib/nova

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -451,12 +451,11 @@ function create_nova_conf {
451451
fi
452452

453453
if is_service_enabled cinder; then
454-
iniset $NOVA_CONF DEFAULT volume_api_class "nova.volume.cinder.API"
455454
if is_ssl_enabled_service "cinder" || is_service_enabled tls-proxy; then
456455
CINDER_SERVICE_HOST=${CINDER_SERVICE_HOST:-$SERVICE_HOST}
457456
CINDER_SERVICE_PORT=${CINDER_SERVICE_PORT:-8776}
458-
iniset $NOVA_CONF DEFAULT cinder_endpoint_template "https://$CINDER_SERVICE_HOST:$CINDER_SERVICE_PORT/v1/%(project_id)s"
459-
iniset $NOVA_CONF DEFAULT cinder_ca_certificates_file $SSL_BUNDLE_FILE
457+
iniset $NOVA_CONF cinder endpoint_template "https://$CINDER_SERVICE_HOST:$CINDER_SERVICE_PORT/v1/%(project_id)s"
458+
iniset $NOVA_CONF cinder ca_certificates_file $SSL_BUNDLE_FILE
460459
fi
461460
fi
462461

0 commit comments

Comments
 (0)