-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
AWS CLI: Copy local file to remote bucket started failing #2791
Comments
Hi @Avaq! |
@miketimofeev Very helpful! Thank you. Setting the region fixed the issue. I should probably use an image label that doesn't cover multiple major versions to avoid confusion in the future. 😳 |
Fixed bug nspcc-dev/neofs-s3-gw#798 This bug is only reproducible on ubuntu-latest in github actions. This is a bug specifically of github acions, not the neofs-s3-gw: actions/runner-images#2791 aws/aws-cli#5623 Signed-off-by: Oleg Kulachenko <[email protected]>
Fixed bug nspcc-dev/neofs-s3-gw#798 This bug is only reproducible on ubuntu-latest in github actions. This is a bug specifically of github acions, not the neofs-s3-gw: actions/runner-images#2791 aws/aws-cli#5623 Signed-off-by: Oleg Kulachenko <[email protected]>
Fixed bug nspcc-dev/neofs-s3-gw#798 This is a test environment error, not neofs-s3-gw: actions/runner-images#2791 aws/aws-cli#5623 Signed-off-by: Oleg Kulachenko <[email protected]>
Fixed bug nspcc-dev/neofs-s3-gw#798 This is a test environment error, not neofs-s3-gw: actions/runner-images#2791 aws/aws-cli#5623 Tests results: https://github.com/vvarg229/neofs-node/actions/runs/5601200752/jobs/10244709153 https://http.t5.fs.neo.org/86C4P6uJC7gb5n3KkwEGpXRfdczubXyRNW5N9KeJRW73/216-1689781099/index.html#
Fixed bug nspcc-dev/neofs-s3-gw#798 This is a test environment error, not neofs-s3-gw: actions/runner-images#2791 aws/aws-cli#5623 Signed-off-by: Oleg Kulachenko <[email protected]>
AWS CLI v2 runs into errors if the region is not defined¹ The AWS_DEFAULT_REGION variable is available in the GH Action CI after the aws-actions/configure-aws-credentials@v4 step. ¹ <actions/runner-images#2791 (comment)>
AWS CLI v2 runs into errors if the region is not defined¹ The AWS_DEFAULT_REGION variable is available in the GH Action CI after the aws-actions/configure-aws-credentials@v4 step. ¹ <actions/runner-images#2791 (comment)>
Description
I have a GitHub action that runs something along the lines of the following command:
aws s3 cp ./local.zip 's3://remote-bucket'
This has been working for a long time, but started failing a few weeks ago (the last successful build was on Feb 1, 2021; the first failing build on Feb 8, 2021). The error message it fails with gives me the impression that it's a python dependency issue with a dependency installed for the awscli package.
Area for Triage:
Scripting and command line; Packages
Question, Bug, or Feature?:
Bug
Virtual environments affected
Image version
20210208.0
Expected behavior
The command succeeds and the AWS bucket now contains the zip file. The same command does work on my local machine, where I have used it with several versions of the awscli package.
Actual behavior
The command immediately exits with the following output:
Repro steps
A description with steps to reproduce the issue. If your have a public example or repo to share,
please provide the link.
job
with astep
with arun
withaws s3 cp ./local.zip 's3://MY_BUCKET'
local.zip
:zip -FI local.zip <(echo 'hi')
The text was updated successfully, but these errors were encountered: