Skip to content
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

.gz artifact cannot be downloaded (S3) #484

Open
agarfer1 opened this issue Apr 17, 2024 · 0 comments
Open

.gz artifact cannot be downloaded (S3) #484

agarfer1 opened this issue Apr 17, 2024 · 0 comments

Comments

@agarfer1
Copy link

This is failing for private buckets, I have not tried in a public one.

Nomad version:

Nomad v1.7.7
BuildDate 2024-04-16T19:26:43Z
Revision 0f34c85ee63f6472bd2db1e2487611f4b176c70c

Ubuntu 22.04.3 LTS x64

artifact {
      source = "s3://random-bucket-54548.s3-us-east-1.amazonaws.com/results/random-file.json.gz"
      destination = "local/random-file.json"
}

If the destination is left as a folder, this is the error:

failed to download artifact "s3://random-bucket-54548.s3-us-east-1.amazonaws.com/results/random-file.json.gz": getter subprocess failed: exit status 1: failed to download artifact: gzip-compressed files can only unarchive to a single file

If the destination is set to a specific file, this is the error:

failed to download artifact "s3://random-bucket-54548.s3-us-east-1.amazonaws.com/results/random-file.json.gz":
 getter subprocess failed: exit status 1: failed to download artifact: AccessDenied: Access Denied status code: 403,
 request id: SDF7[...], host id: bpJJ[...]
@agarfer1 agarfer1 changed the title .gz artifact cannot be extracted (S3) .gz artifact cannot be downloaded (S3) Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant