Skip to content

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

Open
@volodymyrsamotiy

Description

@volodymyrsamotiy

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions