Skip to content

[action] [PR:16224] Enable Kdump config by default for cisco-8000#16910

Merged
mssonicbld merged 1 commit intosonic-net:202305from
mssonicbld:cherry/202305/16224
Oct 17, 2023
Merged

[action] [PR:16224] Enable Kdump config by default for cisco-8000#16910
mssonicbld merged 1 commit intosonic-net:202305from
mssonicbld:cherry/202305/16224

Conversation

@mssonicbld
Copy link
Copy Markdown
Collaborator

Why I did it

Enabling kdump by default for cisco-8000 by setting crashkernel cmdline arg in device installer.conf.
After bootup, sonic-kdump-config wipes crashkernel arg from /host/grub/grub.cfg, and resets USE_KDUMP in /etc/default/kdump-tools, so kdump will not be enabled on subsequent reboot.

How I did it

Setting kdump enable config as part of init_cfg.json for cisco-8000 platforms.

How to verify it

Install SONiC image with kdump enabled by default (device/hwsku/installer.conf), then reboot.
Kdump config should persist on subsequent reboots and kdump loaded during bootup.

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

  • 202205

Description for the changelog

Enabling kdump by default for cisco-8000 platforms.

Why I did it
Enabling kdump by default for cisco-8000 by setting crashkernel cmdline arg in device installer.conf.
After bootup, sonic-kdump-config wipes crashkernel arg from /host/grub/grub.cfg, and resets USE_KDUMP in /etc/default/kdump-tools, so kdump will not be enabled on subsequent reboot.

How I did it
Setting kdump enable config as part of init_cfg.json for cisco-8000 platforms.

How to verify it
Install SONiC image with kdump enabled by default (device/hwsku/installer.conf), then reboot.
Kdump config should persist on subsequent reboots and kdump loaded during bootup

Signed-off-by: Aman Singhal <amans@cisco.com>
@mssonicbld
Copy link
Copy Markdown
Collaborator Author

Original PR: #16224

@mssonicbld mssonicbld merged commit f265c79 into sonic-net:202305 Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants