On Mon, Aug 30, 2021 at 10:50 AM marek <cervajs64@gmail.com> wrote:
on host i see

/var/log/vdsm/vdsm.log

2021-08-30 10:38:41,151+0200 ERROR (jsonrpc/0) [jsonrpc.JsonRpcServer]
Internal server error (__init__:354)
Traceback (most recent call last):
   File "/usr/lib/python3.6/site-packages/vdsm/common/cache.py", line
41, in __call__
     return self.cache[args]
KeyError: ()

During handling of the above exception, another exception occurred:

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 198,
in _dynamicMethod
     result = fn(*methodArgs)
   File "<decorator-gen-457>", line 2, in getCapabilities
   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 1391, in
getCapabilities
     c = caps.get()
   File "/usr/lib/python3.6/site-packages/vdsm/host/caps.py", line 111,
in get
     caps.update(dsaversion.version_info())
   File "/usr/lib/python3.6/site-packages/vdsm/common/cache.py", line
43, in __call__
     value = self.func(*args)
   File "/usr/lib/python3.6/site-packages/vdsm/common/dsaversion.py",
line 49, in version_info
     libvirt_version = _get_libvirt_version()
   File "/usr/lib/python3.6/site-packages/vdsm/common/dsaversion.py",
line 41, in _get_libvirt_version
     for v in packages['libvirt']['version'].split('.')
KeyError: 'libvirt'



Dne 30/08/2021 v 10:36 marek napsal(a):
> hi,
>
> i have problem adding host to ovirt 4.4.8 standalone engine
>
> host is centos 8 stream (migrated from centos 8)
>
>
> on engine
>
>  /var/log/ovirt-engine/engine.log
>
> 2021-08-30 10:32:43,422+02 ERROR
> [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesAsyncVDSCommand]
> (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-69)
> [] Failed in 'Get Host Capabilities' method
>
> 2021-08-30 10:32:43,422+02 WARN
> [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesAsyncVDSCommand]
> (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-69)
> [] Unexpected return value: Status [code=-32603, message=Internal
> JSON-RPC error: {'reason': "'libvirt'"}]
>
> 2021-08-30 10:32:43,423+02 ERROR
> [org.ovirt.engine.core.vdsbroker.monitoring.HostMonitoring]
> (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-69)
> [] Unable to RefreshCapabilities beforeFirstRefreshTreatment:
> VDSErrorException: VDSGenericException: VDSErrorException: Failed to
> Get Host Capabilities, error = Internal JSON-RPC error: {'reason':
> "'libvirt'"}, code = -32603
>
>
> any tips/ideas?
>
> Marek
>
_______________________________________________
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/QOLT5EFBK3N47H5RZ4L5OSURE77GPVJX/


Hi,

this is a known issue, the fix has been proposed [0].

[0] https://gerrit.ovirt.org/c/vdsm/+/116352

Best regards,
Ales

--

Ales Musil

Software Engineer - RHV Network

Red Hat EMEA

amusil@redhat.com    IM: amusil