Zun

pull_image throw exception

Bug #1670602 reported by Shunli Zhou
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zun
Fix Committed
Undecided
Unassigned

Bug Description

Run zun pull nginx

The zun-compute log shows as below:

2017-03-07 16:16:28.915 TRACE zun.compute.manager Traceback (most recent call last):
2017-03-07 16:16:28.915 TRACE zun.compute.manager File "/opt/stack/zun/zun/compute/manager.py", line 406, in _do_image_pull
2017-03-07 16:16:28.915 TRACE zun.compute.manager image.tag)
2017-03-07 16:16:28.915 TRACE zun.compute.manager TypeError: pull_image() takes exactly 5 arguments (3 given)
2017-03-07 16:16:28.915 TRACE zun.compute.manager
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 457, in fire_timers
    timer()
  File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/timer.py", line 58, in __call__
    cb(*args, **kw)
  File "/opt/stack/zun/zun/common/utils.py", line 130, in context_wrapper
    func(*args, **kwargs)
  File "/opt/stack/zun/zun/compute/manager.py", line 406, in _do_image_pull
    image.tag)
TypeError: pull_image() takes exactly 5 arguments (3 given)

Shunli Zhou (shunliz)
Changed in zun:
assignee: nobody → Shunli Zhou (shunliz)
Revision history for this message
Pradeep Kumar Singh (pradeep-singh-u) wrote :
Revision history for this message
Pradeep Kumar Singh (pradeep-singh-u) wrote :
Revision history for this message
Shunli Zhou (shunliz) wrote :

So it's a duplicate bug. It's great that you have fixed it.

description: updated
Changed in zun:
assignee: Shunli Zhou (shunliz) → nobody
Revision history for this message
hongbin (hongbin034) wrote :

It looks this bug has been fixed by: https://review.openstack.org/#/c/448967/

Changed in zun:
status: New → Fix Committed
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.