[murano-agent] python version should refer to "headers" attribute instead of "header" for message object
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Murano |
Fix Released
|
Medium
|
Ankur Rishi |
Bug Description
When the python version of the agent is deployed on a VM, I get the following error:
2014-05-02 22:25:58.873 3715 DEBUG amqp [-] Open OK! _open_ok /usr/local/
2014-05-02 22:25:58.877 3715 DEBUG amqp [-] using channel_id: 1 __init__ /usr/local/
2014-05-02 22:25:58.885 3715 DEBUG amqp [-] Channel open _open_ok /usr/local/
2014-05-02 22:25:58.889 3715 DEBUG amqp [-] using channel_id: 2 __init__ /usr/local/
2014-05-02 22:25:58.897 3715 DEBUG amqp [-] Channel open _open_ok /usr/local/
2014-05-02 22:25:58.917 3715 ERROR murano-
2014-05-02 22:25:58.925 3715 DEBUG amqp [-] Closed channel #2 _do_close /usr/local/
2014-05-02 22:25:58.933 3715 DEBUG amqp [-] Closed channel #1 _do_close /usr/local/
2014-05-02 22:25:58.937 3715 WARNING muranoagent.app [-] Communication error
2014-05-02 22:25:58.937 3715 TRACE muranoagent.app Traceback (most recent call last):
2014-05-02 22:25:58.937 3715 TRACE muranoagent.app File "/usr/local/
2014-05-02 22:25:58.937 3715 TRACE muranoagent.app msg = subscription.
2014-05-02 22:25:58.937 3715 TRACE muranoagent.app File "/usr/local/
2014-05-02 22:25:58.937 3715 TRACE muranoagent.app return message.
2014-05-02 22:25:58.937 3715 TRACE muranoagent.app File "/usr/local/
2014-05-02 22:25:58.937 3715 TRACE muranoagent.app self.id = message_
2014-05-02 22:25:58.937 3715 TRACE muranoagent.app AttributeError: 'Message' object has no attribute 'header'
2014-05-02 22:25:58.937 3715 TRACE muranoagent.app
The Message object is of the class kombu.transport
The requirements.txt file for the python version of the murano-agent requires kombu 2.4.8 or greater, in which there is no "header" attribute for this Message class, but there is a "headers" (with an "s") attribute.
Changed in murano: | |
assignee: | nobody → Ankur Rishi (ankur-rishi) |
Changed in murano: | |
milestone: | none → 0.5 |
importance: | Undecided → Medium |
Changed in murano: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/91924
Review: https:/