Skip to content

Instantly share code, notes, and snippets.

@aufi
Last active September 14, 2020 11:35
Show Gist options
  • Save aufi/cd66ed44648a7538678acb89add87d03 to your computer and use it in GitHub Desktop.
Save aufi/cd66ed44648a7538678acb89add87d03 to your computer and use it in GitHub Desktop.

Notes on trap : TERM INT; sleep infitiny & wait command from must-gather

Links

Notes

Asked Maciej S. and Luiz S. (author of that part of code). The trap does allows more reliable and faster kill of the copy container (: is just a no-op)..

Got recommendations:

  • ensure rsync is installed on the image (it is) to allow use it on oc rsync data gather cmd
  • try execute manual rsync from the copy container ( oc rsync must-gather-8vmfg:/must-gather . -n openshift-must-gather-5nqkj worked)

Need investigate why the progress hang up, but some irregular behavior was known to Luiz from the past.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment