Snapshot Disk fails to connect to BackupApplianceVM - Failed to HotPlugDiskVDS

This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible.
Appliance</span>VM, all works using NFS4 as my Storage Domain for the VM be= ing 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 obj= ect 'EngineLock:{exclusiveLocks=3D'[dcabf886-22b2-4239-b57a-559d9b5b4c6d=3DDISK]= ', sharedLocks=3D''}'</div><div><br></div><div>2018-01-22 23:10:36,296-06 INFO= [org.ovirt.engine.core.bll.storage.disk.AttachDiskToVmCommand] (defau= lt task-58) [948cc433-45ed-46cc-b920-b4d9627bf99b] Running command: AttachDi= skToVmCommand internal: false. Entities affected : ID: 3c78dd5a-2982-4= e35-ad9b-004394970dea Type: VMAction group CONFIGURE_VM_STORAGE with role ty=
<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=3DStatus [code=3D4= 5, message=3Dunsupported configuration: native I/O needs either no disk cache = or directsync cache mode, QEMU will fallback to aio=3Dthreads]]'</div><div><br= </div><div>2018-01-22 23:10:37,907-06 INFO [org.ovirt.engine.core.vds= broker.vdsbroker.HotPlugDiskVDSCommand] (default task-58) [948cc433-45ed-46c= c-b920-b4d9627bf99b] HostName =3D ovirtnodea.mydomain.com</div><div><br></div>= <div>2018-01-22 23:10:37,907-06 ERROR [org.ovirt.engine.core.vdsbroker.vdsbr= oker.HotPlugDiskVDSCommand] (default task-58) [948cc433-45ed-46cc-b920-b4d96= 27bf99b] Command 'HotPlugDiskVDSCommand(HostName =3D ovirtnodea.mydomain.= com, HotPlugDiskVDSParameters:{hostId=3D'34591e56-fd25-48dd-bf56-76b7b15e3721'= , vmId=3D'3c78dd5a-2982-4e35-ad9b-004394970dea', diskId=3D'dcabf886-22b2-4239-b5= 7a-559d9b5b4c6d', addressMap=3D'null'})' execution failed: VDSGenericException= : VDSErrorException: Failed to HotPlugDiskVDS, error =3D unsupported configura= tion: native I/O needs either no disk cache or directsync cache mode, QEMU w= ill fallback to aio=3Dthreads, code =3D 45</div><div><br></div><div>2018-01-22 2= 3:10:37,907-06 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.HotPlug= DiskVDSCommand] (default task-58) [948cc433-45ed-46cc-b920-b4d9627bf99b] FIN= ISH, HotPlugDiskVDSCommand, log id: 1bb4b632</div><div><br></div><div>2018-0= 1-22 23:10:37,907-06 ERROR [org.ovirt.engine.core.bll.storage.disk.AttachDis= kToVmCommand] (default task-58) [948cc433-45ed-46cc-b920-b4d9627bf99b] Comma= nd 'org.ovirt.engine.core.bll.storage.disk.AttachDiskToVmCommand' failed: En= gineException: org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: = VDSGenericException: VDSErrorException: Failed to HotPlugDiskVDS, error =3D un= supported configuration: native I/O needs either no disk cache or directsync= cache mode, QEMU will fallback to aio=3Dthreads, code =3D 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.AttachDiskToVmComma= nd'.</div><div><br></div><div>2018-01-22 23:10:37,954-06 ERROR [org.ovirt.en= gine.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: ad= min@internal-authz).</div><div><br></div><div>2018-01-22 23:10:37,955-06 INF= O [org.ovirt.engine.core.bll.storage.disk.AttachDiskToVmCommand] (defa=
</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 he= lp.</div><div><br></div><div>BTW, current script I am writing is here: = <a href=3D"https://github.com/zipurman/oVIRT_Simple_Backup">https://github.com= /zipurman/oVIRT_Simple_Backup</a> </div><div><br></div><div>Irc.oftc.ne= t #ovirt</div><div>zipur</div><br></div><div><span class=3D"Apple-style-span" =
--B_3599508108_124784952 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable Okay, when I do a snapshot, and then mount the snapshot to a BackupApplianceVM, 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: --- 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=3D'[dcabf886-22b2-4239-b57a-559d9b5b4c6d=3DDISK]', sharedLocks=3D''}' 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 wit= h role type USER 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 =3D ovirtnodea.mydomain.com, HotPlugDiskVDSParameters:{hostId=3D'34591e56-fd25-48dd-bf56-76b7b15e3721', vmId=3D'3c78dd5a-2982-4e35-ad9b-004394970dea', diskId=3D'dcabf886-22b2-4239-b57a-559d9b5b4c6d', addressMap=3D'null'}), log id: 1bb4b632 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 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 n= o disk cache or directsync cache mode, QEMU will fallback to aio=3Dthreads 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=3DStatus [code=3D45, message=3Dunsupported configuration: native I/O needs either no disk cache or directsync cache mode, QEMU will fallback to aio=3Dthreads]]' 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 =3D ovirtnodea.mydomain.com 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 =3D ovirtnodea.mydomain.com, HotPlugDiskVDSParameters:{hostId=3D'34591e56-fd25-48dd-bf56-76b7b15e3721', vmId=3D'3c78dd5a-2982-4e35-ad9b-004394970dea', diskId=3D'dcabf886-22b2-4239-b57a-559d9b5b4c6d', addressMap=3D'null'})' execution failed: VDSGenericException: VDSErrorException: Failed to HotPlugDiskVDS, error =3D unsupported configuration: native I/O needs either no disk cache or directsync cache mode, QEMU will fallback to aio=3Dthreads, code =3D 45 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 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:=20 org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: VDSGenericException: VDSErrorException: Failed to HotPlugDiskVDS, error =3D unsupported configuration: native I/O needs either no disk cache or directsync cache mode, QEMU will fallback to aio=3Dthreads, code =3D 45 (Failed with error FailedToPlugDisk and code 45) 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'. 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). 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=3D'[dcabf886-22b2-4239-b57a-559d9b5b4c6d=3DDISK]', sharedLocks=3D''}' 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] --- I see the "Failed to HotPlugDiskVDS, error =3D unsupported configuration: native I/O needs either no disk cache or directsync cache mode, QEMU will fallback to aio=3Dthreads, code=B2 But I have no clue how to fix that using oVirt 4.2 on CentOS 7. Fresh install and all up to date. Thanks for any help. BTW, current script I am writing is here: https://github.com/zipurman/oVIRT_Simple_Backup Irc.oftc.net #ovirt zipur --B_3599508108_124784952 Content-type: text/html; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable <html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: s= pace; -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 snapsh= ot, and then mount the snapshot to a Backup<span style=3D"font-style: italic;"= pe USER, ID: dcabf886-22b2-4239-b57a-559d9b5b4c6d Type: DiskAction gro= up 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.HotPlugDisk= VDSCommand] (default task-58) [948cc433-45ed-46cc-b920-b4d9627bf99b] START, = HotPlugDiskVDSCommand(HostName =3D ovirtnodea.mydomain.com, HotPlugDiskVDSPara= meters:{hostId=3D'34591e56-fd25-48dd-bf56-76b7b15e3721', vmId=3D'3c78dd5a-2982-4= e35-ad9b-004394970dea', diskId=3D'dcabf886-22b2-4239-b57a-559d9b5b4c6d', addre= ssMap=3D'null'}), log id: 1bb4b632</div><div><br></div><div>2018-01-22 23:10:3= 7,903-06 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.HotPlugDiskVDSComm= and] (default task-58) [948cc433-45ed-46cc-b920-b4d9627bf99b] Failed in 'Hot= PlugDiskVDS' method</div><div><br></div><div>2018-01-22 23:10:37,907-06 ERRO= R [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (de= fault task-58) [948cc433-45ed-46cc-b920-b4d9627bf99b] EVENT_ID: VDS_BROKER_C= OMMAND_FAILURE(10,802), VDSM ovirtnodea.mydomain.com command HotPl= ugDiskVDS failed: unsupported configuration: native I/O needs either no disk= cache or directsync cache mode, QEMU will fallback to aio=3Dthreads</div><div= ult task-58) [948cc433-45ed-46cc-b920-b4d9627bf99b] Lock freed to object 'En= gineLock:{exclusiveLocks=3D'[dcabf886-22b2-4239-b57a-559d9b5b4c6d=3DDISK]', shar= edLocks=3D''}'</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><di= v><br></div><div><br></div><div>I see the "Failed to HotPlugDiskVDS, error =3D= unsupported configuration: native I/O needs either no disk cache or directs= ync cache mode, QEMU will fallback to aio=3Dthreads, code”</div><div><br= style=3D"font-size: 12px; font-family: Verdana, Helvetica, Arial;"><font color= =3D"#808080"><br></font></span></div></body></html> --B_3599508108_124784952--
participants (1)
-
Zip