<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;"><div><div>Okay, when I do a snapshot, and then mount the snapshot to a Backup<span style="font-style: italic;">Appliance</span>VM, all works using NFS4 as my Storage Domain for the VM being backed up. If I change that disk storage on the VM to be backed up to my iSCSI storage, my script breaks and I see these errors in the oVirt Engine logs:</div><div><br></div><div>---</div><div><div>2018-01-22 23:10:36,249-06 INFO [org.ovirt.engine.core.bll.storage.disk.AttachDiskToVmCommand] (default task-58) [948cc433-45ed-46cc-b920-b4d9627bf99b] Lock Acquired to object 'EngineLock:{exclusiveLocks='[dcabf886-22b2-4239-b57a-559d9b5b4c6d=DISK]', sharedLocks=''}'</div><div><br></div><div>2018-01-22 23:10:36,296-06 INFO [org.ovirt.engine.core.bll.storage.disk.AttachDiskToVmCommand] (default task-58) [948cc433-45ed-46cc-b920-b4d9627bf99b] Running command: AttachDiskToVmCommand internal: false. Entities affected : ID: 3c78dd5a-2982-4e35-ad9b-004394970dea Type: VMAction group CONFIGURE_VM_STORAGE with role type USER, ID: dcabf886-22b2-4239-b57a-559d9b5b4c6d Type: DiskAction group ATTACH_DISK with role type USER</div><div><br></div><div>2018-01-22 23:10:36,300-06 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.HotPlugDiskVDSCommand] (default task-58) [948cc433-45ed-46cc-b920-b4d9627bf99b] START, HotPlugDiskVDSCommand(HostName = ovirtnodea.mydomain.com, HotPlugDiskVDSParameters:{hostId='34591e56-fd25-48dd-bf56-76b7b15e3721', vmId='3c78dd5a-2982-4e35-ad9b-004394970dea', diskId='dcabf886-22b2-4239-b57a-559d9b5b4c6d', addressMap='null'}), log id: 1bb4b632</div><div><br></div><div>2018-01-22 23:10:37,903-06 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.HotPlugDiskVDSCommand] (default task-58) [948cc433-45ed-46cc-b920-b4d9627bf99b] Failed in 'HotPlugDiskVDS' method</div><div><br></div><div>2018-01-22 23:10:37,907-06 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-58) [948cc433-45ed-46cc-b920-b4d9627bf99b] EVENT_ID: VDS_BROKER_COMMAND_FAILURE(10,802), VDSM ovirtnodea.mydomain.com command HotPlugDiskVDS failed: unsupported configuration: native I/O needs either no disk cache or directsync cache mode, QEMU will fallback to aio=threads</div><div><br></div><div>2018-01-22 23:10:37,907-06 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.HotPlugDiskVDSCommand] (default task-58) [948cc433-45ed-46cc-b920-b4d9627bf99b] Command 'org.ovirt.engine.core.vdsbroker.vdsbroker.HotPlugDiskVDSCommand' return value 'StatusOnlyReturn [status=Status [code=45, message=unsupported configuration: native I/O needs either no disk cache or directsync cache mode, QEMU will fallback to aio=threads]]'</div><div><br></div><div>2018-01-22 23:10:37,907-06 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.HotPlugDiskVDSCommand] (default task-58) [948cc433-45ed-46cc-b920-b4d9627bf99b] HostName = ovirtnodea.mydomain.com</div><div><br></div><div>2018-01-22 23:10:37,907-06 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.HotPlugDiskVDSCommand] (default task-58) [948cc433-45ed-46cc-b920-b4d9627bf99b] Command 'HotPlugDiskVDSCommand(HostName = ovirtnodea.mydomain.com, HotPlugDiskVDSParameters:{hostId='34591e56-fd25-48dd-bf56-76b7b15e3721', vmId='3c78dd5a-2982-4e35-ad9b-004394970dea', diskId='dcabf886-22b2-4239-b57a-559d9b5b4c6d', addressMap='null'})' execution failed: VDSGenericException: VDSErrorException: Failed to HotPlugDiskVDS, error = unsupported configuration: native I/O needs either no disk cache or directsync cache mode, QEMU will fallback to aio=threads, code = 45</div><div><br></div><div>2018-01-22 23:10:37,907-06 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.HotPlugDiskVDSCommand] (default task-58) [948cc433-45ed-46cc-b920-b4d9627bf99b] FINISH, HotPlugDiskVDSCommand, log id: 1bb4b632</div><div><br></div><div>2018-01-22 23:10:37,907-06 ERROR [org.ovirt.engine.core.bll.storage.disk.AttachDiskToVmCommand] (default task-58) [948cc433-45ed-46cc-b920-b4d9627bf99b] Command 'org.ovirt.engine.core.bll.storage.disk.AttachDiskToVmCommand' failed: EngineException: org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: VDSGenericException: VDSErrorException: Failed to HotPlugDiskVDS, error = unsupported configuration: native I/O needs either no disk cache or directsync cache mode, QEMU will fallback to aio=threads, code = 45 (Failed with error FailedToPlugDisk and code 45)</div><div><br></div><div>2018-01-22 23:10:37,910-06 ERROR [org.ovirt.engine.core.bll.storage.disk.AttachDiskToVmCommand] (default task-58) [948cc433-45ed-46cc-b920-b4d9627bf99b] Transaction rolled-back for command 'org.ovirt.engine.core.bll.storage.disk.AttachDiskToVmCommand'.</div><div><br></div><div>2018-01-22 23:10:37,954-06 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-58) [948cc433-45ed-46cc-b920-b4d9627bf99b] EVENT_ID: USER_FAILED_ATTACH_DISK_TO_VM(2,017), Failed to attach Disk TEST1234_Disk1 to VM SimpleBackup (User: admin@internal-authz).</div><div><br></div><div>2018-01-22 23:10:37,955-06 INFO [org.ovirt.engine.core.bll.storage.disk.AttachDiskToVmCommand] (default task-58) [948cc433-45ed-46cc-b920-b4d9627bf99b] Lock freed to object 'EngineLock:{exclusiveLocks='[dcabf886-22b2-4239-b57a-559d9b5b4c6d=DISK]', sharedLocks=''}'</div><div><br></div><div>2018-01-22 23:10:37,955-06 ERROR [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (default task-58) [] Operation Failed: [Failed to hot-plug disk]</div></div><div>---</div><div><br></div><div><br></div><div>I see the "Failed to HotPlugDiskVDS, error = unsupported configuration: native I/O needs either no disk cache or directsync cache mode, QEMU will fallback to aio=threads, code”</div><div><br></div><div>But I have no clue how to fix that using oVirt 4.2 on CentOS 7. Fresh install and all up to date.</div><div><br></div><div>Thanks for any help.</div><div><br></div><div>BTW, current script I am writing is here: <a href="https://github.com/zipurman/oVIRT_Simple_Backup">https://github.com/zipurman/oVIRT_Simple_Backup</a> </div><div><br></div><div>Irc.oftc.net #ovirt</div><div>zipur</div><br></div><div><span class="Apple-style-span" style="font-size: 12px; font-family: Verdana, Helvetica, Arial;"><font color="#808080"><br></font></span></div></body></html>