Use messaging notifications transport instead of default

Bug #1620545 reported by Kirill Bespalov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
Wishlist
Kirill Bespalov

Bug Description

The usage of oslo_messaging.get_transport is not meant for
notifications.

And oslo_messaging.get_notification_transport is
favored for those means if we want to use different drivers
for RPC and notifications (e.g. rabbit and kafka).

Other projects already do it in the master:

1) ironic https://review.openstack.org/#/c/322639/
2) cinder https://review.openstack.org/#/c/301182/
3) heat https://review.openstack.org/#/c/305696/
4) keystone https://review.openstack.org/#/c/301193/
5) glance https://review.openstack.org/#/c/300313/

and in the Mitaka:

1) nova https://review.openstack.org/#/c/266960/
2) neutron https://review.openstack.org/#/c/268335/

Changed in murano:
assignee: nobody → Kirill Bespalov (k-besplv)
Changed in murano:
status: New → In Progress
Changed in murano:
importance: Undecided → Wishlist
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano (master)

Reviewed: https://review.openstack.org/365680
Committed: https://git.openstack.org/cgit/openstack/murano/commit/?id=c188b5cd121d9637c054d2ee593356dceb6fd58d
Submitter: Jenkins
Branch: master

commit c188b5cd121d9637c054d2ee593356dceb6fd58d
Author: kbespalov <email address hidden>
Date: Mon Sep 5 17:18:15 2016 +0300

    [messaging] Using get_notification_transport()

    We should separate transports for the RPC and Notifiers
    in order to have a possibility of using different messaging
    configurations, like rabbit for RPC and kafka for notifications.

    e.g.

    [DEFAULT]
    rpc_backend = rabbit

    [oslo_messaging_rabbit]
    rabbit_hosts = ...
    rabbit_password = ...
    rabbit_userid = ...

    [oslo_messaging_notifications]
    driver = ...
    transport_url = kafka://...
    topics = ...

    Change-Id: I965fdb4bb1883d05c43766cf12d620d7ab038e36
    Closes-Bug: #1620545

Changed in murano:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano (master)

Fix proposed to branch: master
Review: https://review.openstack.org/372985

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano (master)

Reviewed: https://review.openstack.org/372985
Committed: https://git.openstack.org/cgit/openstack/murano/commit/?id=77416f25e033fd7acbb0349d1cd548838203cdaf
Submitter: Jenkins
Branch: master

commit 77416f25e033fd7acbb0349d1cd548838203cdaf
Author: LiuNanke <email address hidden>
Date: Tue Sep 20 15:31:48 2016 +0800

    [messaging] Using get_notification_transport()

    We should separate transports for the RPC and Notifiers
    in order to have a possibility of using different messaging
    configurations, like rabbit for RPC and kafka for notifications.

    e.g.

    [DEFAULT]
    rpc_backend = rabbit

    [oslo_messaging_rabbit]
    rabbit_hosts = ...
    rabbit_password = ...
    rabbit_userid = ...

    [oslo_messaging_notifications]
    driver = ...
    transport_url = kafka://...
    topics = ...

    Change-Id: I54b7681b059991eafe5899b3d0cffdcd5c80fb39
    Closes-Bug: #1620545

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/murano 3.1.0

This issue was fixed in the openstack/murano 3.1.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.