-
Notifications
You must be signed in to change notification settings - Fork 107
Stop explicitly manipulating firewalls in pbench-fio and pbench-uperf
#2524
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
Stop explicitly manipulating firewalls in pbench-fio and pbench-uperf
#2524
Conversation
a489f9e to
c6afaaf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the indentation is funky in one place; but otherwise just a few side comments. Although given the assorted fixes across the layers of commit here, I do wonder about whether you should consider changing the PR title...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could use some polishing.
Originally part of PR distributed-system-analysis#2524, we correct the usage output to be emitted on `stderr` in error conditions, and to `stdout` for the one non-error condition, `--help`. Further we remove the annoying trailing semi-colons, and remove the extra `shift` statement while processing options. Lastly, unrecognized parameters now cause an error.
|
FWIW, I created PR #2526 to track the |
c6afaaf to
81576a5
Compare
|
I've decided to convert this to a |
Originally part of PR #2524, we correct the usage output to be emitted on `stderr` in error conditions, and to `stdout` for the one non-error condition, `--help`. Further we remove the annoying trailing semi-colons, and remove the extra `shift` statement while processing options. Lastly, unrecognized parameters now cause an error.
7cc3b26 to
e446b74
Compare
All three existing benchmark scripts which manipulate network firewalls have been changed to ignore firewalls entirely. For `pbench-fio`, this means it no longer attempts to add open ports when clients are used. For `pbench-uperf` and `pbench-netperf`, those scripts no longer disable `firewalld` explicitly. Any one using `pbench-fio` in client mode, or either `pbench-uperf` or `pbench-netperf`, must be responsible for properly enabling access on the expected ports. The documentation for `pbench-uperf` and `pbench-fio` have been updated to reflect this new behavior.
e446b74 to
2f977ae
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GTG
All three existing benchmark scripts which manipulate network firewalls have been changed to ignore firewalls entirely.
For
pbench-fio, this means it no longer attempts to add open ports when clients are used.For
pbench-uperfandpbench-netperf, those scripts no longer disablefirewalldexplicitly.Any one using
pbench-fioin client mode, or eitherpbench-uperforpbench-netperf, must be responsible for properly enabling access on the expected ports.The documentation for
pbench-uperfandpbench-fiohave been updated to reflect this new behavior.Fixed #1217.