I am running CVAT on a VM and attempting to export annotations to (lakefs, hosted by my anization) S3 cloud storage. However, I encounter an AccessDenied error, despite being able to upload to the same S3 bucket using boto3 from the same VM, and being able to access the videos from the S3 server for the annotations process.
Also tried to download the annotations locally within CVAT, using local storage option, but nothing happens there. It's not downloaded to my laptop, or anywhere on the VM. This is my docker-compose.override.yml
, the cvat_server
and ui
and worker_annotation also have the same environments and volumes as below and it works to access the S3 server there, but annotations aren't being able to be exported. What other volume do I need to give these permissions and certificates over to? Or is there something else I'm missing?
volumes:
- /etc/ssl/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt:ro
- /usr/local/share/ca-certificates/[s3-certificate].crt:/etc/ssl/certs/[s3-certificate.crt]:ro
environment:
- REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
- AWS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt
- AWS_ACCESS_KEY_ID=[public key]
- AWS_SECRET_ACCESS_KEY=[secret key]
I had issues with SSL verification before being able to access the server, and I got around that by adding these environment commands in the override.yml, but now I have added a few of them for most containers and it doesn't seem to solve the issue.
Any help is appreciated a lot! Thanks.