My Oracle Support Banner

OLVM: Not Able to Attach ISO File from a NFS Storage Domain to A VM with "Permission denied" Error (Doc ID 2756335.1)

Last updated on OCTOBER 01, 2021

Applies to:

Linux OS - Version Oracle Linux 7.9 with Unbreakable Enterprise Kernel [5.4.17] and later


When trying to attach an ISO file on NFS storage domain to a VM, you get below error, 

"Error while executing action Change CD: Drive image file could not be found"

In VDSM log file, below error message can be observed, 


2021-02-26 14:44:07,831-0600 INFO  (jsonrpc/7) [api.virt] START changeCD(driveSpec={u'path': u'/rhev/data-center/mnt/', u'iface': u'sata', u'index': u'2'}) from=::ffff:,53242, flow_id=bfbd07f2-dc61-40ee-8fbb-242c69bb31fe, vmId=408c7428-53f1-4f65-b8c4-3036567916cc (api:48)
2021-02-26 14:44:07,832-0600 INFO  (jsonrpc/7) [vds] prepared volume path: /rhev/data-center/mnt/ (clientIF:510)
2021-02-26 14:44:07,832-0600 INFO  (jsonrpc/7) [virt.vm] (vmId='408c7428-53f1-4f65-b8c4-3036567916cc') changeBlockDev: using disk XML: <?xml version='1.0' encoding='utf-8'?>
<disk device="cdrom" type="file"><source file="/rhev/data-center/mnt/"
/><target bus="sata" dev="sdc" /></disk> (vm:4964)
2021-02-26 14:44:07,858-0600 ERROR (jsonrpc/7) [virt.vm] (vmId='408c7428-53f1-4f65-b8c4-3036567916cc') forceful updateDeviceFlags failed (vm:4981)
Traceback (most recent call last):
 File "/usr/lib/python2.7/site-packages/vdsm/virt/", line 4978, in _changeBlockDev
   diskelem_xml, libvirt.VIR_DOMAIN_DEVICE_MODIFY_FORCE
 File "/usr/lib/python2.7/site-packages/vdsm/virt/", line 100, in f
   ret = attr(*args, **kwargs)
 File "/usr/lib/python2.7/site-packages/vdsm/common/", line 131, in wrapper
   ret = f(*args, **kwargs)
 File "/usr/lib/python2.7/site-packages/vdsm/common/", line 94, in wrapper
   return func(inst, *args, **kwargs)
 File "/usr/lib64/python2.7/site-packages/", line 2774, in updateDeviceFlags
   if ret == -1: raise libvirtError ('virDomainUpdateDeviceFlags() failed', dom=self)
libvirtError: internal error: child reported (status=125): unable to open /rhev/data-center/mnt/ Permission denied
2021-02-26 14:44:07,858-0600 ERROR (jsonrpc/7) [api] FINISH changeCD error=Failed to change disk image (api:131)
Traceback (most recent call last):
 File "/usr/lib/python2.7/site-packages/vdsm/common/", line 124, in method
   ret = func(*args, **kwargs)
 File "/usr/lib/python2.7/site-packages/vdsm/", line 151, in changeCD
   return self.vm.changeCD(driveSpec)
 File "/usr/lib/python2.7/site-packages/vdsm/virt/", line 4942, in changeCD
 File "/usr/lib/python2.7/site-packages/vdsm/virt/", line 4983, in _changeBlockDev
   raise exception.ChangeDiskFailed()
ChangeDiskFailed: Failed to change disk image
2021-02-26 14:44:07,858-0600 INFO  (jsonrpc/7) [api.virt] FINISH changeCD return={'status': {'message': 'Failed to change disk image', 'code': 41}} from=::ffff:,53242, flow_id=bfbd07f2-dc61-40ee-8fbb-242c69bb31fe, vmId=408c7428-53f1-4f65-b8c4-3036567916cc (api:54)


Attach ISO file on NFS SD to a VM. 


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.