Ask Your Question
0

ERROR: No module named pyamqp

asked 2016-11-30 06:27:31 -0500

kelepirci gravatar image

Hello All,

We are having bit strange problem with our Heat installation.

When I try to Launch Stack from horizon, getting following error:

ERROR: No module named pyamqp

Here is the heat-all.log file:

<131>Nov 30 11:46:09 node-2 heat-api: 2016-11-30 11:46:09.379 8191 ERROR heat.common.wsgi [req-e07b77dd-5f5b-4108-ae88-f24fd3d3568f ferhato@skyatlas.com skyatlas - default default] Unexpected error occurred serving API: No module named pyamqp
2016-11-30 11:46:09.379 8191 ERROR heat.common.wsgi Traceback (most recent call last):
2016-11-30 11:46:09.379 8191 ERROR heat.common.wsgi   File "/usr/lib/python2.7/dist-packages/heat/common/wsgi.py", line 842, in __call__
2016-11-30 11:46:09.379 8191 ERROR heat.common.wsgi     request, **action_args)
2016-11-30 11:46:09.379 8191 ERROR heat.common.wsgi   File "/usr/lib/python2.7/dist-packages/heat/common/wsgi.py", line 916, in dispatch
2016-11-30 11:46:09.379 8191 ERROR heat.common.wsgi     return method(*args, **kwargs)
2016-11-30 11:46:09.379 8191 ERROR heat.common.wsgi   File "/usr/lib/python2.7/dist-packages/heat/api/openstack/v1/util.py", line 38, in handle_stack_method
2016-11-30 11:46:09.379 8191 ERROR heat.common.wsgi     return handler(controller, req, **kwargs)
2016-11-30 11:46:09.379 8191 ERROR heat.common.wsgi   File "/usr/lib/python2.7/dist-packages/heat/api/openstack/v1/stacks.py", line 366, in preview
2016-11-30 11:46:09.379 8191 ERROR heat.common.wsgi     environment_files=data.environment_files()
2016-11-30 11:46:09.379 8191 ERROR heat.common.wsgi   File "/usr/lib/python2.7/dist-packages/heat/rpc/client.py", line 220, in preview_stack
2016-11-30 11:46:09.379 8191 ERROR heat.common.wsgi     version='1.23')
2016-11-30 11:46:09.379 8191 ERROR heat.common.wsgi   File "/usr/lib/python2.7/dist-packages/heat/rpc/client.py", line 69, in call
2016-11-30 11:46:09.379 8191 ERROR heat.common.wsgi     return client.call(ctxt, method, **kwargs)
2016-11-30 11:46:09.379 8191 ERROR heat.common.wsgi   File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line 158, in call
2016-11-30 11:46:09.379 8191 ERROR heat.common.wsgi     retry=self.retry)
2016-11-30 11:46:09.379 8191 ERROR heat.common.wsgi   File "/usr/lib/python2.7/dist-packages/oslo_messaging/transport.py",
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2016-12-02 02:16:08 -0500

kelepirci gravatar image

Hello sdl,

Thx for your answer. But the pypi package did not solved my problem.

I am still getting the error and ampq package seems to be installed.

edit flag offensive delete link more
0

answered 2016-11-30 07:19:59 -0500

silently gravatar image

download for follow url, uncompress it,then python setup.py install

https://pypi.python.org/pypi/amqp/

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2016-11-30 06:27:31 -0500

Seen: 537 times

Last updated: Dec 02 '16