This patch removes the conditional inclusion of the notification
section of the service configuration. This ensures that oslo.messaging
notifications use the correct transport for deployments that have
separate rpc and notify messaging backends. For example, if the
transport_url is not provided in the notification section of the
service configuration, the transport_url specified in the default
section will be used instead.
This patch conditionally selects the notifier driver. The noop
driver will be selected when notification publishing is disabled.
The messagingv2 driver is selected when notification publishing is
enabled.
Reviewed: https:/ /review. openstack. org/605111 /git.openstack. org/cgit/ openstack/ openstack- ansible- os_sahara/ commit/ ?id=7f595f01b10 a59d8fc9df3509a 765e8f722ee3eb
Committed: https:/
Submitter: Zuul
Branch: master
commit 7f595f01b10a59d 8fc9df3509a765e 8f722ee3eb
Author: ZhijunWei <email address hidden>
Date: Wed Sep 19 08:20:41 2018 -0400
Update messaging notification configuration
This patch removes the conditional inclusion of the notification
section of the service configuration. This ensures that oslo.messaging
notifications use the correct transport for deployments that have
separate rpc and notify messaging backends. For example, if the
transport_url is not provided in the notification section of the
service configuration, the transport_url specified in the default
section will be used instead.
This patch conditionally selects the notifier driver. The noop
driver will be selected when notification publishing is disabled.
The messagingv2 driver is selected when notification publishing is
enabled.
Change-Id: Ib68aa2669b5d70 626ed2777d5601d 8914207451d
Closes-Bug: #1794320