-
Notifications
You must be signed in to change notification settings - Fork 25
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
Add s3 diagnostic management command #356
Conversation
52e0aa2
to
5c5a90c
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.
This needs some mention in some README
validator/app/src/compute_horde_validator/validator/management/commands/check_s3_setup.py
Outdated
Show resolved
Hide resolved
aws_secret_access_key = settings.AWS_SECRET_ACCESS_KEY | ||
if endpoint_url is None: | ||
endpoint_url = settings.AWS_ENDPOINT_URL | ||
|
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.
Isnt' AWS_DEFAULT_REGION missing here or is this on purpose?
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 is on purpose. We currently don't have any settings for setting region. I added the region in the diagnostic to check if existing environment variables are messing up the settings (boto3 reads from env when not explicitly mentioned).
No description provided.