This config option is requied in order for nova notificaions to
function, and enabling it doesn't cause any harm (there is another
option for turning notifications on).
Change-Id: I309af6cc43af485f795c368d304ebe71fceb1a03
| ... | ... |
@@ -541,7 +541,6 @@ function create_nova_conf {
|
| 541 | 541 |
iniset $NOVA_CONF DEFAULT instance_usage_audit "True" |
| 542 | 542 |
iniset $NOVA_CONF DEFAULT instance_usage_audit_period "hour" |
| 543 | 543 |
iniset $NOVA_CONF DEFAULT notify_on_state_change "vm_and_task_state" |
| 544 |
- iniset $NOVA_CONF oslo_messaging_notifications driver "messaging" |
|
| 545 | 544 |
fi |
| 546 | 545 |
|
| 547 | 546 |
# All nova-compute workers need to know the vnc configuration options |
| ... | ... |
@@ -582,6 +581,9 @@ function create_nova_conf {
|
| 582 | 582 |
iniset $NOVA_CONF spice enabled false |
| 583 | 583 |
fi |
| 584 | 584 |
|
| 585 |
+ # Set the oslo messaging driver to the typical default. This does not |
|
| 586 |
+ # enable notifications, but it will allow them to function when enabled. |
|
| 587 |
+ iniset $NOVA_CONF oslo_messaging_notifications driver "messaging" |
|
| 585 | 588 |
iniset_rpc_backend nova $NOVA_CONF |
| 586 | 589 |
iniset $NOVA_CONF glance api_servers "${GLANCE_SERVICE_PROTOCOL}://${GLANCE_HOSTPORT}"
|
| 587 | 590 |
|