You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the DPU is powered off (Transition from online to offline for DPU. We create a file prev_reboot_time.txt in the history folder for each of the DPU modules: Example: /host/reboot-cause/module/dpu0/history/prev_reboot_time.txt
Due to this file, if we perform switch reboot the following log error is seen: 2025 Mar 18 20:50:26.274641 sonic ERR process-reboot-cause[16633]: Unable to process reload cause file /host/reboot-cause/module/dpu0/history/prev_reboot_time.txt: Extra data: line 1 column 5 (char 4) on the switch.
Method to Reproduce
Power off one of the DPUs during runtime : config chassis modules shutdown DPU0
Wait for DPU oper status to transition to offline : show chassis modules status DPU0 -> Check that Oper-status is Offline
Confirm that the file prev_reboot_time.txt exists: cat /host/reboot-cause/module/dpu0/history/prev_reboot_time.txt
Reboot the switch: reboot
Wait for switch to finish rebooting.
Confirm that the following log error is seen: 2025 Mar 18 20:50:26.274641 sonic ERR process-reboot-cause[16633]: Unable to process reload cause file /host/reboot-cause/module/dpu0/history/prev_reboot_time.txt: Extra data: line 1 column 5 (char 4)
The text was updated successfully, but these errors were encountered:
…D automatically (#22415)
#### Why I did it
src/sonic-platform-daemons
```
* a86dd89 - (HEAD -> master, origin/master, origin/HEAD) Store reboot_cause history files with json extension. Fix for #22072 (#603) (3 days ago) [rameshraghupathy]
* 6dfb552 - Refactor ledd daemon & fix high CPU usage due to unexpected socket close (#548) (3 days ago) [Prince George]
* d36e830 - Change PSU key to use get_name API instead of index (#446) (4 days ago) [Gregory Boudreau]
```
#### How I did it
#### How to verify it
#### Description for the changelog
Issue Summary
When the DPU is powered off (Transition from online to offline for DPU. We create a file prev_reboot_time.txt in the history folder for each of the DPU modules: Example: /host/reboot-cause/module/dpu0/history/prev_reboot_time.txt
Due to this file, if we perform switch reboot the following log error is seen:
2025 Mar 18 20:50:26.274641 sonic ERR process-reboot-cause[16633]: Unable to process reload cause file /host/reboot-cause/module/dpu0/history/prev_reboot_time.txt: Extra data: line 1 column 5 (char 4)
on the switch.Method to Reproduce
Power off one of the DPUs during runtime :
config chassis modules shutdown DPU0
Wait for DPU oper status to transition to offline :
show chassis modules status DPU0
-> Check that Oper-status is OfflineConfirm that the file prev_reboot_time.txt exists:
cat /host/reboot-cause/module/dpu0/history/prev_reboot_time.txt
Reboot the switch:
reboot
Wait for switch to finish rebooting.
Confirm that the following log error is seen:
2025 Mar 18 20:50:26.274641 sonic ERR process-reboot-cause[16633]: Unable to process reload cause file /host/reboot-cause/module/dpu0/history/prev_reboot_time.txt: Extra data: line 1 column 5 (char 4)
The text was updated successfully, but these errors were encountered: