OLVM: VM Live Migration Fails with the VDSM Error: 'libvirtError: unsupported configuration: Unable to find security driver for model selinux'
(Doc ID 2873763.1)
Last updated on JUNE 04, 2024
Applies to:
Linux OS - Version Oracle Linux 7.9 with Unbreakable Enterprise Kernel [5.4.17] and laterLinux x86-64
Symptoms
VM Live Migration fails with the following errors:
- In engine.log:
2022-05-30 15:34:31,208+02 ERROR [org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer] (ForkJoinPool-1-worker-13) [] Migration of VM 'VM_NAME' to host 'HYPERVISOR_NAME' failed: VM destroyed during the startup.
2022-05-30 15:34:31,211+02 INFO [org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer] (ForkJoinPool-1-worker-13) [] VM '1c72b4e9-3067-4699-b5d2-8bd6cb39555e'(VM_NAME) moved from 'MigratingFrom' --> 'Up'
2022-05-30 15:34:31,211+02 INFO [org.ovirt.engine.core.vdsbroker.monitoring.VmAnalyzer] (ForkJoinPool-1-worker-13) [] Adding VM '1c72b4e9-3067-4699-b5d2-8bd6cb39555e'(VM_NAME) to re-run list
2022-05-30 15:34:31,214+02 ERROR [org.ovirt.engine.core.vdsbroker.monitoring.VmsMonitoring] (ForkJoinPool-1-worker-13) [] Rerun VM '1c72b4e9-3067-4699-b5d2-8bd6cb39555e'. Called from VDS 'HYPERVISOR_NAME'
2022-05-30 15:34:31,281+02 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand] (EE-ManagedThreadFactory-engine-Thread-303558) [] START, MigrateStatusVDSCommand(HostName = HYPERVISOR_NAME, MigrateStatusVDSCommandParameters:{hostId='153f0d63-f75c-4351-b4ee-317cd791809f', vmId='1c72b4e9-3067-4699-b5d2-8bd6cb39555e'}), log id: 775447d7
2022-05-30 15:34:31,289+02 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand] (EE-ManagedThreadFactory-engine-Thread-303558) [] FINISH, MigrateStatusVDSCommand, return: , log id: 775447d7
2022-05-30 15:34:31,319+02 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engine-Thread-303558) [] EVENT_ID: VM_MIGRATION_TO_SERVER_FAILED(120), Migration failed (VM: VM_NAME, Source: HYPERVISOR_NAME, Destination: HYPERVISOR_NAME). - In the Hypervisor vdsm.log:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/vdsm/virt/migration.py", line 431, in _regular_run
time.time(), migrationParams, machineParams
File "/usr/lib/python2.7/site-packages/vdsm/virt/migration.py", line 505, in _startUnderlyingMigration
self._perform_with_conv_schedule(duri, muri)
File "/usr/lib/python2.7/site-packages/vdsm/virt/migration.py", line 591, in _perform_with_conv_schedule
self._perform_migration(duri, muri)
File "/usr/lib/python2.7/site-packages/vdsm/virt/migration.py", line 525, in _perform_migration
self._migration_flags)
File "/usr/lib/python2.7/site-packages/vdsm/virt/virdomain.py", line 100, in f
ret = attr(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/vdsm/common/libvirtconnection.py", line 131, in wrapper
ret = f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/vdsm/common/function.py", line 94, in wrapper
return func(inst, *args, **kwargs)
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1781, in migrateToURI3
if ret == -1: raise libvirtError ('virDomainMigrateToURI3() failed', dom=self)
libvirtError: unsupported configuration: Unable to find security driver for model selinux
Changes
A new Hypervisor was recently added without problems, but VM migrations to the Hypervisor are failing.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |