Hello,
As asked by Stefano Stagnaro I'm currently writing about an issue I'm experiencing during vm import from external VMWARE farm:
I have the system log full of error:
Dec 30 13:23:42 ovirt-node2.ovirt vdsm[3420]: ERROR Internal server error
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/yajsonrpc/__init__.py", line 349, in _handle_request
res = method(**params)
File "/usr/lib/python3.6/site-packages/vdsm/rpc/Bridge.py", line 194, in _dynamicMethod
result = fn(*methodArgs)
File "<decorator-gen-471>", line 2, in getStats
File "/usr/lib/python3.6/site-packages/vdsm/common/api.py", line 50, in method
ret = func(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/vdsm/API.py", line 1456, in getStats
multipath=True)
File "/usr/lib/python3.6/site-packages/vdsm/host/api.py", line 49, in get_stats
decStats = stats.produce(first_sample, last_sample)
File "/usr/lib/python3.6/site-packages/vdsm/host/stats.py", line 108, in produce
stats['v2vJobs'] = v2v.get_jobs_status()
File "/usr/lib/python3.6/site-packages/vdsm/v2v.py", line 290, in get_jobs_status
'description': job.description,
AttributeError: 'str' object has no attribute 'decode'
As stated in the error: line 290 of /usr/lib/python3.6/site-packages/vdsm/v2v.py
Uses the method "decode" that it doesn't seem to be enabled:
'description': job.description.decode('utf-8'),
[root@ovirt-node2 ~]# rpm -qf /usr/lib/python3.6/site-packages/vdsm/v2v.py
--
Ing. Diego Ercolani
S.S.I.S. s.p.a.
T. 0549-875910