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

Enable Kdump config by default for cisco-8000 #104

Merged
merged 1 commit into from
Sep 20, 2023

Conversation

amnsinghal
Copy link

Double-commit from master: sonic-net/sonic-buildimage#16224

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>
@amnsinghal amnsinghal requested a review from lguohan as a code owner September 8, 2023 23:38
@amnsinghal
Copy link
Author

@abdosi Pls help merge this double-commit from master, thanks.

@amnsinghal
Copy link
Author

@lguohan @abdosi Can you pls merge this double-commit from master, thanks.

@abdosi
Copy link
Contributor

abdosi commented Sep 14, 2023

@amnsinghal how this change will be useful for 202205 image ?

@anamehra for viz.

@amnsinghal
Copy link
Author

@amnsinghal how this change will be useful for 202205 image ?

@anamehra for viz.

@abdosi We use sonic-buildimage 202205 branch for Cisco builds, thanks.

@amnsinghal
Copy link
Author

@abdosi Can you pls merge this double-commit, if no further comments, thanks.

@amnsinghal
Copy link
Author

@abdosi @lguohan Can you pls merge this double-commit, we need this fix in 202205 for Cisco SONiC builds, thanks.

@anamehra To keep in loop.

@abdosi abdosi merged commit 54e113c into Azure:202205 Sep 20, 2023
@amnsinghal amnsinghal deleted the kdump_msft_202205 branch September 20, 2023 21:09
jon-nokia pushed a commit to jon-nokia/sonic-buildimage-msft that referenced this pull request Sep 25, 2023
…atically (#15522)

src/sonic-telemetry

* a4bfafe - (HEAD -> 202205, origin/202205) Merge pull request Azure#119 from zbud-msft/202205_gnmi_get_log (5 hours ago) [Ying Xie]
* 1b49409 - Merge branch '202205' into 202205_gnmi_get_log (7 days ago) [Zain Budhwani]
* b478159 - Cherry pick commit 4a8964a (Azure#104) (7 days ago) [Zain Budhwani]
jon-nokia pushed a commit to jon-nokia/sonic-buildimage-msft that referenced this pull request May 3, 2024
…omatically (#16744)

#### Why I did it
src/sonic-mgmt-common
```
* 7e3a8ad - (HEAD -> master, origin/master, origin/HEAD) Transformer infra enhancements and bug fixes (Azure#104) (5 days ago) [amrutasali]
```
#### How I did it
#### How to verify it
#### Description for the changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants