sonic-utilities
sonic-utilities copied to clipboard
Fix issue where generate_dump will abort if docker is not running lea…
…ving
an incomplete support file.
Signed-off-by: Jeff Henning [email protected]
What I did
Fix generate_dump to not abort if a docker is not running.
How I did it
Add check for running docker in copy_from_docker() and return if the docker is not running (ported from a 202012 branch).
How to verify it
Got a successful dump.tgz after running "show techsupport". Previously the file would be incomplete due to command abort.
Previous command output (if the output of a command-line utility has changed)
New command output (if the output of a command-line utility has changed)
@lguohan @prsunny Could you please help with review and moving this forward? Thank you!