According to the comments in stack.sh the configuration parameter
EXTRA_OPTS should be removed during the Juno cycle.
Change-Id: Ic71d38d6f9b8a8949e45ce3321d593ee2f8feb40
| ... | ... |
@@ -480,18 +480,6 @@ function create_nova_conf {
|
| 480 | 480 |
iniset $NOVA_CONF DEFAULT notification_driver "messaging" |
| 481 | 481 |
fi |
| 482 | 482 |
|
| 483 |
- # Provide some transition from ``EXTRA_FLAGS`` to ``EXTRA_OPTS`` |
|
| 484 |
- if [[ -z "$EXTRA_OPTS" && -n "$EXTRA_FLAGS" ]]; then |
|
| 485 |
- EXTRA_OPTS=$EXTRA_FLAGS |
|
| 486 |
- fi |
|
| 487 |
- |
|
| 488 |
- # Define extra nova conf flags by defining the array ``EXTRA_OPTS``. |
|
| 489 |
- # For Example: ``EXTRA_OPTS=(foo=true bar=2)`` |
|
| 490 |
- for I in "${EXTRA_OPTS[@]}"; do
|
|
| 491 |
- # Replace the first '=' with ' ' for iniset syntax |
|
| 492 |
- iniset $NOVA_CONF DEFAULT ${I/=/ }
|
|
| 493 |
- done |
|
| 494 |
- |
|
| 495 | 483 |
# All nova-compute workers need to know the vnc configuration options |
| 496 | 484 |
# These settings don't hurt anything if n-xvnc and n-novnc are disabled |
| 497 | 485 |
if is_service_enabled n-cpu; then |
| ... | ... |
@@ -1395,24 +1395,6 @@ if [[ -n "$DEPRECATED_TEXT" ]]; then |
| 1395 | 1395 |
echo_summary "WARNING: $DEPRECATED_TEXT" |
| 1396 | 1396 |
fi |
| 1397 | 1397 |
|
| 1398 |
-# TODO(dtroyer): Remove EXTRA_OPTS after stable/icehouse branch is cut |
|
| 1399 |
-# Specific warning for deprecated configs |
|
| 1400 |
-if [[ -n "$EXTRA_OPTS" ]]; then |
|
| 1401 |
- echo "" |
|
| 1402 |
- echo_summary "WARNING: EXTRA_OPTS is used" |
|
| 1403 |
- echo "You are using EXTRA_OPTS to pass configuration into nova.conf." |
|
| 1404 |
- echo "Please convert that configuration in localrc to a nova.conf section in local.conf:" |
|
| 1405 |
- echo "EXTRA_OPTS will be removed early in the Juno development cycle" |
|
| 1406 |
- echo " |
|
| 1407 |
-[[post-config|\$NOVA_CONF]] |
|
| 1408 |
-[DEFAULT] |
|
| 1409 |
-" |
|
| 1410 |
- for I in "${EXTRA_OPTS[@]}"; do
|
|
| 1411 |
- # Replace the first '=' with ' ' for iniset syntax |
|
| 1412 |
- echo ${I}
|
|
| 1413 |
- done |
|
| 1414 |
-fi |
|
| 1415 |
- |
|
| 1416 | 1398 |
# TODO(dtroyer): Remove Q_AGENT_EXTRA_AGENT_OPTS after stable/juno branch is cut |
| 1417 | 1399 |
if [[ -n "$Q_AGENT_EXTRA_AGENT_OPTS" ]]; then |
| 1418 | 1400 |
echo "" |