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

[warm-reboot] ERROR: There are port channels/peer devices that failed the probe: ['PortChannel101', 'PortChannel102', 'PortChannel103', 'PortChannel104'] #21996

Open
volodymyrsamotiy opened this issue Mar 11, 2025 · 1 comment
Labels
Issue for 202411 Triaged this issue has been triaged

Comments

@volodymyrsamotiy
Copy link
Collaborator

Description
Error is printed if web-reboot is executed on a testbed where peer side is not a SONiC device (e.g. vEOS or cEOS):

admin@sonic:~$ sudo warm-reboot
ERROR: There are port channels/peer devices that failed the probe: ['PortChannel101', 'PortChannel102', 'PortChannel103', 'PortChannel104']
...

Error message was printed by teamd_increase_retry_count.py script which is executed by warm-reboot script:
https://github.com/sonic-net/sonic-utilities/blob/3c50deeb9dd8786ec6c73833f80f5701e2a0c648/scripts/teamd_increase_retry_count.py#L285C35-L285C92

It tries to probe port-channels on SONiC peer device by sending LACP packets and expecting certain packet in return.
Mentioned error can be observed if, for example, peer device is not SONiC or SONiC installed on peer does not support "teams retry count" mechanism.

Steps to reproduce the issue:

  1. Run warm-reboot command on a testbed with T0 topology and non SONiC VMs on a peer side

Describe the results you received:
Error is printed if web-reboot is executed and peer side is not a SONiC device (e.g. vEOS or cEOS):

admin@sonic:~$ sudo warm-reboot
ERROR: There are port channels/peer devices that failed the probe: ['PortChannel101', 'PortChannel102', 'PortChannel103', 'PortChannel104']
...

Describe the results you expected:
No error during warm-reboot execution.
If peer side is not a SONiC device, which means it doesn't support "teamd_increase_retry_count" mechanism then:

  • Warning should be printed instead of error
  • And printed message should be more informative, so user can understand that peers side is not a SONiC device
@arlakshm
Copy link
Contributor

@saiarcot895, can you help answer the question in this issue

@arlakshm arlakshm added the Triaged this issue has been triaged label Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue for 202411 Triaged this issue has been triaged
Projects
None yet
Development

No branches or pull requests

2 participants