In the conversion away from add_nova_opt the EXTRA_OPTS handling
inadvertently replaced all '=' chars in the value rather than
just the first. Additional '=' is legal for an option value.
FWIW here is the setting that tripped it:
EXTRA_OPTS=default_log_levels=sqlalchemy=WARN,boto=WARN,eventlet.wsgi.server=WARN
Change-Id: I2deb139171250eb0ef5028bb924569cec31e1a4e
| ... | ... |
@@ -432,8 +432,8 @@ function create_nova_conf() {
|
| 432 | 432 |
# Define extra nova conf flags by defining the array ``EXTRA_OPTS``. |
| 433 | 433 |
# For Example: ``EXTRA_OPTS=(foo=true bar=2)`` |
| 434 | 434 |
for I in "${EXTRA_OPTS[@]}"; do
|
| 435 |
- # Attempt to convert flags to options |
|
| 436 |
- iniset $NOVA_CONF DEFAULT ${I//=/ }
|
|
| 435 |
+ # Replace the first '=' with ' ' for iniset syntax |
|
| 436 |
+ iniset $NOVA_CONF DEFAULT ${I/=/ }
|
|
| 437 | 437 |
done |
| 438 | 438 |
} |
| 439 | 439 |
|