Skip to content

Add Network Snapshot Script#8

Merged
mkumatag merged 2 commits intoppc64le-cloud:mainfrom
mtarsel:network-snapshot
Mar 5, 2023
Merged

Add Network Snapshot Script#8
mkumatag merged 2 commits intoppc64le-cloud:mainfrom
mtarsel:network-snapshot

Conversation

@mtarsel
Copy link
Contributor

@mtarsel mtarsel commented Nov 29, 2022

Include a bash script to gather network stats. Based off brief discussion at Issue #6

Not sure most ideal way to include bash script in Dockerfile so I'm willing to redo this commit if not ideal.

@mtarsel
Copy link
Contributor Author

mtarsel commented Mar 3, 2023

This is still on my radar but I had to focus on some openshift 4.13 tasks. During a debug I found a very similar script used by calico i thought id share here as an FYI: https://github.com/projectcalico/calico/blob/master/calicoctl/calicoctl/commands/node/diags.go

A bash script to gather network stats from ip, netstat, arp, and
ethtool commands. Script will exist in root directory of image and
output is saved in /home/network-snapshot-output dir with a date based
on the day when the script was executed.

Signed-off-by: Mick Tarsel <mtarsel@gmail.com>
@mtarsel mtarsel force-pushed the network-snapshot branch from 7bb974f to d27c536 Compare March 3, 2023 13:59
@mtarsel
Copy link
Contributor Author

mtarsel commented Mar 3, 2023

@mkumatag So i removed the trailing baskslash at the top but its still causing the tests to fail so im not sure how to proceed...

ERROR: failed to solve: dockerfile parse error on line 4: unknown instruction: git
Error: buildx failed with: ERROR: failed to solve: dockerfile parse error on line 4: unknown instruction: git

@mtarsel
Copy link
Contributor Author

mtarsel commented Mar 3, 2023

Sorry about that formatting problem. Would you mind squashing this for the merge?

@mkumatag mkumatag merged commit 149024a into ppc64le-cloud:main Mar 5, 2023
@Rajalakshmi-Girish
Copy link

/meow

@ppc64le-cloud-bot
Copy link
Contributor

@Rajalakshmi-Girish: cat image

Details

In response to this:

/meow

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

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.

4 participants