Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[chassis][master] : sonic-mgmt precheck fails on missing lldp serive on LCs #19174

Closed
anamehra opened this issue Jun 3, 2024 · 2 comments
Closed
Assignees
Labels
Triaged this issue has been triaged

Comments

@anamehra
Copy link
Contributor

anamehra commented Jun 3, 2024

Description

Afer sonic-net/sonic-host-services#120, global lldp service is disabled on LCs.
This requires sonic-mgmt change to handle this in pre-checks.

WARNING root:recover.py:169 Restoring {'failed': True, 'check_item': 'processes', 'host': 'sfd-lt2-lc0', 'processes_status': {'pmon': {'status': True, 'exited_critical_process': [], 'running_critical_process': []}, 'snmp': {'status': True, 'exited_critical_process': [], 'running_critical_process': ['snmp-subagent', 'snmpd']}, 'lldp': {'status': False, 'exited_critical_process': [], 'running_critical_process': []}, 'database': {'status': True, 'exited_critical_process': [], 'running_critical_process': ['redis']}, 'bgp0': {'status': True, 'exited_critical_process': [], 'running_critical_process': ['bgpcfgd', 'bgpd', 'fpmsyncd', 'staticd', 'zebra']}, 'database0': {'status': True, 'exited_critical_process': [], 'running_critical_process': ['redis']}, 'lldp0': {'status': True, 'exited_critical_process': [], 'running_critical_process': ['lldp-syncd', 'lldpd', 'lldpmgrd']}, 'swss0': {'status': True, 'exited_critical_process': [], 'running_critical_process': ['buffermgrd', 'coppmgrd', 'fabricmgrd', 'fdbsyncd', 'intfmgrd', 'nbrmgrd', 'neighsyncd', 'orchagent', 'portmgrd', 'portsyncd', 'tunnelmgrd', 'vlanmgrd', 'vrfmgrd', 'vxlanmgrd']}, 'syncd0': {'status': True, 'exited_critical_process': [], 'running_critical_process': ['syncd']}, 'teamd0': {'status': True, 'exited_critical_process': [], 'running_critical_process': ['teammgrd', 'teamsyncd', 'tlm_teamd']}, 'macsec0': {'status': True, 'exited_critical_process': [], 'running_critical_process': ['macsecmgrd']}, 'gbsyncd0': {'status': True, 'exited_critical_process': [], 'running_critical_process': ['syncd']}, 'bgp1': {'status': True, 'exited_critical_process': [], 'running_critical_process': ['bgpcfgd', 'bgpd', 'fpmsyncd', 'staticd', 'zebra']}, 'database1': {'status': True, 'exited_critical_process': [], 'running_critical_process': ['redis']}, 'lldp1': {'status': True, 'exited_critical_process': [], 'running_critical_process': ['lldp-syncd', 'lldpd', 'lldpmgrd']}, 'swss1': {'status': True, 'exited_critical_process': [], 'running_critical_process': ['buffermgrd', 'coppmgrd', 'fabricmgrd', 'fdbsyncd', 'intfmgrd', 'nbrmgrd', 'neighsyncd', 'orchagent', 'portmgrd', 'portsyncd', 'tunnelmgrd', 'vlanmgrd', 'vrfmgrd', 'vxlanmgrd']}, 'syncd1': {'status': True, 'exited_critical_process': [], 'running_critical_process': ['syncd']}, 'teamd1': {'status': True, 'exited_critical_process': [], 'running_critical_process': ['teammgrd', 'teamsyncd', 'tlm_teamd']}, 'macsec1': {'status': True, 'exited_critical_process': [], 'running_critical_process': ['macsecmgrd']}, 'gbsyncd1': {'status': True, 'exited_critical_process': [], 'running_critical_process': ['syncd']}, 'bgp2': {'status': True, 'exited_critical_process': [], 'running_critical_process': ['bgpcfgd', 'bgpd', 'fpmsyncd', 'staticd', 'zebra']}, 'database2': {'status': True, 'exited_critical_process': [], 'running_critical_process': ['redis']}, 'lldp2': {'status': True, 'exited_critical_process': [], 'running_critical_process': ['lldp-syncd', 'lldpd', 'lldpmgrd']}, 'swss2': {'status': True, 'exited_critical_process': [], 'running_critical_process': ['buffermgrd', 'coppmgrd', 'fabricmgrd', 'fdbsyncd', 'intfmgrd', 'nbrmgrd', 'neighsyncd', 'orchagent', 'portmgrd', 'portsyncd', 'tunnelmgrd', 'vlanmgrd', 'vrfmgrd', 'vxlanmgrd']}, 'syncd2': {'status': True, 'exited_critical_process': [], 'running_critical_process': ['syncd']}, 'teamd2': {'status': True, 'exited_critical_process': [], 'running_critical_process': ['teammgrd', 'teamsyncd', 'tlm_teamd']}, 'macsec2': {'status': True, 'exited_critical_process': [], 'running_critical_process': ['macsecmgrd']}, 'gbsyncd2': {'status': True, 'exited_critical_process': [], 'running_critical_process': ['syncd']}}, 'services_status': {'pmon': True, 'snmp': True, 'lldp': False, 'database': True, 'bgp0': True, 'database0': True, 'lldp0': True, 'swss0': True, 'syncd0': True, 'teamd0': True, 'macsec0': True, 'gbsyncd0': True, 'bgp1': True, 'database1': True, 'lldp1': True, 'swss1': True, 'syncd1': True, 'teamd1': True, 'macsec1': True, 'gbsyncd1': True, 'bgp2': True, 'database2': True, 'lldp2': True, 'swss2': True, 'syncd2': True, 'teamd2': True, 'macsec2': True, 'gbsyncd2': True}} with proposed action: config_reload, final action: config_reload

