[ovirt-users] Snapshot Disk fails to connect to BackupApplianceVM - Failed to HotPlugDiskVDS
Zip
plord at intricatenetworks.com
Tue Jan 23 05:21:42 UTC 2018
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='[dcabf886-22b2-4239-b57a-559d9b5b4c6d=DISK]',
sharedLocks=''}'
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
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
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 no
disk cache or directsync cache mode, QEMU will fallback to aio=threads
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]]'
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
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
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:
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)
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 at 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='[dcabf886-22b2-4239-b57a-559d9b5b4c6d=DISK]',
sharedLocks=''}'
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 = unsupported configuration:
native I/O needs either no disk cache or directsync cache mode, QEMU will
fallback to aio=threads, code²
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180122/60d2a10f/attachment.html>
More information about the Users
mailing list