In RHEV 3.3, adding disk to a VM fails with an error "OSError: [Errno 2] No such file or directory"

Solution Verified - Updated -

Issue

  • Couldn't add disk to vm, due to following error message in /var/log/vdsm/vdsm.log
 f484f6d4-386f-42a7-b131-f09e71350e46::ERROR::2014-06-16 09:49:57,134::task::850::TaskManager.Task::(_setError) Task=`f484f6d4-386f-42a7-b131-f09e      71350e46`::Unexpected error
 Traceback (most recent call last):
   File "/usr/share/vdsm/storage/task.py", line 857, in _run
     return fn(*args, **kargs)
   File "/usr/share/vdsm/storage/task.py", line 318, in run
     return self.cmd(*self.argslist, **self.argsdict)
   File "/usr/share/vdsm/storage/securable.py", line 68, in wrapper
     return f(self, *args, **kwargs)
   File "/usr/share/vdsm/storage/sp.py", line 1902, in createVolume
     srcImgUUID=srcImgUUID, srcVolUUID=srcVolUUID)
   File "/usr/share/vdsm/storage/fileSD.py", line 295, in createVolume
     volUUID, desc, srcImgUUID, srcVolUUID)
   File "/usr/share/vdsm/storage/volume.py", line 409, in create
     imgPath = image.Image(repoPath).create(sdUUID, imgUUID)
   File "/usr/share/vdsm/storage/image.py", line 123, in create
     os.mkdir(imageDir)
 OSError: [Errno 2] No such file or directory: '/rhev/data-center/49394777-9656-46a4-9a46-54da753cd72f/85d93b53-3e88-4507-9a0e-7b0cc3cffdf4/images/f929de65-45d2-4a1a-bfbf-bdd29a26a180'
  • One of vm failed to boot up, error message show image file corrupted or missing.

Environment

  • Red Hat Enterprise Virtualization 3.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content