Closed adhadseKavida closed 3 months ago
Thanks for reaching out. I'm not sure what the issue is here but it may be something that we would need to ask the Fargate team about.
Can you provide a full code snippet for us to try and reproduce this, and complete debug logs (with sensitive info redacted)? You can get the full logs by adding boto3.set_stream_logger('')
to your script.
Also version 1.34.14 is a bit older, have you tried updating to the latest version (1.34.108 per the CHANGELOG)?
I'll updating to a little latest version and try once again.
Additionally, I'll send the logs when I test it out.
Greetings! It looks like this issue hasn’t been active in longer than five days. We encourage you to check if this is still an issue in the latest release. In the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or upvote with a reaction on the initial post to prevent automatic closure. If the issue is already closed, please feel free to open a new one.
Describe the bug
Currently on boto3 1.34.14 and AWS FARGATE Spot job.
Whenever at the end of around 15 min of the job, the job can't retrieve the secrets for our MongoDB. Previously the job used to run around ~12 min just fine.
For your information, the Fargate job runs a two async jobs, one after another, the later taking a little longer to process.
If I disable the secondary task, the job runs just fine without any issue.
I tried looking at stackoverflow to increase the
ulimit
fornofile
, but such thing isn't supported on FARGATE platform.What's the issue here, I don't seems to be able to debug it locally.
Expected Behavior
The job should just fine and retrieve the Credentials
Current Behavior
The task fails to retrieve the secret from the Secrets Manager.
Reproduction Steps
hard to reproduce with current setup without including long running async jobs.
Possible Solution
ulimit
for fargate jobs?Additional Information/Context
No response
SDK version used
1.34.14
Environment details (OS name and version, etc.)
AWS Fargate