Browse code

Merge "Set Nova auth_proto regardless of tls-proxy."

Jenkins authored on 2013/11/05 18:36:08
Showing 1 changed files
... ...
@@ -226,9 +226,7 @@ function configure_nova() {
226 226
         # Comment out the keystone configs in Nova's api-paste.ini.
227 227
         # We are using nova.conf to configure this instead.
228 228
         inicomment $NOVA_API_PASTE_INI filter:authtoken auth_host
229
-        if is_service_enabled tls-proxy; then
230
-            inicomment $NOVA_API_PASTE_INI filter:authtoken auth_protocol
231
-        fi
229
+        inicomment $NOVA_API_PASTE_INI filter:authtoken auth_protocol
232 230
         inicomment $NOVA_API_PASTE_INI filter:authtoken admin_tenant_name
233 231
         inicomment $NOVA_API_PASTE_INI filter:authtoken admin_user
234 232
         inicomment $NOVA_API_PASTE_INI filter:authtoken admin_password
... ...
@@ -402,9 +400,7 @@ function create_nova_conf() {
402 402
         # Add keystone authtoken configuration
403 403
 
404 404
         iniset $NOVA_CONF keystone_authtoken auth_host $KEYSTONE_AUTH_HOST
405
-        if is_service_enabled tls-proxy; then
406
-            iniset $NOVA_CONF keystone_authtoken auth_protocol $KEYSTONE_AUTH_PROTOCOL
407
-        fi
405
+        iniset $NOVA_CONF keystone_authtoken auth_protocol $KEYSTONE_AUTH_PROTOCOL
408 406
         iniset $NOVA_CONF keystone_authtoken admin_tenant_name $SERVICE_TENANT_NAME
409 407
         iniset $NOVA_CONF keystone_authtoken admin_user nova
410 408
         iniset $NOVA_CONF keystone_authtoken admin_password $SERVICE_PASSWORD