kdump-Remote-SSH-Configurations#3400
Conversation
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@qiluo-msft this PR has been approved by reviewers and can you please help to merge? Thanks. |
|
hi @Ghulam-Bahoo, we are seeing some issues with this change. Several buildimage pipeline runs are failing because of errors like the following: E 2025 Apr 1 04:56:08.321576 vlab-02 ERR hostcfgd: ['sonic-kdump-config', '--disable'] - failed: return code - 1, output:#012None @arista-nwolfe did some debugging on this and found out that you are using options.remote without adding that option. Could you please help fix this asap? @judyjoseph for viz. |
| changed = cmd_kdump_disable(options.verbose) | ||
| elif options.memory != False: | ||
| cmd_kdump_memory(options.verbose, options.memory) | ||
| elif options.remote: |
There was a problem hiding this comment.
remote option doesn't seem to be added via parser.add_argument
* sonic-net#3400 started using remote option without adding the option leading to errors seen like the following: E 2025 Apr 1 04:56:08.321576 vlab-02 ERR hostcfgd: ['sonic-kdump-config', '--disable'] - failed: return code - 1, output:#012None E 2025 Apr 1 04:56:09.638838 vlab-02 ERR hostcfgd: ['sonic-kdump-config', '--memory', '0M-2G:256M,2G-4G:320M,4G-8G:384M,8G-:448M'] - failed: return code - 1, output:#012None E 2025 Apr 1 04:56:11.199498 vlab-02 ERR hostcfgd: ['sonic-kdump-config', '--num_dumps', '3'] - failed: return code - 1, output:#012None E 2025 Apr 1 04:56:13.969595 vlab-02 ERR hostcfgd: ['sonic-kdump-config', '--remote', 'false'] - failed: return code - 2, output:#012None E 2025 Apr 1 04:56:16.373762 vlab-02 ERR hostcfgd: ['sonic-kdump-config', '--ssh_string', 'user@localhost'] - failed: return code - 1, output:#012None E 2025 Apr 1 04:56:17.579657 vlab-02 ERR hostcfgd: ['sonic-kdump-config', '--ssh_path', '/a/b/c'] - failed: return code - 1, output:#012None Signed-off-by: Prabhat Aravind <paravind@microsoft.com>
What I did Added remote kdump functionality using SSH in SONiC. How I did it I added two new commands and two options to configure the kdump remote ssh feature. How to verify it Upon kernel crash, kdump will transfer the crash report files to the ssh server.
What I did
Added remote kdump functionality using SSH in SONiC.
How I did it
I added two new commands and two options to configure the kdump remote ssh feature.
How to verify it
Upon kernel crash, kdump will transfer the crash report files to the ssh server.