Magnum UI in mitaka fails to initiate magnumclient, throwing "TypeError: __init__() got an unexpected keyword argument 'cacert'"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magnum UI |
Fix Released
|
Critical
|
Imran Hayder |
Bug Description
The magnumUI package in mitaka, is throwing following errors in horizon error logs:
[Thu Aug 25 16:59:19.266392 2016] [wsgi:error] [pid 63425:tid 139952756119296] error invoking apiclient
[Thu Aug 25 16:59:19.266413 2016] [wsgi:error] [pid 63425:tid 139952756119296] Traceback (most recent call last):
[Thu Aug 25 16:59:19.266416 2016] [wsgi:error] [pid 63425:tid 139952756119296] File "/srv/www/
[Thu Aug 25 16:59:19.266418 2016] [wsgi:error] [pid 63425:tid 139952756119296] data = function(self, request, *args, **kw)
[Thu Aug 25 16:59:19.266420 2016] [wsgi:error] [pid 63425:tid 139952756119296] File "/usr/lib/
[Thu Aug 25 16:59:19.266422 2016] [wsgi:error] [pid 63425:tid 139952756119296] result = magnum.
[Thu Aug 25 16:59:19.266424 2016] [wsgi:error] [pid 63425:tid 139952756119296] File "/usr/lib/
[Thu Aug 25 16:59:19.266426 2016] [wsgi:error] [pid 63425:tid 139952756119296] return magnumclient(
[Thu Aug 25 16:59:19.266427 2016] [wsgi:error] [pid 63425:tid 139952756119296] File "/usr/lib/
[Thu Aug 25 16:59:19.266436 2016] [wsgi:error] [pid 63425:tid 139952756119296] value = cache[key] = func(*args, **kwargs)
[Thu Aug 25 16:59:19.266438 2016] [wsgi:error] [pid 63425:tid 139952756119296] File "/usr/lib/
[Thu Aug 25 16:59:19.266440 2016] [wsgi:error] [pid 63425:tid 139952756119296] cacert=cacert)
[Thu Aug 25 16:59:19.266441 2016] [wsgi:error] [pid 63425:tid 139952756119296] TypeError: __init__() got an unexpected keyword argument 'cacert'
this is because of recent fix to add SSL support however magnumclient in mitaka version doesnt support passing "cacert" it just allows setting "insecure"
https:/
as a consequence of this patch we see above error.
however checking source code magnumclient client.py , its confirmed there is no cacert allowed
https:/
PROPOSED FIX: remove the cacert as its a feature not available in magnumclient of mitaka version
Changed in magnum-ui: | |
importance: | Undecided → Critical |
assignee: | nobody → Imran Hayder (hayderimran7) |
status: | New → Fix Committed |
Changed in magnum-ui: | |
milestone: | none → 1.0.2 |
Changed in magnum-ui: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: stable/mitaka /review. openstack. org/360711
Review: https:/