My Oracle Support Banner

OLVM: KVM Host In Status "Unassigned" After Upgrading From 4.2.8 To 4.3.6 (Doc ID 2671245.1)

Last updated on SEPTEMBER 12, 2020

Applies to:

Linux OS - Version Oracle Linux 7.6 and later
Linux x86-64

Symptoms

From AdminPortal, the KVM host remains in status "unassigned".

The following errors can be seen in the engine log:

2020-05-18 13:28:45,894+12 INFO [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (EE-ManagedThreadFactory-engine-Thread-195406) [4e85703f-85dd-4766-a511-9727232e26fb] START, 
SetVdsStatusVDSCommand(HostName = <KVM Host>, SetVdsStatusVDSCommandParameters:{hostId='8d51d60b-7025-4fd1-a5a2-a8f6f683e78e', status='Unassigned', nonOperationalReason='NONE', 
stopSpmFailureLogged='false', maintenanceReason='null'}), log id: 459fff1b
2020-05-18 13:28:45,900+12 INFO [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] (EE-ManagedThreadFactory-engine-Thread-195406) [4e85703f-85dd-4766-a511-9727232e26fb] FINISH, 
SetVdsStatusVDSCommand, return: , log id: 459fff1b2020-05-18 13:28:45,903+12 INFO [org.ovirt.engine.core.bll.ActivateVdsCommand] (EE-ManagedThreadFactory-engine-Thread-195406) 
[4e85703f-85dd-4766-a511-9727232e26fb] Activate host finished. Lock released. Monitoring can run now for host '<KVM Host>' from data-center 'Shared'
2020-05-18 13:28:45,916+12 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (EE-ManagedThreadFactory-engine-Thread-195406) 
[4e85703f-85dd-4766-a511-9727232e26fb] EVENT_ID: VDS_ACTIVATE(16), Activation of host <KVM Host> initiated by xxx@internal-authz.
2020-05-18 13:28:45,925+12 INFO [org.ovirt.engine.core.bll.ActivateVdsCommand] (EE-ManagedThreadFactory-engine-Thread-195406) [4e85703f-85dd-4766-a511-9727232e26fb] Lock freed to 
object 'EngineLock:{exclusiveLocks='[8d51d60b-7025-4fd1-a5a2-a8f6f683e78e=VDS]', sharedLocks=''}'
2020-05-18 13:28:48,689+12 INFO [org.ovirt.vdsm.jsonrpc.client.reactors.ReactorClient] (SSL Stomp Reactor) [] Connecting to <KVM Host>/<KVM Host IP>
2020-05-18 13:28:48,952+12 WARN [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesAsyncVDSCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-76) [] Unexpected return 
value: Status [code=-32603, message=Internal JSON-RPC error: {'reason': "invalid argument: KVM is not supported by '/usr/bin/qemu-system-x86_64' on this host"}]
2020-05-18 13:28:48,952+12 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesAsyncVDSCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-76) [] Failed in 
'Get Host Capabilities' method
2020-05-18 13:28:48,952+12 WARN [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesAsyncVDSCommand] (EE-ManagedThreadFactory-engineScheduled-Thread-76) [] Unexpected return 
value: Status [code=-32603, message=Internal JSON-RPC error: {'reason': "invalid argument: KVM is not supported by '/usr/bin/qemu-system-x86_64' on this host"}]

In vdsm log, it reports:

2020-05-18 16:20:45,285+1200 INFO (jsonrpc/2) [api.host] FINISH getCapabilities error=invalid argument: KVM is not supported by '/usr/bin/qemu-system-x8
6_64' on this host from=::ffff:10.187.252.232,38708 (api:52)
2020-05-18 16:20:45,285+1200 ERROR (jsonrpc/2) [jsonrpc.JsonRpcServer] Internal server error (__init__:350)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 345, in _handle_request
res = method(**params)
File "/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 198, in _dynamicMethod
result = fn(*methodArgs)
File "<string>", line 2, in getCapabilities
File "/usr/lib/python2.7/site-packages/vdsm/common/api.py", line 50, in method
ret = func(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/vdsm/API.py", line 1371, in getCapabilities
c = caps.get()
File "/usr/lib/python2.7/site-packages/vdsm/host/caps.py", line 93, in get
machinetype.compatible_cpu_models())
File "/usr/lib/python2.7/site-packages/vdsm/common/cache.py", line 43, in __call__
value = self.func(*args)
File "/usr/lib/python2.7/site-packages/vdsm/machinetype.py", line 142, in compatible_cpu_models
all_models = domain_cpu_models(c, arch, cpu_mode)
File "/usr/lib/python2.7/site-packages/vdsm/machinetype.py", line 97, in domain_cpu_models
domcaps = conn.getDomainCapabilities(None, arch, None, virt_type, 0)
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 3859, in getDomainCapabilities
if ret is None: raise libvirtError ('virConnectGetDomainCapabilities() failed', conn=self)
libvirtError: invalid argument: KVM is not supported by '/usr/bin/qemu-system-x86_64' on this host

Changes

 Upgrade the KVM host from AdminServer Portal from 4.2.8 to 4.3.6

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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.