-
Notifications
You must be signed in to change notification settings - Fork 0
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
RING-44448 - export_s3_keys.sh improvements #49
base: master
Are you sure you want to change the base?
Conversation
RING-44448 - keep raw files option RING-44448 - determine the IP to query for bucketd RING-44448 - basic error logs for each RID and bucket
a992cfc
to
a3f857b
Compare
Currently, the script has a hardcoded s3utils version which has to be bumped when the offline archive bundles a newer version. Options:
Something like:
|
Co-authored-by: scality-fno <[email protected]>
@scality-fno @fra-scality any additional suggestions before we widen the pool of reviewers? |
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.
haven't been able to test this one... do you have a lab handy with everything in place from this "dev" environment?
That said, gave a few suggestions (pointless, essentially).
Question: is the double tee pipeline used for logging somewhat redundant?
absolutely widen it as soon as possible — I'm no reliable proofreader right now. |
Co-authored-by: scality-fno <[email protected]>
Sort of, but not exactly. There are items that are only in the RID logs because they are not specific to a single bucket. THe RID log however does contain every log entry from each bucket. Below is the breakdown of log messages for a bucket log, and then the additional log messages only found in the RID log. TL;DR
|
ffb1dcc
to
e246e65
Compare
e246e65
to
c033ac9
Compare
RING-44448 - Autodetect the Bucketd IP address RING-44448 - Optional -i parameter to define Bucketd IP address (disables autodetect) RING-44448 - Optional -p parameter to define Bucketd Port (requied for IP autodetect if changed from 9000) RING-44448 - Required -r parameter for defining RAFT ID RING-44448 - Optional -s parameter for setting S3 Utils image name RING-44448 - Autodetect the S3 Utils version and define minimum version RING-44448 - Optional -v parameter for setting S3 Utils image version (disables autodetect) RING-44448 - Optional -w parameter for setting Working Directory
c033ac9
to
e51df5a
Compare
Opening this up to a wider audience. |
I haven't been able to sync up with @fra-scality (wr/ s3utils improvements) or Cédrick (wr/ latest spark toolkit use case scenario with EDF)... |
RING-44448 - keep raw files option
RING-44448 - determine the IP to query for bucketd
RING-44448 - basic error logs for each RID and bucket
I'm opening this as a draft PR for us to discuss and for some initial testing.
ss
to determine if port 9000 is bound to a specific IP or not.[::]:9000
for when ipv6 is enabled, or disabled via sysctl.0.0.0.0:9000
when ipv6 is disabled via grub and[::]
will not appear inss
output.Currently the script will report any failures that occurs into the
RID_${RID}.log
as well as the${bucket}.log
file, then it will exit with a specific RC code as defined in the script. This "fail early" logic will stop the processing of the RAFT session and report back which buckets have not yet been processed at the time of the ERROR and exiting the script.