From 66f5802daac1de6c6f3eb1a5578eebd47809443b Mon Sep 17 00:00:00 2001 From: Wanlong Gao Date: Sat, 16 Jan 2016 17:33:15 +0800 Subject: [PATCH] Use driver instead of deprecated notification_driver in config TrivialFix https://review.openstack.org/#/c/249508/ Change-Id: Ie2732ee116b6b4b3e0210eb1f62fc72878d8c277 --- ansible/roles/glance/templates/glance-api.conf.j2 | 4 +++- ansible/roles/glance/templates/glance-registry.conf.j2 | 4 +++- ansible/roles/heat/templates/heat.conf.j2 | 4 +++- ansible/roles/mistral/templates/mistral.conf.j2 | 4 +++- ansible/roles/murano/templates/murano.conf.j2 | 4 +++- ansible/roles/neutron/templates/neutron.conf.j2 | 4 +++- ansible/roles/nova/templates/nova.conf.j2 | 4 +++- 7 files changed, 21 insertions(+), 7 deletions(-) diff --git a/ansible/roles/glance/templates/glance-api.conf.j2 b/ansible/roles/glance/templates/glance-api.conf.j2 index cabdb3ce28..7dcff91508 100644 --- a/ansible/roles/glance/templates/glance-api.conf.j2 +++ b/ansible/roles/glance/templates/glance-api.conf.j2 @@ -4,7 +4,6 @@ debug = true bind_host = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }} bind_port = {{ glance_api_port }} -notification_driver = noop registry_host = {{ kolla_internal_address }} @@ -42,3 +41,6 @@ rbd_store_chunk_size = 8 default_store = file filesystem_store_datadir = /var/lib/glance/images/ {% endif %} + +[oslo_messaging_notifications] +driver = noop diff --git a/ansible/roles/glance/templates/glance-registry.conf.j2 b/ansible/roles/glance/templates/glance-registry.conf.j2 index 2b9aa8aa29..a49e945aaa 100644 --- a/ansible/roles/glance/templates/glance-registry.conf.j2 +++ b/ansible/roles/glance/templates/glance-registry.conf.j2 @@ -4,7 +4,6 @@ debug = true bind_host = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }} bind_port = {{ glance_registry_port }} -notification_driver = noop use_syslog = True syslog_log_facility = LOG_LOCAL0 @@ -24,3 +23,6 @@ password = {{ glance_keystone_password }} [paste_deploy] flavor = keystone + +[oslo_messaging_notifications] +driver = noop diff --git a/ansible/roles/heat/templates/heat.conf.j2 b/ansible/roles/heat/templates/heat.conf.j2 index f8ac97197c..27e0162eac 100644 --- a/ansible/roles/heat/templates/heat.conf.j2 +++ b/ansible/roles/heat/templates/heat.conf.j2 @@ -8,7 +8,6 @@ stack_domain_admin_password = {{ heat_domain_admin_password }} stack_user_domain_name = heat_user_domain rpc_backend = rabbit -notification_driver = noop deferred_auth_method = password syslog_log_facility=LOG_LOCAL0 @@ -50,3 +49,6 @@ auth_uri = http://{{ kolla_internal_address }}:{{ keystone_public_port }} [clients_keystone] auth_uri = http://{{ kolla_internal_address }}:{{ keystone_public_port }} + +[oslo_messaging_notifications] +driver = noop diff --git a/ansible/roles/mistral/templates/mistral.conf.j2 b/ansible/roles/mistral/templates/mistral.conf.j2 index 5ae787cf65..8ea16abe1d 100644 --- a/ansible/roles/mistral/templates/mistral.conf.j2 +++ b/ansible/roles/mistral/templates/mistral.conf.j2 @@ -1,7 +1,6 @@ [DEFAULT] debug = {{ openstack_logging_debug }} -notification_driver = noop use_syslog = True syslog_log_facility = LOG_LOCAL0 @@ -32,3 +31,6 @@ rabbit_userid = {{ rabbitmq_user }} rabbit_password = {{ rabbitmq_password }} rabbit_ha_queues = true rabbit_hosts = {% for host in groups['rabbitmq'] %}{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ rabbitmq_port }}{% if not loop.last %},{% endif %}{% endfor %} + +[oslo_messaging_notifications] +driver = noop diff --git a/ansible/roles/murano/templates/murano.conf.j2 b/ansible/roles/murano/templates/murano.conf.j2 index 2ceccb8fb6..3843ecad8c 100644 --- a/ansible/roles/murano/templates/murano.conf.j2 +++ b/ansible/roles/murano/templates/murano.conf.j2 @@ -1,7 +1,6 @@ [DEFAULT] debug = {{ openstack_logging_debug }} -notification_driver = noop use_syslog = True syslog_log_facility = LOG_LOCAL0 @@ -32,3 +31,6 @@ rabbit_userid = {{ rabbitmq_user }} rabbit_password = {{ rabbitmq_password }} rabbit_ha_queues = true rabbit_hosts = {% for host in groups['rabbitmq'] %}{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ rabbitmq_port }}{% if not loop.last %},{% endif %}{% endfor %} + +[oslo_messaging_notifications] +driver = noop diff --git a/ansible/roles/neutron/templates/neutron.conf.j2 b/ansible/roles/neutron/templates/neutron.conf.j2 index 2cef3597c8..fb2fdb1b5f 100644 --- a/ansible/roles/neutron/templates/neutron.conf.j2 +++ b/ansible/roles/neutron/templates/neutron.conf.j2 @@ -11,7 +11,6 @@ bind_port = {{ neutron_server_port }} #lock_path = /var/lock/neutron api_paste_config = /usr/share/neutron/api-paste.ini -notification_driver = noop {% if neutron_plugin_agent == "openvswitch" %} interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver @@ -62,3 +61,6 @@ user_domain_id = default project_name = service username = neutron password = {{ neutron_keystone_password }} + +[oslo_messaging_notifications] +driver = noop diff --git a/ansible/roles/nova/templates/nova.conf.j2 b/ansible/roles/nova/templates/nova.conf.j2 index 853eac008b..5d7a02197d 100644 --- a/ansible/roles/nova/templates/nova.conf.j2 +++ b/ansible/roles/nova/templates/nova.conf.j2 @@ -17,7 +17,6 @@ metadata_listen_port = {{ nova_metadata_port }} ec2_listen = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }} ec2_listen_port = {{ nova_api_ec2_port }} -notification_driver = noop security_group_api = neutron network_api_class = nova.network.neutronv2.api.API @@ -151,3 +150,6 @@ hw_disk_discard = unmap [upgrade_levels] compute = auto + +[oslo_messaging_notifications] +driver = noop