RHV : All SPM host operations fails with "No space left on device"

Solution Verified - Updated -

Issue

  • Operations for creating a device for a VM fails always with the below error.

vdsm.log

2017-05-25 23:43:46,858+1000 INFO  (jsonrpc/4) [dispatcher] Run and protect: createVolume, Return response: None (logUtils:54)
2017-05-25 23:43:46,870+1000 INFO  (jsonrpc/4) [jsonrpc.JsonRpcServer] RPC call Volume.create succeeded in 0.03 seconds (__init__:515)
2017-05-25 23:43:46,870+1000 INFO  (tasks/7) [storage.ThreadPool.WorkerThread] START task a0a9763c-0660-4645-a756-b71038f94ee4 (cmd=<bound method Task.commit of <storage.task.Task instance at 0x32fa6c8>>, args=None) (threadPool:208)
2017-05-25 23:43:46,964+1000 INFO  (tasks/7) [storage.Image] Create placeholder /rhev/data-center/00000001-0001-0001-0001-000000000311/0ca95632-91c2-4170-91ee-88580d628485/images/f3c68f65-c274-4b0a-b5e9-c02c47125e7f for image's volumes (image:149)
2017-05-25 23:43:46,972+1000 ERROR (tasks/7) [storage.TaskManager.Task] (Task='a0a9763c-0660-4645-a756-b71038f94ee4') Unexpected error (task:870)
Traceback (most recent call last):
  File "/usr/share/vdsm/storage/task.py", line 877, in _run
    return fn(*args, **kargs)
  File "/usr/share/vdsm/storage/task.py", line 333, in run
    return self.cmd(*self.argslist, **self.argsdict)
  File "/usr/lib/python2.7/site-packages/vdsm/storage/securable.py", line 79, in wrapper
    return method(self, *args, **kwargs)
  File "/usr/share/vdsm/storage/sp.py", line 1929, in createVolume
    initialSize=initialSize)
  File "/usr/share/vdsm/storage/sd.py", line 763, in createVolume
    initialSize=initialSize)
  File "/usr/share/vdsm/storage/volume.py", line 983, in create
    imgPath = image.Image(repoPath).create(sdUUID, imgUUID)
  File "/usr/share/vdsm/storage/image.py", line 154, in create
    os.mkdir(imageDir)
OSError: [Errno 28] No space left on device: '/rhev/data-center/00000001-0001-0001-0001-000000000311/0ca95632-91c2-4170-91ee-88580d628485/images/f3c68f65-c274-4b0a-b5e9-c02c47125e7f'
  • Tasks on SPM host also calls the error No space left on device .

Environment

  • Red Hat Virtualization 4.x
  • Red Hat Enterprise Virtualization 3.x

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.