File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,11 +59,6 @@ NOVA_API_DB=${NOVA_API_DB:-nova_api}
5959
6060NOVA_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-
6762if is_suse; then
6863 NOVA_WSGI_DIR=${NOVA_WSGI_DIR:-/ srv/ www/ htdocs/ nova}
6964else
@@ -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
You can’t perform that action at this time.
0 commit comments