Zun

zun compute giving error while pulling image

Bug #1663158 reported by prameswar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zun
Fix Committed
Undecided
prameswar

Bug Description

zun pull ubuntu:latest

ePeriodicTasks.update_zun_service from (pid=5618) run_periodic_tasks /usr/local/lib/python2.7/dist-packages/oslo_service/periodic_task.py:215
2017-02-08 21:05:16.730 DEBUG zun.servicegroup.zun_service_periodic [req-c162fe07-b099-4995-b8ea-4ba1453dbc9f None None] Update zun_service from (pid=5618) update_zun_service /opt/stack/zun/zun/servicegroup/zun_service_periodic.py:40
2017-02-08 21:05:23.098 DEBUG oslo_messaging._drivers.amqpdriver [req-c162fe07-b099-4995-b8ea-4ba1453dbc9f None None] received message with unique_id: 3e91841b4d4343f1b0ae7fd470bae3b1 from (pid=5618) __call__ /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:196
2017-02-08 21:05:23.101 DEBUG zun.compute.manager [req-f35134e2-3376-41d9-9c96-22f9d3d6891c admin admin] Creating image... from (pid=5618) _do_image_pull /opt/stack/zun/zun/compute/manager.py:361
2017-02-08 21:05:23.101 ERROR zun.compute.manager [req-f35134e2-3376-41d9-9c96-22f9d3d6891c admin admin] Unexpected exception: pull_image() takes exactly 5 arguments (3 given)
2017-02-08 21:05:23.101 TRACE zun.compute.manager Traceback (most recent call last):
2017-02-08 21:05:23.101 TRACE zun.compute.manager File "/opt/stack/zun/zun/compute/manager.py", line 365, in _do_image_pull
2017-02-08 21:05:23.101 TRACE zun.compute.manager image.tag)
2017-02-08 21:05:23.101 TRACE zun.compute.manager TypeError: pull_image() takes exactly 5 arguments (3 given)
2017-02-08 21:05:23.101 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 126, in context_wrapper
    func(*args, **kwargs)
  File "/opt/stack/zun/zun/compute/manager.py", line 365, in _do_image_pull
    image.tag)
TypeError: pull_image() takes exactly 5 arguments (3 given)

Reason:
https://github.com/openstack/zun/blob/master/zun/image/driver.py#L63
https://github.com/openstack/zun/blob/master/zun/compute/manager.py#L76-L78
https://github.com/openstack/zun/blob/master/zun/compute/manager.py#L364-L365

prameswar (prameswar)
Changed in zun:
assignee: nobody → prameswar (prameswar)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to zun (master)

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

Changed in zun:
status: New → In Progress
Revision history for this message
hongbin (hongbin034) wrote :

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

Changed in zun:
status: In Progress → 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.