Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Nokia][DeviceData] Update the Nokia platform IXR-7250E device data #16028

Merged
merged 1 commit into from
Aug 17, 2023

Conversation

mlok-nokia
Copy link
Contributor

@mlok-nokia mlok-nokia commented Aug 3, 2023

Why I did it

Update the platform_reboot of Nokia Platform IXR-7250E-36x400G to displays the correct reboot-cause history when reboot from supervisor card.

Work item tracking
  • Microsoft ADO (number only): 25028212

How I did it

Modify the platform_reboot script to copy the correct reboo-cause.txt file from NDK to the /host/reboot-cause directory at the down cycle when the reboot is issued from Supervisor (for both reboot right after install a new image and normal reboot)

How to verify it

  1. Execute a CLI command "sudo reboot" on the Supervisor
  2. After system is up, on the Linecard, execute the CLI show reboot-cause history
Name                 Cause                                                                           Time                             User    Comment
-------------------  ------------------------------------------------------------------------------  -------------------------------  ------  ---------
2023_08_03_16_41_30  reboot from Supervisor                                                          Thu 03 Aug 2023 04:39:48 PM UTC          N/A
2023_08_03_00_42_16  reboot from Supervisor                                                          Thu 03 Aug 2023 12:39:58 AM UTC  admin   N/A
2023_08_02_04_04_58  reboot                                                                          Wed 02 Aug 2023 04:02:56 AM UTC  admin   N/A
2023_08_02_03_20_21  reboot                                                                          Wed 02 Aug 2023 03:18:18 AM UTC  admin   N/A
2023_08_01_16_14_57  reboot                                                                          Tue 01 Aug 2023 02:49:45 PM UTC  admin   N/A
2023_08_01_14_46_45  reboot                                                                          Tue 01 Aug 2023 02:44:43 PM UTC  admin   N/A

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211
  • 202305

Tested branch (Please provide the tested image version)

branch 202205 latest

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@mlok-nokia
Copy link
Contributor Author

@judyjoseph This PR is to correct to display the reboot cause when reboot from Supervisor card For Nokia platform. Please review it. Thanks

@rlhui rlhui merged commit a28352e into sonic-net:master Aug 17, 2023
18 checks passed
@mlok-nokia
Copy link
Contributor Author

@judyjoseph @gechiang Could you please cherry-pick this PR to 202205 branch? Thanks

@gechiang
Copy link
Collaborator

@yxieca , @StormLiangMS , This Bug fix PR is backport needed for the corresponding branches. This is very specific to the Nokia IXR-7250E platform only. should not impact anything else.
Thanks!

mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this pull request Sep 1, 2023
…onic-net#16028)

Why I did it
Update the platform_reboot of Nokia Platform IXR-7250E-36x400G to displays the correct reboot-cause history when reboot from supervisor card.

Work item tracking
Microsoft ADO (number only):
How I did it
Modify the platform_reboot script to copy the correct reboo-cause.txt file from NDK to the /host/reboot-cause directory at the down cycle when the reboot is issued from Supervisor (for both reboot right after install a new image and normal reboot)

Signed-off-by: mlok <marty.lok@nokia.com>
mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this pull request Sep 1, 2023
…onic-net#16028)

Why I did it
Update the platform_reboot of Nokia Platform IXR-7250E-36x400G to displays the correct reboot-cause history when reboot from supervisor card.

Work item tracking
Microsoft ADO (number only):
How I did it
Modify the platform_reboot script to copy the correct reboo-cause.txt file from NDK to the /host/reboot-cause directory at the down cycle when the reboot is issued from Supervisor (for both reboot right after install a new image and normal reboot)

Signed-off-by: mlok <marty.lok@nokia.com>
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202205: #16381

@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202211: #16380

rlhui pushed a commit that referenced this pull request Sep 1, 2023
…16028) (#16381)

Why I did it
Update the platform_reboot of Nokia Platform IXR-7250E-36x400G to displays the correct reboot-cause history when reboot from supervisor card.

Work item tracking
Microsoft ADO (number only):
How I did it
Modify the platform_reboot script to copy the correct reboo-cause.txt file from NDK to the /host/reboot-cause directory at the down cycle when the reboot is issued from Supervisor (for both reboot right after install a new image and normal reboot)

Signed-off-by: mlok <marty.lok@nokia.com>
Co-authored-by: Marty Y. Lok <76118573+mlok-nokia@users.noreply.github.com>
mssonicbld pushed a commit to mssonicbld/sonic-buildimage that referenced this pull request Sep 3, 2023
…onic-net#16028)

Why I did it
Update the platform_reboot of Nokia Platform IXR-7250E-36x400G to displays the correct reboot-cause history when reboot from supervisor card.

Work item tracking
Microsoft ADO (number only):
How I did it
Modify the platform_reboot script to copy the correct reboo-cause.txt file from NDK to the /host/reboot-cause directory at the down cycle when the reboot is issued from Supervisor (for both reboot right after install a new image and normal reboot)

Signed-off-by: mlok <marty.lok@nokia.com>
@mssonicbld
Copy link
Collaborator

Cherry-pick PR to 202305: #16406

mssonicbld pushed a commit that referenced this pull request Sep 3, 2023
…16028)

Why I did it
Update the platform_reboot of Nokia Platform IXR-7250E-36x400G to displays the correct reboot-cause history when reboot from supervisor card.

Work item tracking
Microsoft ADO (number only):
How I did it
Modify the platform_reboot script to copy the correct reboo-cause.txt file from NDK to the /host/reboot-cause directory at the down cycle when the reboot is issued from Supervisor (for both reboot right after install a new image and normal reboot)

Signed-off-by: mlok <marty.lok@nokia.com>
sonic-otn pushed a commit to sonic-otn/sonic-buildimage that referenced this pull request Sep 20, 2023
…onic-net#16028)

Why I did it
Update the platform_reboot of Nokia Platform IXR-7250E-36x400G to displays the correct reboot-cause history when reboot from supervisor card.

Work item tracking
Microsoft ADO (number only):
How I did it
Modify the platform_reboot script to copy the correct reboo-cause.txt file from NDK to the /host/reboot-cause directory at the down cycle when the reboot is issued from Supervisor (for both reboot right after install a new image and normal reboot)

Signed-off-by: mlok <marty.lok@nokia.com>
@mlok-nokia mlok-nokia deleted the update-nokia-device-data branch September 27, 2024 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

7 participants