RHEV : Importing VM fails with "No space left on device"

Solution Verified - Updated -

Issue

  • Unable to import a VM into a Data Center and fails with below errors being reported

Engine.log

2016-11-07 10:42:59,490 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-6-thread-16) [693ef3b2] Correlation ID: 2532cbb7, Job ID: de367491-e085-4dcf-a8fa-962906885cca, Call Stack: null, Custom Event ID: -1, Message: Starting to import Vm redhat_guestto Data Center RedHatDC, Cluster cluster_02
2016-11-07 10:57:00,341 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler_Worker-77) [362cd1fb] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: VDSM host1.rh.redhat.com command failed: low level Image copy failed
2016-11-07 10:57:01,875 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-6-thread-18) [] Correlation ID: 2532cbb7, Job ID: de367491-e085-4dcf-a8fa-962906885cca, Call Stack: null, Custom Event ID: -1, Message: Failed to import Vm redhat_guestto Data Center RedHatDC, Cluster cluster_02

Destination vdsm.log

3d8e687d-c5a0-4659-9bbe-723efd9dc787::DEBUG::2016-11-07 10:56:53,684::utils::718::root::(watchCmd) FAILED: <err> = ['qemu-img: error while writing sector 93569024: No space left on device', 'qemu-img: Failed to flush the refcount block   cache: No space left on device']; <rc> = 1
3d8e687d-c5a0-4659-9bbe-723efd9dc787::ERROR::2016-11-07 10:56:53,684::image::865::Storage.Image::(copyCollapsed) conversion failure for volume 5004663b-48e3-4f23-8577-8ae5496cba67
Traceback (most recent call last): 
  File "/usr/share/vdsm/storage/image.py", line 860, in copyCollapsed
    volume.fmt2str(dstVolFormat))
  File "/usr/lib/python2.7/site-packages/vdsm/qemuimg.py", line 207, in convert
    raise QImgError(rc, out, err)
QImgError: ecode=1, stdout=[], stderr=['qemu-img: error while writing sector 93569024: No space left on device', 'qemu-img: Failed to flush the refcount block cache: No space left on device'], message=None
3d8e687d-c5a0-4659-9bbe-723efd9dc787::ERROR::2016-11-07 10:56:53,685::image::878::Storage.Image::(copyCollapsed) Unexpected error
Traceback (most recent call last): 
  File "/usr/share/vdsm/storage/image.py", line 866, in copyCollapsed
    raise se.CopyImageError(str(e))
CopyImageError: low level Image copy failed: ("ecode=1, stdout=[], stderr=['qemu-img: error while writing sector 93569024: No space left on device', 'qemu-img: Failed to flush the refcount block cache: No space left on device'],          message=None",)

Environment

  • Red Hat Virtualization 4.0, 4.1
  • Red Hat Enterprise Virtualization 3.5, 3.6
  • FC/iSCSI Block Storage
  • NFS Export Domain

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In