Skip to content

sonic-kdump-config does not accept parameters for --remote option #2121

@mandyamahesh

Description

@mandyamahesh

We do not triage issue for this repo. All issues are triaged in sonic-net/sonic-buildimage repo
admin@sonic:~$ show boot
Current: SONiC-OS-master.0-dirty-20251030.082117
Next: SONiC-OS-master.0-dirty-20251030.082117
Available:
SONiC-OS-master.0-dirty-20251030.082117

sonic-kdump-config does not expect true/false for --remote option but the config kdump invokes the command with false option which fails with an error as below

admin@sonic:~$ sudo sonic-kdump-config --remote true
usage: sonic-kdump-config [-h] [--dump-db] [--enable] [--config-next]
[--disable] [--status-json] [--kdump-records-json]
[--config-json] [--num_dumps [NUM_DUMPS]] [--remote]
[--ssh_string [SSH_STRING]] [--ssh_path [SSH_PATH]]
[--memory [MEMORY]] [-v] [-l LINES]
sonic-kdump-config: error: unrecognized arguments: false

even hostcfgd report same errors on config save and config reload or reboot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions