|
...
|
...
|
@@ -59,11 +59,6 @@ NOVA_API_DB=${NOVA_API_DB:-nova_api}
|
|
59
|
59
|
|
|
60
|
60
|
NOVA_API_PASTE_INI=${NOVA_API_PASTE_INI:-$NOVA_CONF_DIR/api-paste.ini}
|
|
61
|
61
|
|
|
62
|
|
-# NOVA_V2_LEGACY defines whether we force the Nova v2.0 enpoint onto
|
|
63
|
|
-# the Nova v2.0 legacy code base. Remove this option once the Nova
|
|
64
|
|
-# v2.0 legacy codebase is removed.
|
|
65
|
|
-NOVA_V2_LEGACY=$(trueorfalse False NOVA_V2_LEGACY)
|
|
66
|
|
-
|
|
67
|
62
|
if is_suse; then
|
|
68
|
63
|
NOVA_WSGI_DIR=${NOVA_WSGI_DIR:-/srv/www/htdocs/nova}
|
|
69
|
64
|
else
|
|
...
|
...
|
@@ -311,13 +306,6 @@ function configure_nova {
|
|
311
|
311
|
if [[ "$ENABLED_SERVICES" =~ "n-api" ]]; then
|
|
312
|
312
|
# Get the sample configuration file in place
|
|
313
|
313
|
cp $NOVA_DIR/etc/nova/api-paste.ini $NOVA_CONF_DIR
|
|
314
|
|
-
|
|
315
|
|
- # For setting up an environment where v2.0 is running on the
|
|
316
|
|
- # v2.0 legacy code base.
|
|
317
|
|
- if [[ "$NOVA_V2_LEGACY" == "True" ]]; then
|
|
318
|
|
- sed -i s@"^/v2: openstack_compute_api_v21_legacy_v2_compatible$"@"/v2: openstack_compute_api_legacy_v2"@ \
|
|
319
|
|
- "$NOVA_API_PASTE_INI"
|
|
320
|
|
- fi
|
|
321
|
314
|
fi
|
|
322
|
315
|
|
|
323
|
316
|
if is_service_enabled n-cpu; then
|