Set oslo_messaging_notifications driver
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
This commit is contained in:
parent
9f24495e50
commit
14d86e841c
4
lib/nova
4
lib/nova
@ -541,7 +541,6 @@ function create_nova_conf {
|
||||
iniset $NOVA_CONF DEFAULT instance_usage_audit "True"
|
||||
iniset $NOVA_CONF DEFAULT instance_usage_audit_period "hour"
|
||||
iniset $NOVA_CONF DEFAULT notify_on_state_change "vm_and_task_state"
|
||||
iniset $NOVA_CONF oslo_messaging_notifications driver "messaging"
|
||||
fi
|
||||
|
||||
# All nova-compute workers need to know the vnc configuration options
|
||||
@ -582,6 +581,9 @@ function create_nova_conf {
|
||||
iniset $NOVA_CONF spice enabled false
|
||||
fi
|
||||
|
||||
# Set the oslo messaging driver to the typical default. This does not
|
||||
# enable notifications, but it will allow them to function when enabled.
|
||||
iniset $NOVA_CONF oslo_messaging_notifications driver "messaging"
|
||||
iniset_rpc_backend nova $NOVA_CONF
|
||||
iniset $NOVA_CONF glance api_servers "${GLANCE_SERVICE_PROTOCOL}://${GLANCE_HOSTPORT}"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user