Skip to content

Commit 8f9e545

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Remove NOVA_V2_LEGACY option"
2 parents e917b44 + 269704c commit 8f9e545

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

lib/nova

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,6 @@ NOVA_API_DB=${NOVA_API_DB:-nova_api}
5959

6060
NOVA_API_PASTE_INI=${NOVA_API_PASTE_INI:-$NOVA_CONF_DIR/api-paste.ini}
6161

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-
6762
if is_suse; then
6863
NOVA_WSGI_DIR=${NOVA_WSGI_DIR:-/srv/www/htdocs/nova}
6964
else
@@ -311,13 +306,6 @@ function configure_nova {
311306
if [[ "$ENABLED_SERVICES" =~ "n-api" ]]; then
312307
# Get the sample configuration file in place
313308
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
321309
fi
322310

323311
if is_service_enabled n-cpu; then

0 commit comments

Comments
 (0)