Kuryr dependencies in controller break Magnum CLI in Ocata

Bug #1688996 reported by Gianpietro Lavado
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Magnum
New
Undecided
Unassigned
kuryr
New
Undecided
Unassigned

Bug Description

I installed kuryr depemndencies from master (as of May-6th) in an Ocata controller node with Magnum and it broke its CLI with the following message:

osbash@controller:~/kuryr$ magnum cluster-list
ERROR: No module named pyamqp (HTTP 500) (Request-ID: req-98cc4c0d-9633-4643-96f2-9bae831ab1a6)

Seems like a conflict with amqp, which went from 1.4.9 from 2.1.3. I changed versions but problem persists.

Kuryr installed:
WebOb-1.7.2 amqp-2.1.3 kombu-4.0.1 neutron-lib-1.6.0 oslo.db-4.21.0 oslo.log-3.26.0 oslo.messaging-5.23.0 pbr-3.0.0 vine-1.1.3

The detailed version of the magnum cli error is:

DEBUG (session:640) GET call to container-infra for http://192.168.122.36:9511/v1/clusters used request id req-c833a5aa-bc85-42a6-b4b9-6544f789c721
DEBUG (shell:753) No module named pyamqp (HTTP 500) (Request-ID: req-c833a5aa-bc85-42a6-b4b9-6544f789c721)
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/magnumclient/shell.py", line 750, in main
    OpenStackMagnumShell().main(map(encodeutils.safe_decode, sys.argv[1:]))
  File "/usr/lib/python2.7/dist-packages/magnumclient/shell.py", line 665, in main
    args.func(self.cs, args)
  File "/usr/lib/python2.7/dist-packages/magnumclient/v1/clusters_shell.py", line 71, in do_cluster_list
    sort_dir=args.sort_dir)
  File "/usr/lib/python2.7/dist-packages/magnumclient/v1/baseunit.py", line 82, in list
    return self._list(self._path(path), self.__class__.template_name)
  File "/usr/lib/python2.7/dist-packages/magnumclient/common/base.py", line 121, in _list
    resp, body = self.api.json_request('GET', url)
  File "/usr/lib/python2.7/dist-packages/magnumclient/common/httpclient.py", line 368, in json_request
    resp = self._http_request(url, method, **kwargs)
  File "/usr/lib/python2.7/dist-packages/magnumclient/common/httpclient.py", line 352, in _http_request
    error_json.get('debuginfo'), method, url)
InternalServerError: No module named pyamqp (HTTP 500) (Request-ID: req-c833a5aa-bc85-42a6-b4b9-6544f789c721)

Tags: amqp kuryr magnum
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.