[warm-reboot] Remove warmboot file path that overrides the default path (#6198)
- Why I did it The sai.profile file in kvm images overrides the warmboot file with path /var/cache/sai_warmboot.bin. Since the directory /var/cache is not mounted in syncd, it will be cleared in an image upgrade, the warm-reboot image upgrade will fail if the file is put in the directory. Fix #6183 - How I did it Remove the path that overrides the default path. The warmboot file path will then be the default value /var/warmboot/sai-warmboot.bin. Since /var/warmboot/ is mounted by /host/warmboot/ in the host, it could survive an image upgrade. - How to verify it Tested warm reboot upgrading kvm image locally.
This commit is contained in:
parent
e010d83fc3
commit
9580b0407f
@ -1,5 +1,3 @@
|
||||
SAI_WARM_BOOT_READ_FILE=/var/cache/sai_warmboot.bin
|
||||
SAI_WARM_BOOT_WRITE_FILE=/var/cache/sai_warmboot.bin
|
||||
SAI_VS_SWITCH_TYPE=SAI_VS_SWITCH_TYPE_BCM56850
|
||||
SAI_VS_HOSTIF_USE_TAP_DEVICE=true
|
||||
SAI_VS_INTERFACE_LANE_MAP_FILE=/usr/share/sonic/hwsku/lanemap.ini
|
||||
|
@ -1,5 +1,3 @@
|
||||
SAI_WARM_BOOT_READ_FILE=/var/cache/sai_warmboot.bin
|
||||
SAI_WARM_BOOT_WRITE_FILE=/var/cache/sai_warmboot.bin
|
||||
SAI_VS_SWITCH_TYPE=SAI_VS_SWITCH_TYPE_BCM56850
|
||||
SAI_VS_HOSTIF_USE_TAP_DEVICE=true
|
||||
SAI_VS_INTERFACE_LANE_MAP_FILE=/usr/share/sonic/hwsku/lanemap.ini
|
||||
|
@ -1,5 +1,3 @@
|
||||
SAI_WARM_BOOT_READ_FILE=/var/cache/sai_warmboot.bin
|
||||
SAI_WARM_BOOT_WRITE_FILE=/var/cache/sai_warmboot.bin
|
||||
SAI_VS_SWITCH_TYPE=SAI_VS_SWITCH_TYPE_BCM56850
|
||||
SAI_VS_HOSTIF_USE_TAP_DEVICE=true
|
||||
SAI_VS_INTERFACE_LANE_MAP_FILE=/usr/share/sonic/hwsku/lanemap.ini
|
||||
|
@ -1,5 +1,3 @@
|
||||
SAI_WARM_BOOT_READ_FILE=/var/cache/sai_warmboot.bin
|
||||
SAI_WARM_BOOT_WRITE_FILE=/var/cache/sai_warmboot.bin
|
||||
SAI_VS_SWITCH_TYPE=SAI_VS_SWITCH_TYPE_BCM56850
|
||||
SAI_VS_HOSTIF_USE_TAP_DEVICE=true
|
||||
SAI_VS_INTERFACE_LANE_MAP_FILE=/usr/share/sonic/hwsku/lanemap.ini
|
||||
|
@ -1,5 +1,3 @@
|
||||
SAI_WARM_BOOT_READ_FILE=/var/cache/sai_warmboot.bin
|
||||
SAI_WARM_BOOT_WRITE_FILE=/var/cache/sai_warmboot.bin
|
||||
SAI_VS_SWITCH_TYPE=SAI_VS_SWITCH_TYPE_BCM56850
|
||||
SAI_VS_HOSTIF_USE_TAP_DEVICE=true
|
||||
SAI_VS_INTERFACE_LANE_MAP_FILE=/usr/share/sonic/hwsku/lanemap.ini
|
||||
|
@ -1,5 +1,3 @@
|
||||
SAI_WARM_BOOT_READ_FILE=/var/cache/sai_warmboot.bin
|
||||
SAI_WARM_BOOT_WRITE_FILE=/var/cache/sai_warmboot.bin
|
||||
SAI_VS_SWITCH_TYPE=SAI_VS_SWITCH_TYPE_BCM56850
|
||||
SAI_VS_HOSTIF_USE_TAP_DEVICE=true
|
||||
SAI_VS_INTERFACE_LANE_MAP_FILE=/usr/share/sonic/hwsku/lanemap.ini
|
||||
|
@ -1,5 +1,3 @@
|
||||
SAI_WARM_BOOT_READ_FILE=/var/cache/sai_warmboot.bin
|
||||
SAI_WARM_BOOT_WRITE_FILE=/var/cache/sai_warmboot.bin
|
||||
SAI_VS_SWITCH_TYPE=SAI_VS_SWITCH_TYPE_BCM56850
|
||||
SAI_VS_HOSTIF_USE_TAP_DEVICE=true
|
||||
SAI_VS_INTERFACE_LANE_MAP_FILE=/usr/share/sonic/hwsku/lanemap.ini
|
||||
|
@ -1,5 +1,3 @@
|
||||
SAI_WARM_BOOT_READ_FILE=/var/cache/sai_warmboot.bin
|
||||
SAI_WARM_BOOT_WRITE_FILE=/var/cache/sai_warmboot.bin
|
||||
SAI_VS_SWITCH_TYPE=SAI_VS_SWITCH_TYPE_BCM81724
|
||||
SAI_VS_SAI_SWITCH_TYPE=SAI_SWITCH_TYPE_PHY
|
||||
SAI_VS_HOSTIF_USE_TAP_DEVICE=false
|
||||
|
@ -1,5 +1,3 @@
|
||||
SAI_WARM_BOOT_READ_FILE=/var/cache/sai_warmboot.bin
|
||||
SAI_WARM_BOOT_WRITE_FILE=/var/cache/sai_warmboot.bin
|
||||
SAI_VS_SWITCH_TYPE=SAI_VS_SWITCH_TYPE_BCM56850
|
||||
SAI_VS_HOSTIF_USE_TAP_DEVICE=true
|
||||
SAI_VS_INTERFACE_LANE_MAP_FILE=/usr/share/sonic/hwsku/lanemap.ini
|
||||
|
Loading…
Reference in New Issue
Block a user