Closed Junchao-Mellanox closed 2 years ago
The basic principle of ZTP is that user's intervention is not required. The ZTP service tries to establish connectivity repeatedly and looks for provisioning information. If due to network error or misconfiguration, the provisioning information is not made available, the ZTP serviceretries to discover it periodically (every 300s). That is where the existing DHCP leases are released and taken afresh. Alternative is for the user to intervene which is contrary to the basic principle. The connectivity is not just lost but re-established. The users are not expected to login during a ZTP session and perform parallel provisioning. But, if the user wishes to operate on the switch, the ZTP service can be stopped using the "systemctl stop ztp" command or disabled using the "ztp disable" command.
Close as this is expected behavior.
Description
management interface link flaps due to ZTP periodically start network discovery. The issue is always reproduced.
Steps to reproduce the issue:
Output of
service interfaces-config status
:Describe the results you received:
management interface link goes down each time calling "ifdown --force eth0"
Describe the results you expected:
ZTP shall not restart interfaces-config service unless there is a ZTP profile/configuration change
Output of
show version
:This issue is observed on latest 202012/202111, did not try other version, but I suppose it is also on master.
Output of
show techsupport
:sonic_dump_r-panther-23_20220614_023847.tar.gz