Steps to reproduce the issue:

Describe the results you received:

Describe the results you expected:

Output of show version:

(paste your output here)

Output of show techsupport:

(paste your output here or download and attach the file here )

Additional information you deem important (e.g. issue happens only occasionally):

@anamehra
Copy link
Contributor Author

anamehra commented Jun 3, 2024

Hi @abdosi , @vperumal for you viz

@abdosi
Copy link
Contributor

abdosi commented Jun 3, 2024

working on this

abdosi added a commit to abdosi/sonic-mgmt that referenced this issue Jun 4, 2024
Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
abdosi added a commit to abdosi/sonic-mgmt that referenced this issue Jun 4, 2024
Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
wangxin pushed a commit to sonic-net/sonic-mgmt that referenced this issue Jun 5, 2024
Why I did:
To fix this sonic-net/sonic-buildimage#19174
On Modular chassis for LC lldp in global scope is not needed.

How I verify:
Manual changes

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
mssonicbld pushed a commit to mssonicbld/sonic-mgmt that referenced this issue Jun 12, 2024
Why I did:
To fix this sonic-net/sonic-buildimage#19174
On Modular chassis for LC lldp in global scope is not needed.

How I verify:
Manual changes

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
mssonicbld pushed a commit to sonic-net/sonic-mgmt that referenced this issue Jun 13, 2024
Why I did:
To fix this sonic-net/sonic-buildimage#19174
On Modular chassis for LC lldp in global scope is not needed.

How I verify:
Manual changes

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
@prabhataravind prabhataravind added the Triaged this issue has been triaged label Jun 19, 2024
mrkcmo pushed a commit to Azarack/sonic-mgmt that referenced this issue Jul 17, 2024
Why I did:
To fix this sonic-net/sonic-buildimage#19174
On Modular chassis for LC lldp in global scope is not needed.

How I verify:
Manual changes

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
abdosi added a commit to abdosi/sonic-mgmt that referenced this issue Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Triaged this issue has been triaged
Projects
None yet
Development

No branches or pull requests

3 participants