My Oracle Support Banner

OLVM: Failure Installing a KVM Host due to "TypeError: sequence item 0: expected string, int found" (Doc ID 2732597.1)

Last updated on FEBRUARY 15, 2021

Applies to:

Linux OS - Version Oracle Linux 7.9 with Unbreakable Enterprise Kernel [5.4.17] and later
Information in this document applies to any platform.
OLVM version 4.3.6.
vdsm 4.30.33-1.0.3.el7.


Symptoms

OLVM host installation fails with the following errors in the vdsm log file.

020-10-14 15:34:50,641+0200 INFO (jsonrpc/6) [api.host] START getCapabilities() from=::ffff:10.218.76.31,36150,
flow_id=2f1bc4e2 (api:48)
2020-10-14 15:34:50,641+0200 INFO (jsonrpc/6) [api.host] FINISH getCapabilities error=sequence item 0: expected string,
int found from=::ffff:10.218.76.31,36150, flow_id=2f1bc4e2 (api:52)
2020-10-14 15:34:50,641+0200 ERROR (jsonrpc/6) [DynamicBridge] TypeError raised by dispatched function (Bridge:200)
Traceback (most recent call last):
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 89, in get
caps['onlineCpus'] = ','.join(cpu_topology.online_cpus)
TypeError: sequence item 0: expected string, int found   <<<<<<<<<<<<<<<<------------------ See this error
2020-10-14 15:34:50,642+0200 ERROR (jsonrpc/6) [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 201, in _dynamicMethod
raise InvalidCall(fn, methodArgs, e)
InvalidCall: Attempt to call function: <bound method Global.getCapabilities of <vdsm.API.Global object at 0x7ff6c803f610>> with[Insert note here]

 

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
Cause
Solution
References


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