Can not send message through a broker because of import error.

Bug #1371070 reported by Ajaya Agrawal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MagnetoDB
Fix Released
Medium
Illia Khudoshyn

Bug Description

stack-trace
---------------
2014-09-18 16:14:55.634 11071 ERROR magnetodb.openstack.common.notifier.api [-] Failed to load notifier magnetodb.common.notifier.rpc_notifier. These notifications will not be sent.
Traceback (most recent call last):
  File "/home/aj/stack/magnetodb/magnetodb/openstack/common/notifier/api.py", line 161, in _get_drivers
    driver = importutils.import_module(notification_driver)
  File "/home/aj/stack/magnetodb/magnetodb/openstack/common/importutils.py", line 57, in import_module
    __import__(import_str)
ImportError: No module named notifier.rpc_notifier

Relevant portions in etc/magnetodb/magneto-api.conf
--------------------------------------------------------------------------
notification_driver = magnetodb.common.notifier.rpc_notifier
rpc_backend = magnetodb.openstack.common.rpc.impl_kombu

Changed in magnetodb:
milestone: none → kilo-1
importance: Undecided → Medium
Revision history for this message
Illia Khudoshyn (ikhudoshyn) wrote :

notification_driver should be one of no-op, log, rabbit
rpc_backend is one of rabbit., ...
docs should be updated

Changed in magnetodb:
assignee: nobody → Illia Khudoshyn (ikhudoshyn)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to magnetodb (master)

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

Changed in magnetodb:
status: New → In Progress
tags: added: documentation
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to magnetodb (master)

Reviewed: https://review.openstack.org/129949
Committed: https://git.openstack.org/cgit/stackforge/magnetodb/commit/?id=194c2764d2b0b1162c4e1bd0e0a055ddc6842922
Submitter: Jenkins
Branch: master

commit 194c2764d2b0b1162c4e1bd0e0a055ddc6842922
Author: Illia Khudoshyn <email address hidden>
Date: Tue Oct 21 18:37:48 2014 +0300

    Documentation on RPC configuration updated

    RPC driver should be one of 'rabbit', 'zmq', 'qpid'

    Change-Id: I314a3b2b67a2e1d73bd009f318414424a0d9af02
    Closes-bug: 1371070

Changed in magnetodb:
status: In Progress → Fix Committed
Changed in magnetodb:
status: Fix Committed → Fix Released
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.