Try to start a virtual guest on a specific hypervisor fails with error "ImagePathError: Image path does not exist or cannot be accessed/created: ('/rhev/data-center/xxx/xx')
Issue
- Trying to start a VM on a specific hypervisor fails with the error: (RHEVM gui, and audit_log table)
VM <vm-name> is down. Exit message: Bad volume specification
- On the host, we see an associated error message: (vdsm.log)
OSError: [Errno 2] No such file or directory: '/rhev/data-center/82a990c0-1040-4dbd-96d5-b10b0557546e/eab88ce7-b896-42f3-8ef7-3c4eb7c027b7/images/0c7e44c4-4a4f-4d3d-97f3-9ce8ddbdd5e8'
Thread-7642585::ERROR::2014-04-23 18:32:48,780::task::850::TaskManager.Task::(_setError) Task=`259ced51-2559-45f5-b52e-cbc7abbddbdf`::Unexpected error
...
Thread-7642585::ERROR::2014-04-23 18:32:48,791::vm::710::vm.Vm::(_startUnderlyingVm) vmId=`5f4bc9f6-9101-41fe-ac2b-ea70bc77f890`::The vm start process failed
Traceback (most recent call last):
File "/usr/share/vdsm/vm.py", line 670, in _startUnderlyingVm
File "/usr/share/vdsm/libvirtvm.py", line 1458, in _run
File "/usr/share/vdsm/vm.py", line 731, in preparePaths
File "/usr/share/vdsm/clientIF.py", line 275, in prepareVolumePath
VolumeError: Bad volume specification {'index': 0, 'iface': 'virtio', 'reqsize': '0', 'format': 'cow', 'bootOrder': '1', 'poolID': '82a990c0-1040-4dbd-96d5-b10b0557546e', 'volumeID': '3ba75664-e99e-4806-a7ab-ca6e0ff2ce91', 'apparentsize': '5368709120', 'imageID': '0c7e44c4-4a4f-4d3d-97f3-9ce8ddbdd5e8', 'specParams': {}, 'readonly': 'false', 'domainID': 'eab88ce7-b896-42f3-8ef7-3c4eb7c027b7', 'optional': 'false', 'deviceId': '0c7e44c4-4a4f-4d3d-97f3-9ce8ddbdd5e8', 'truesize': '5368709120', 'address': {'bus': '0x00', ' slot': '0x05', ' domain': '0x0000', ' type': 'pci', ' function': '0x0'}, 'device': 'disk', 'shared': 'false', 'propagateErrors': 'off', 'type': 'disk'}
Thread-7642585::DEBUG::2014-04-23 18:32:48,795::vm::1098::vm.Vm::(setDownStatus) vmId=`5f4bc9f6-9101-41fe-ac2b-ea70bc77f890`::Changed state to Down: Bad volume specification {'index': 0, 'iface': 'virtio', 'reqsize': '0', 'format': 'cow', 'bootOrder': '1', 'poolID': '82a990c0-1040-4dbd-96d5-b10b0557546e', 'volumeID': '3ba75664-e99e-4806-a7ab-ca6e0ff2ce91', 'apparentsize': '5368709120', 'imageID': '0c7e44c4-4a4f-4d3d-97f3-9ce8ddbdd5e8', 'specParams': {}, 'readonly': 'false', 'domainID': 'eab88ce7-b896-42f3-8ef7-3c4eb7c027b7', 'optional': 'false', 'deviceId': '0c7e44c4-4a4f-4d3d-97f3-9ce8ddbdd5e8', 'truesize': '5368709120', 'address': {'bus': '0x00', ' slot': '0x05', ' domain': '0x0000', ' type': 'pci', ' function': '0x0'}, 'device': 'disk', 'shared': 'false', 'propagateErrors': 'off', 'type': 'disk'}
- Similar errors would be experienced when trying to add a disk to this VM ("ImagePathError: Image path does not exist or cannot be accessed/created: ('/rhev/data-center/xxx/xx'))
Environment
- Red Hat Enterprise Virtualization 3.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.