Hello,
I'm with oVirt 4.2.3 (upgraded from 4.1 and compatibilities set to 4.2)
I have a CentOS 7 VM.
I correctly uploaded an iSO image to the disks of a data storage domain
(iSCSI).
Now in web admin portal I select the VM, then the 3 dots in top right, then
change cd
I'm proposed with the [Eject] line and into the dropdown I see the two iso
images I have uploaded up to now.
I select an image and then OK
I get a window with title "Operation canceled" and content
Error while executing action Change CD: Drive image file could not be found
Do I have to edit any setting in my VM to be able to connect an ISO image
this way?
Or other things to check?
In engine.log I have:
2018-05-30 11:58:58,772+02 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.ChangeDiskVDSCommand] (d
efault task-9) [d9aae17f-2a49-4d70-a909-6395d61d3ab1] Failed in
'ChangeDiskVDS' method
2018-05-30 11:58:58,775+02 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(default task-9) [d9aae17f-2a49-4d70-a909-6395d61d3ab1] EVENT_ID:
VDS_BROKER_COMMAND_FAILURE(10,802), VDSM ov200 command ChangeDiskVDS
failed: Drive image file could not be found
2018-05-30 11:58:58,775+02 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.ChangeDiskVDSCommand] (default
task-9) [d9aae17f-2a49-4d70-a909-6395d61d3ab1] Command
'org.ovirt.engine.core.vdsbroker.vdsbroker.ChangeDiskVDSCommand' return
value 'org.ovirt.engine.core.vdsbroker.vdsbroker.OneVmReturn@5e673b59'
2018-05-30 11:58:58,775+02 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.ChangeDiskVDSCommand] (default
task-9) [d9aae17f-2a49-4d70-a909-6395d61d3ab1] HostName = ov200
2018-05-30 11:58:58,775+02 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.ChangeDiskVDSCommand] (default
task-9) [d9aae17f-2a49-4d70-a909-6395d61d3ab1] Command
'ChangeDiskVDSCommand(HostName = ov200,
ChangeDiskVDSCommandParameters:{hostId='d16e723c-b44c-4c1c-be76-c67911e47ccd',
vmId='2e571c77-bae1-4c1c-bf98-effaf9fed741', iface='ide',
index='2',
diskPath='/rhev/data-center/mnt/blockSD/fa33df49-b09d-4f86-9719-ede649542c21/images/71a84a1c-0c53-4bb9-9474-deb92419e955/5404add1-cac4-4129-b8f5-2e7b2fc0da86'})'
execution failed: VDSGenericException: VDSErrorException: Failed to
ChangeDiskVDS, error = Drive image file could not be found, code = 13
2018-05-30 11:58:58,775+02 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.ChangeDiskVDSCommand] (default
task-9) [d9aae17f-2a49-4d70-a909-6395d61d3ab1] FINISH,
ChangeDiskVDSCommand, log id: 740b3c78
2018-05-30 11:58:58,775+02 ERROR
[org.ovirt.engine.core.bll.storage.disk.ChangeDiskCommand] (default task-9)
[d9aae17f-2a49-4d70-a909-6395d61d3ab1] Command
'org.ovirt.engine.core.bll.storage.disk.ChangeDiskCommand' failed:
EngineException:
org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException:
VDSGenericException: VDSErrorException: Failed to ChangeDiskVDS, error =
Drive image file could not be found, code = 13 (Failed with error imageErr
and code 13)
2018-05-30 11:58:58,779+02 ERROR
[org.ovirt.engine.core.bll.storage.disk.ChangeDiskCommand] (default task-9)
[d9aae17f-2a49-4d70-a909-6395d61d3ab1] Transaction rolled-back for command
'org.ovirt.engine.core.bll.storage.disk.ChangeDiskCommand'.
2018-05-30 11:58:58,784+02 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(default task-9) [d9aae17f-2a49-4d70-a909-6395d61d3ab1] EVENT_ID:
USER_FAILED_CHANGE_DISK_VM(102), Failed to change disk in VM c7service
(Host: ov200, User: g.cecchi@internal-authz).
2018-05-30 11:59:30,262+02 INFO
[org.ovirt.engine.core.bll.tasks.AsyncTaskManager]
(EE-ManagedThreadFactory-engineScheduled-Thread-33) [] Setting new tasks
map. The map contains now 0 tasks
2018-05-30 11:59:30,262+02 INFO
[org.ovirt.engine.core.bll.tasks.AsyncTaskManager]
(EE-ManagedThreadFactory-engineScheduled-Thread-33) [] Cleared all tasks of
pool 'ef17cad6-7724-4cd8-96e3-9af6e529db51'.
Thanks,
Gianluca