From 9e8ac9942da31e3cefa311ed2bddde4b06364154 Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Thu, 24 Jul 2014 12:37:13 +0200 Subject: [PATCH] Remove configuration parameter EXTRA_BAREMETAL_OPTS According to the comments in stack.sh the configuration parameter EXTRA_BAREMETAL_OPTS should be removed during the Juno cycle. Change-Id: I8564d16e56d1f77d3afa4af9a50fbffa3da8bfe5 --- lib/nova_plugins/hypervisor-baremetal | 6 ------ stack.sh | 17 ----------------- 2 files changed, 23 deletions(-) diff --git a/lib/nova_plugins/hypervisor-baremetal b/lib/nova_plugins/hypervisor-baremetal index 1d4d4144df..22d16a667b 100644 --- a/lib/nova_plugins/hypervisor-baremetal +++ b/lib/nova_plugins/hypervisor-baremetal @@ -58,12 +58,6 @@ function configure_nova_hypervisor { sudo cp "$FILES/dnsmasq-for-baremetal-from-nova-network.conf" "$BM_DNSMASQ_CONF" iniset $NOVA_CONF DEFAULT dnsmasq_config_file "$BM_DNSMASQ_CONF" fi - - # Define extra baremetal nova conf flags by defining the array ``EXTRA_BAREMETAL_OPTS``. - for I in "${EXTRA_BAREMETAL_OPTS[@]}"; do - # Attempt to convert flags to options - iniset $NOVA_CONF baremetal ${I/=/ } - done } # install_nova_hypervisor() - Install external components diff --git a/stack.sh b/stack.sh index cdfa3dafc3..e3f943bb2d 100755 --- a/stack.sh +++ b/stack.sh @@ -1422,23 +1422,6 @@ if [[ -n "$EXTRA_OPTS" ]]; then done fi -# TODO(dtroyer): Remove EXTRA_BAREMETAL_OPTS after stable/icehouse branch is cut -if [[ -n "$EXTRA_BAREMETAL_OPTS" ]]; then - echo "" - echo_summary "WARNING: EXTRA_BAREMETAL_OPTS is used" - echo "You are using EXTRA_BAREMETAL_OPTS to pass configuration into nova.conf." - echo "Please convert that configuration in localrc to a nova.conf section in local.conf:" - echo "EXTRA_BAREMETAL_OPTS will be removed early in the Juno development cycle" - echo " -[[post-config|\$NOVA_CONF]] -[baremetal] -" - for I in "${EXTRA_BAREMETAL_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 ""