From 4a67885629c99fcbec1779906699a0df231450b4 Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Thu, 24 Jul 2014 12:54:15 +0200 Subject: [PATCH] Remove configuration parameter EXTRA_OPTS According to the comments in stack.sh the configuration parameter EXTRA_OPTS should be removed during the Juno cycle. Change-Id: Ic71d38d6f9b8a8949e45ce3321d593ee2f8feb40 --- lib/nova | 12 ------------ stack.sh | 18 ------------------ 2 files changed, 30 deletions(-) diff --git a/lib/nova b/lib/nova index 5d879db7fc..8da8b69749 100644 --- a/lib/nova +++ b/lib/nova @@ -480,18 +480,6 @@ function create_nova_conf { iniset $NOVA_CONF DEFAULT notification_driver "messaging" fi - # Provide some transition from ``EXTRA_FLAGS`` to ``EXTRA_OPTS`` - if [[ -z "$EXTRA_OPTS" && -n "$EXTRA_FLAGS" ]]; then - EXTRA_OPTS=$EXTRA_FLAGS - fi - - # Define extra nova conf flags by defining the array ``EXTRA_OPTS``. - # For Example: ``EXTRA_OPTS=(foo=true bar=2)`` - for I in "${EXTRA_OPTS[@]}"; do - # Replace the first '=' with ' ' for iniset syntax - iniset $NOVA_CONF DEFAULT ${I/=/ } - done - # All nova-compute workers need to know the vnc configuration options # These settings don't hurt anything if n-xvnc and n-novnc are disabled if is_service_enabled n-cpu; then diff --git a/stack.sh b/stack.sh index 9c02f27d52..b5be018ad1 100755 --- a/stack.sh +++ b/stack.sh @@ -1395,24 +1395,6 @@ if [[ -n "$DEPRECATED_TEXT" ]]; then echo_summary "WARNING: $DEPRECATED_TEXT" fi -# TODO(dtroyer): Remove EXTRA_OPTS after stable/icehouse branch is cut -# Specific warning for deprecated configs -if [[ -n "$EXTRA_OPTS" ]]; then - echo "" - echo_summary "WARNING: EXTRA_OPTS is used" - echo "You are using EXTRA_OPTS to pass configuration into nova.conf." - echo "Please convert that configuration in localrc to a nova.conf section in local.conf:" - echo "EXTRA_OPTS will be removed early in the Juno development cycle" - echo " -[[post-config|\$NOVA_CONF]] -[DEFAULT] -" - for I in "${EXTRA_OPTS[@]}"; do - # Replace the first '=' with ' ' for iniset syntax - echo ${I} - done -fi - # TODO(dtroyer): Remove Q_AGENT_EXTRA_AGENT_OPTS after stable/juno branch is cut if [[ -n "$Q_AGENT_EXTRA_AGENT_OPTS" ]]; then echo ""