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
S3 related configuration #1730
Comments
Is there any way I can get help here?
Since executor compress service.log and saves it to SANDBOX/log folder, uploader can't find it. I tried adding :
to /etc/singularity.executor.yaml, /etc/singularity.executor.cleanup.yaml, /etc/singularity.s3base.yaml but nothing has changed. Version 0.13 has SANDBOX/logs folder in search path by default, so it works when using that version. |
Did you read through the release notes for 0.14 already? There is a section on configuration updates specifically related to s3 uploader configs https://github.com/HubSpot/Singularity/releases/tag/Singularity-0.14.0 |
I did it many times, tried everything. No success.
I need to upload file called |
I'll edit the release notes later to make it more clear. In the notes it states that that config you posted gets removed from executor, but needs to be added to singularity service yaml. From the current release notes. # in SingularityService yaml configuration
s3:
s3Bucket: my-logs-bucket
s3KeyFormat: "%requestId/%Y/%m/%taskId_%index-%s-%filename"
s3StorageClass: "STANDARD_IA"
applyS3StorageClassAfterBytes: 75000
s3UploaderAdditionalFiles:
- filename: access.log
# The default directory in the executor was set to 'logs', now it must be manually specified
# If not specified, the directory to search for log files will be the task app directory in the sandbox
directory: logs (note the two storage class related configs are optional) |
I've updated the release notes to make this more obvious. All you should need is something like:
in the service yaml config |
That's good, now it works fine! Thanks for this. |
That part should have remained similar. If you had a custom |
|
How can I debug it? |
Can someone provide me with service, executor, and s3uploder configs, so I could see S3logs of my tasks in UI?
Thanks in advance
The text was updated successfully, but these errors were encountered: