← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1421274] Re: image creation fails

 

** Changed in: horizon
       Status: New => Incomplete

** Changed in: horizon
       Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1421274

Title:
  image creation fails

Status in OpenStack Dashboard (Horizon):
  Invalid

Bug description:
  In recent git checkout, image creation fails:

  [12/Feb/2015 15:44:57] "POST /project/images/create/ HTTP/1.1" 200 0
  Failed to remove temporary image file /tmp/tmp_WSLQp.upload ([Errno 2] No such file or directory: '/tmp/tmp_WSLQp.upload')
  Unhandled exception in thread started by <function image_update at 0x7fcb8c8d7b18>
  Traceback (most recent call last):
    File "/home/mrunge/work/horizon/openstack_dashboard/api/glance.py", line 112, in image_update
      exceptions.handle(request, ignore=True)
    File "/home/mrunge/work/horizon/horizon/exceptions.py", line 364, in handle
      six.reraise(exc_type, exc_value, exc_traceback)
    File "/home/mrunge/work/horizon/openstack_dashboard/api/glance.py", line 110, in image_update
      image = glanceclient(request).images.update(image_id, **kwargs)
    File "/home/mrunge/work/horizon/.venv/lib/python2.7/site-packages/glanceclient/v1/images.py", line 329, in update
      resp, body = self.client.put(url, headers=hdrs, data=image_data)
    File "/home/mrunge/work/horizon/.venv/lib/python2.7/site-packages/glanceclient/common/http.py", line 265, in put
      return self._request('PUT', url, **kwargs)
    File "/home/mrunge/work/horizon/.venv/lib/python2.7/site-packages/glanceclient/common/http.py", line 206, in _request
      **kwargs)
    File "/home/mrunge/work/horizon/.venv/lib/python2.7/site-packages/requests/sessions.py", line 461, in request
      resp = self.send(prep, **send_kwargs)
    File "/home/mrunge/work/horizon/.venv/lib/python2.7/site-packages/requests/sessions.py", line 573, in send
      r = adapter.send(request, **kwargs)
    File "/home/mrunge/work/horizon/.venv/lib/python2.7/site-packages/requests/adapters.py", line 390, in send
      for i in request.body:
    File "/home/mrunge/work/horizon/.venv/lib/python2.7/site-packages/glanceclient/common/http.py", line 170, in chunk_body
      chunk = body.read(CHUNKSIZE)
  ValueError: I/O operation on closed file

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1421274/+subscriptions


References