Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1622321

Summary: Receiving Getlldpvds error when editing host networks
Product: [oVirt] ovirt-engine Reporter: housemouse
Component: Frontend.WebAdminAssignee: Dominik Holler <dholler>
Status: CLOSED CURRENTRELEASE QA Contact: msheena
Severity: medium Docs Contact:
Priority: unspecified    
Version: ---CC: bugs, danken, housemouse, mburman
Target Milestone: ovirt-4.2.7Flags: rule-engine: ovirt-4.2+
Target Release: ---   
Hardware: x86_64   
OS: Other   
Whiteboard:
Fixed In Version: ovirt-engine-4.2.7.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-02 14:34:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Network RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
supervdsm.log file none

Description housemouse 2018-08-26 01:05:58 UTC
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:

Comment 1 housemouse 2018-08-26 01:44:38 UTC
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')

Comment 2 Dan Kenigsberg 2018-08-26 08:33:35 UTC
Would you share your supervdsm.log?

I suspect that vdsm should either ignore the said error, or lldpad should behave better with infiniband.

Comment 3 housemouse 2018-08-26 15:27:24 UTC
Created attachment 1478799 [details]
supervdsm.log file

Comment 4 housemouse 2018-08-26 19:51:17 UTC
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.

Comment 5 msheena 2018-10-03 09:15:04 UTC
Verified on:

rhvm-4.2.7.1-0.1.el7ev.noarch
IE 11.0.14393.0

Comment 6 Sandro Bonazzola 2018-11-02 14:34:59 UTC
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.