According to the comments in stack.sh the configuration parameter
Q_SRV_EXTRA_DEFAULT_OPTS should be removed during the Juno cycle.
Change-Id: I2a00c924cd51dab00b56cdab1e48e32ffa007de4
| ... | ... |
@@ -814,14 +814,6 @@ function _configure_neutron_service {
|
| 814 | 814 |
iniset $NEUTRON_CONF DEFAULT auth_strategy $Q_AUTH_STRATEGY |
| 815 | 815 |
_neutron_setup_keystone $NEUTRON_CONF keystone_authtoken |
| 816 | 816 |
|
| 817 |
- # Define extra "DEFAULT" configuration options when q-svc is configured by |
|
| 818 |
- # defining the array ``Q_SRV_EXTRA_DEFAULT_OPTS``. |
|
| 819 |
- # For Example: ``Q_SRV_EXTRA_DEFAULT_OPTS=(foo=true bar=2)`` |
|
| 820 |
- for I in "${Q_SRV_EXTRA_DEFAULT_OPTS[@]}"; do
|
|
| 821 |
- # Replace the first '=' with ' ' for iniset syntax |
|
| 822 |
- iniset $NEUTRON_CONF DEFAULT ${I/=/ }
|
|
| 823 |
- done |
|
| 824 |
- |
|
| 825 | 817 |
# Configuration for neutron notifations to nova. |
| 826 | 818 |
iniset $NEUTRON_CONF DEFAULT notify_nova_on_port_status_changes $Q_NOTIFY_NOVA_PORT_STATUS_CHANGES |
| 827 | 819 |
iniset $NEUTRON_CONF DEFAULT notify_nova_on_port_data_changes $Q_NOTIFY_NOVA_PORT_DATA_CHANGES |
| ... | ... |
@@ -1490,23 +1490,6 @@ if [[ -n "$Q_DHCP_EXTRA_DEFAULT_OPTS" ]]; then |
| 1490 | 1490 |
done |
| 1491 | 1491 |
fi |
| 1492 | 1492 |
|
| 1493 |
-# TODO(dtroyer): Remove Q_SRV_EXTRA_DEFAULT_OPTS after stable/icehouse branch is cut |
|
| 1494 |
-if [[ -n "$Q_SRV_EXTRA_DEFAULT_OPTS" ]]; then |
|
| 1495 |
- echo "" |
|
| 1496 |
- echo_summary "WARNING: Q_SRV_EXTRA_DEFAULT_OPTS is used" |
|
| 1497 |
- echo "You are using Q_SRV_EXTRA_DEFAULT_OPTS to pass configuration into $NEUTRON_CONF." |
|
| 1498 |
- echo "Please convert that configuration in localrc to a $NEUTRON_CONF section in local.conf:" |
|
| 1499 |
- echo "Q_SRV_EXTRA_DEFAULT_OPTS will be removed early in the Juno development cycle" |
|
| 1500 |
- echo " |
|
| 1501 |
-[[post-config|\$NEUTRON_CONF]] |
|
| 1502 |
-[DEFAULT] |
|
| 1503 |
-" |
|
| 1504 |
- for I in "${Q_SRV_EXTRA_DEFAULT_OPTS[@]}"; do
|
|
| 1505 |
- # Replace the first '=' with ' ' for iniset syntax |
|
| 1506 |
- echo ${I}
|
|
| 1507 |
- done |
|
| 1508 |
-fi |
|
| 1509 |
- |
|
| 1510 | 1493 |
# TODO(dtroyer): Remove CINDER_MULTI_LVM_BACKEND after stable/juno branch is cut |
| 1511 | 1494 |
if [[ "$CINDER_MULTI_LVM_BACKEND" = "True" ]]; then |
| 1512 | 1495 |
echo "" |