Skip to content

Commit 8d22d3c

Browse files
qiluo-msftpavannaregundi
authored andcommitted
Remove ctrmgr_tools.py for backward compatible (#24444)
Why I did it Fixes #24319 Work item tracking Microsoft ADO (number only): How I did it How to verify it Verified with DUT. Run below commands to and check syslog. ls /usr/local/bin/ctrmgr_tools.py sudo fast-reboot Before this PR: script exists, syslog has "ERR ctrmgr_tools.py: Skip to tag feature=syncd image=docker-syncd-.... tag=latest" After this PR: script does not exist, syslog has no "ERR ctrmgr_tools.py: Skip to tag feature" pattern around fast-reboot.
1 parent 6f8d9d5 commit 8d22d3c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

files/build_templates/sonic_debian_extension.j2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -579,6 +579,9 @@ sudo LANG=C chroot $FILESYSTEM_ROOT systemctl enable ctrmgrd.service
579579

580580
# kubelet service is controlled by ctrmgrd daemon.
581581
sudo LANG=C chroot $FILESYSTEM_ROOT systemctl disable kubelet.service
582+
{% else %}
583+
# Some scripts will check one file inside sonic_ctrmgmt_py3_wheel to detect include_kubernetes status
584+
sudo rm $FILESYSTEM_ROOT/usr/local/bin/ctrmgr_tools.py
582585
{% endif %}
583586

584587
# Copy the buffer configuration template

0 commit comments

Comments
 (0)