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
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/CJBISCMAOZYJHJJLL6PSDSLWYRTXZNOY/