zun-ui TypeError image_list apiclent

Bug #1797528 reported by quan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zun UI
Fix Released
High
hongbin

Bug Description

When I login dashboard,click 'Admin--Container--Images',will display "Error: Unable to retrieve the Image" on page.
Some error log in /var/log/httpd/error_log
[xx.191494 2018] [:error] [pid 11] ERROR openstack_dashboard.api.rest.utils error invoking apiclient
[xx.191567 2018] [:error] [pid 11] Traceback (most recent call last):
[xx.191576 2018] [:error] [pid 11] File "/usr/share/openstack-dashboard/openstack_dashboard/api/rest/utils.py", line 127, in _wrapped
[xx.191582 2018] [:error] [pid 11] data = function(self, request, *args, **kw)
[xx.191586 2018] [:error] [pid 11] File "/usr/lib/python2.7/site-packages/zun_ui/api/rest_api.py", line 264, in get
[xx.191590 2018] [:error] [pid 11] result = client.host_list(request)
[xx.191594 2018] [:error] [pid 11] File "/usr/lib/python2.7/site-packages/zun_ui/api/client.py", line 313, in host_list
[xx.191599 2018] [:error] [pid 11] sort_dir, detail)
[xx.191602 2018] [:error] [pid 11] TypeError: list() takes at most 5 arguments (6 given)
[xx.303276 2018] [:error] [pid 11] ERROR openstack_dashboard.api.rest.utils error invoking apiclient
[xx.303331 2018] [:error] [pid 11] Traceback (most recent call last):
[xx.303339 2018] [:error] [pid 11] File "/usr/share/openstack-dashboard/openstack_dashboard/api/rest/utils.py", line 127, in _wrapped
[xx.303368 2018] [:error] [pid 11] data = function(self, request, *args, **kw)
[xx.303374 2018] [:error] [pid 11] File "/usr/lib/python2.7/site-packages/zun_ui/api/rest_api.py", line 226, in get
[xx.303378 2018] [:error] [pid 11] result = client.image_list(request)
[xx.303383 2018] [:error] [pid 11] File "/usr/lib/python2.7/site-packages/zun_ui/api/client.py", line 298, in image_list
[xx.303387 2018] [:error] [pid 11] sort_dir, detail)
[xx.303391 2018] [:error] [pid 11] TypeError: list() takes at most 5 arguments (6 given)

Tags: zun-ui
hongbin (hongbin034)
Changed in zun-ui:
status: New → Triaged
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to zun-ui (master)

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

Changed in zun-ui:
assignee: nobody → hongbin (hongbin034)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to zun-ui (master)

Reviewed: https://review.openstack.org/610285
Committed: https://git.openstack.org/cgit/openstack/zun-ui/commit/?id=87372aa249352d80971733029add225de870938d
Submitter: Zuul
Branch: master

commit 87372aa249352d80971733029add225de870938d
Author: Hongbin Lu <email address hidden>
Date: Sat Oct 13 19:52:27 2018 +0000

    Remove unused 'detail' parameter

    This parameter is not used in server and has been removes it from
    client side [1]. This commit removes it from UI.

    [1] https://review.openstack.org/#/c/575926/

    Change-Id: I39f71d56da51f7c45a5f24da7b535ff570df1bba
    Closes-Bug: #1797528

Changed in zun-ui:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/zun-ui 3.0.0

This issue was fixed in the openstack/zun-ui 3.0.0 release.

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.