nova.image.glance.download failure error message is insufficient

Bug #1431631 reported by Joe Julian
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Michael Still

Bug Description

2015-03-12 22:48:27.941 18501 TRACE nova.image.glance File "/opt/io/io-nova/lib/python2.7/site-packages
/nova/image/glance.py", line 371, in download
2015-03-12 22:48:27.941 18501 TRACE nova.image.glance data.write(chunk)
2015-03-12 22:48:27.941 18501 TRACE nova.image.glance IOError: [Errno 28] No space left on device

This is not enough data to properly diagnose the problem.

In this example, glance and nova were using ceph. The expectation was that the storage devices that would be involved would all be ceph rbds. Since there was plenty of space in ceph, this error was not useful.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

Changed in nova:
assignee: nobody → Joe Julian (joe.julian)
status: New → In Progress
Changed in nova:
importance: Undecided → Low
Michael Still (mikal)
Changed in nova:
assignee: Joe Julian (joe.julian) → Michael Still (mikalstill)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/164039
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=eeea6092ff3fce3ace3deceaef1480af17ae7a01
Submitter: Jenkins
Branch: master

commit eeea6092ff3fce3ace3deceaef1480af17ae7a01
Author: Joe Julian <email address hidden>
Date: Thu Mar 12 17:38:01 2015 -0700

    log meaningful error message on download exception

    This changes:
        "IOError: [Errno 28] No space left on device"
    to read (for example):
        "Error writing to
    /var/lib/instances/_base/89e3812ae38b76b8f658e56a75f584de3bfb6941.part:
    IOError: [Errno 28] No space left on device"

    Co-Authored-By: Michael Still (<email address hidden>)
    Change-Id: I86305d100513b7f9c8cf50f5432524ec45460617
    Closes-Bug: 1431631

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → liberty-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: liberty-2 → 12.0.0
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.