Boto3/botocore v1.35.24 cause credstash lookup to error out because of AWS::Auth::AccountId unimplemented variable
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Reproduce the failure with boto3/botocore 1.35.24, Ansible's credstash lookup, and credstash v1.17.1, then inspect the botocore change referenced in commit caa3fde. Compare against 1.35.23 and determine how AWS::Auth::AccountId is handled; done means the credstash lookup succeeds on the newer version with regression coverage for the failure.
Written by the indexing model from the issue text.
Description
Describe the bug
Boto3/botocore 1.35.24 cause credstash plugin lookups to error out
Expected Behavior
Credstash lookup succeeds
Current Behavior
Our automation relies on being able to fetch secrets from credstash/DynamoDB, and after upgrading to boto3/botocore 1.35.24 released 2:10pm ET Fri Sep 20 2024 our ansible automation fails to complete across fleet of VMs.
"msg": "An unhandled exception occurred while running the lookup plugin 'credstash'. Error was a <class 'ansible.errors.AnsibleError'>, original message: Encountered exception while fetching <credstash secret path>: Unknown builtin variable name: AWS::Auth::AccountId. Encountered exception while fetching <credstash secret path>: Unknown builtin variable name: AWS::Auth::AccountId"
Reproduction Steps
Pin boto3/botocore to latest (1.35.24) and run task with credstash plugin lookup (using latest credstash v1.17.1)
Possible Solution
Pin back to 1.35.23 which does not introduce unimplemented variables: https://github.com/boto/botocore/commit/caa3fde03514a2308a7bfcac05b2bb3fbec6797a#diff-2094bc30bf64ab572d05afda026a85f8dc4e551fac8994c8d72d74855452ea98L453-R455
Additional Information/Context
Had P1 Support case with AWS, no bug filed overnight so filing one in case this is a breaking change
SDK version used
1.35.24
Environment details (OS name and version, etc.)
Ubuntu 22.04, ansible v2.9.13 (but we tested across multiple versions)
- Dominant language
- Python
- Stars
- 1.7k
- Forks
- 1.2k
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 15
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from boto/botocore
-
CSMSerializer._truncate logs the truncated text and the maximum length in swapped orderPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
documentation p3 route53 service-api
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
generate_presigned_post mutates the caller's Conditions listPossibly taken A pull request linked to this issue is open or already merged. Openbug p2 released s3
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
boto/botocore#3847 · 3 comments ·
Maintainers usually reply within 1 day
-
CloudFront ListVpcOrigins: VpcOriginList marks Marker and IsTruncated as required, but the service never returns themPossibly taken @SwastikTripathi claimed this 29 days ago. Openbug cloudfront p3 service-api
Difficulty 1/5 Under an hour Newbie friendliness 87/100
Maintainers usually reply within 1 day
-
Add HARICA to trusted to cacert.pemMay be free again @aBurmeseDev claimed this 56 days ago, and no pull request is open. Openfeature-request needs-discussion p2
Difficulty 1/5 1-3 hours Newbie friendliness 84/100
boto/botocore#3798 · 3 comments · 6 reactions · 1 assignee ·
Maintainers usually reply within 1 day
Similar issues
-
bot-triaged module: correctness (silent) module: fft triage review
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
conda-forge/zarpaint-feedstock#8 · 1 comment · 1 reaction ·
-
plot_prediction colorbar shows a 0-1 range instead of the data rangePossibly taken @nikhil3495 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
mllam/neural-lam#902 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
didi/helixharness#28 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 1/5 Under an hour Newbie friendliness 62/100
DaoCloud/DaoCloud-docs#7839 ·
Maintainers usually reply within 1 day