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

Fix issue where generate_dump will abort if docker is not running lea… #2194

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jeffhtgt
Copy link
Collaborator

@jeffhtgt jeffhtgt commented Jun 6, 2022

…ving

an incomplete support file.

Signed-off-by: Jeff Henning jeffhtgt@gmail.com

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)

…ving

an incomplete support file.

Signed-off-by: Jeff Henning <jeffhtgt@gmail.com>
@jeffhtgt
Copy link
Collaborator Author

@lguohan @prsunny Could you please help with review and moving this forward? Thank you!

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.

1 participant