Skip to content

Commit 1aac696

Browse files
authored
[fast reboot] stop removing opennsl module before reboot (#560)
We have been running warm reboot test without removing opennsl for 10k+ iterations and not having issue. The kexec reboot part is the same for warm reboot and fast reboot. It should be safe for use to skip this during fast reboot to save some time too. Signed-off-by: Ying Xie <ying.xie@microsoft.com>
1 parent 37823d4 commit 1aac696

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

scripts/fast-reboot

-9
Original file line numberDiff line numberDiff line change
@@ -430,15 +430,6 @@ docker ps -q | xargs docker kill > /dev/null
430430
# Stop the docker container engine. Otherwise we will have a broken docker storage
431431
systemctl stop docker.service
432432
433-
if [[ "$REBOOT_TYPE" != "warm-reboot" ]]; then
434-
# Stop opennsl modules for Broadcom platform
435-
if [[ "$sonic_asic_type" = 'broadcom' ]];
436-
then
437-
service_name=$(systemctl list-units --plain --no-pager --no-legend --type=service | grep opennsl | cut -f 1 -d' ')
438-
systemctl stop "$service_name"
439-
fi
440-
fi
441-
442433
# Stop kernel modules for Nephos platform
443434
if [[ "$sonic_asic_type" = 'nephos' ]];
444435
then

0 commit comments

Comments
 (0)