Move the "notify_on_state_change" into group “notifications"

Option "notify_on_state_change" from group "DEFAULT" is deprecated. Use
option "notify_on_state_change" from group “notifications".

refer to
https://docs.openstack.org/ocata/config-reference/compute/config-options.html

Change-Id: I18e80ccd5981b81bfd597b94717ed77b13c05222
Closes-Bug: #1690494
This commit is contained in:
caoyuan 2017-05-13 12:20:40 +08:00
parent e93ca5c0b6
commit f80959df39

View File

@ -49,7 +49,6 @@ my_ip = {{ api_interface_address }}
{% if enable_ceilometer | bool or enable_searchlight | bool or enable_designate | bool %}
instance_usage_audit = True
instance_usage_audit_period = hour
notify_on_state_change = vm_and_task_state
{% if enable_watcher | bool %}
compute_monitors=nova.compute.monitors.cpu.virt_driver
{% endif %}
@ -241,3 +240,8 @@ project_name = service
project_domain_name = default
os_region_name = {{ openstack_region_name }}
os_interface = internal
[notifications]
{% if enable_ceilometer | bool or enable_searchlight | bool or enable_designate | bool %}
notify_on_state_change = vm_and_task_state
{% endif %}