Description of problem: When trying to edit network settings of new host, they never populate and receive a browser pop up that script is taking too long. I see the following error in the events VDSM ovirt-11 command GetLldpVDS failed: Internal JSON-RPC error: {'reason': "(1, 'Agent instance for device not found \\n', '', 'ib0')"} ib0 is an infiniband adapter Version-Release number of selected component (if applicable): How reproducible: Add new CentOS host with infiniband adapter to cluster, then try and edit network settings of host Steps to Reproduce: 1.Add new host to cluster 2.Click setup host networks 3.Window comes up but does not populate and hangs, web browser will prompt that script is taking too long and if want to stop it Actual results: Network settings for host window never populates Expected results: Network settings will will open and allow adding configured networks to interfaces. Additional info:
Seeing the following in the /var/log/messages file Aug 25 18:51:10 ovirt-11 systemd: Listening on lldpad.socket. Aug 25 18:51:10 ovirt-11 systemd: Starting lldpad.socket. Aug 25 18:51:29 ovirt-11 lldpad: setsockopt nearest_bridge: Invalid argument Aug 25 18:51:52 ovirt-11 vdsm[3109]: ERROR Internal server error#012Traceback (most recent call last):#012 File "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 606, in _handle_request#012 res = method(** params)#012 File "/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 197, in _dynamicMethod#012 result = fn(*methodArgs)#012 File "/usr/lib/python2.7/site-packages/vdsm/API.py", line 1565, in getLldp#012 in fo=supervdsm.getProxy().get_lldp_info(filter))#012 File "/usr/lib/python2.7/site-packages/vdsm/common/supervdsm.py", line 55, in __call__#012 return callMethod()#012 File "/usr/lib/python2.7/site-packages/vdsm/common/ supervdsm.py", line 53, in <lambda>#012 **kwargs)#012 File "<string>", line 2, in get_lldp_info#012 File "/usr/lib64/python2.7/multiprocessing/managers.py", line 773, in _callmethod#012 raise convert_to_error(kind, result)#012TlvReportLldpError: (1, 'Agent instance for device not found \n', '', 'ib0') Aug 25 18:53:11 ovirt-11 lldpad: setsockopt nearest_bridge: Invalid argument Aug 25 18:53:15 ovirt-11 lldpad: setsockopt nearest_bridge: Invalid argument Aug 25 18:58:29 ovirt-11 systemd: Listening on lldpad.socket. Aug 25 18:58:29 ovirt-11 systemd: Starting lldpad.socket. Aug 25 18:58:48 ovirt-11 lldpad: setsockopt nearest_bridge: Invalid argument Aug 25 19:03:14 ovirt-11 vdsm[3096]: ERROR Internal server error#012Traceback (most recent call last):#012 File "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 606, in _handle_request#012 res = method(** params)#012 File "/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 197, in _dynamicMethod#012 result = fn(*methodArgs)#012 File "/usr/lib/python2.7/site-packages/vdsm/API.py", line 1565, in getLldp#012 in fo=supervdsm.getProxy().get_lldp_info(filter))#012 File "/usr/lib/python2.7/site-packages/vdsm/common/supervdsm.py", line 55, in __call__#012 return callMethod()#012 File "/usr/lib/python2.7/site-packages/vdsm/common/ supervdsm.py", line 53, in <lambda>#012 **kwargs)#012 File "<string>", line 2, in get_lldp_info#012 File "/usr/lib64/python2.7/multiprocessing/managers.py", line 773, in _callmethod#012 raise convert_to_error(kind, result)#012TlvReportLldpError: (1, 'Agent instance for device not found \n', '', 'ib0') Aug 25 19:04:02 ovirt-11 vdsm[3096]: ERROR Internal server error#012Traceback (most recent call last):#012 File "/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 606, in _handle_request#012 res = method(** params)#012 File "/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 197, in _dynamicMethod#012 result = fn(*methodArgs)#012 File "/usr/lib/python2.7/site-packages/vdsm/API.py", line 1565, in getLldp#012 in fo=supervdsm.getProxy().get_lldp_info(filter))#012 File "/usr/lib/python2.7/site-packages/vdsm/common/supervdsm.py", line 55, in __call__#012 return callMethod()#012 File "/usr/lib/python2.7/site-packages/vdsm/common/ supervdsm.py", line 53, in <lambda>#012 **kwargs)#012 File "<string>", line 2, in get_lldp_info#012 File "/usr/lib64/python2.7/multiprocessing/managers.py", line 773, in _callmethod#012 raise convert_to_error(kind, result)#012TlvReportLldpError: (1, 'Agent instance for device not found \n', '', 'ib0')
Would you share your supervdsm.log? I suspect that vdsm should either ignore the said error, or lldpad should behave better with infiniband.
Created attachment 1478799 [details] supervdsm.log file
I did some further testing and this seems to be an error when using Microsoft Edge or Internet Explorer. Firefox and Chrome seem to not have the issue.
Verified on: rhvm-4.2.7.1-0.1.el7ev.noarch IE 11.0.14393.0
This bugzilla is included in oVirt 4.2.7 release, published on November 2nd 2018. Since the problem described in this bug report should be resolved in oVirt 4.2.7 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.