Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,299,007
Community Members
 
Community Events
165
Community Groups

Problem Error waiting for service to become stable: Waiter ServicesStable failed: Max attempts exc

Edited

Hi

I have this problem in the last step of pipeline (atlassian/aws-ecs-deploy:1.6.1):

 

✖ Error waiting for service to become stable: Waiter ServicesStable failed: Max attempts exceeded
And in the aws ecs events I see this:
service any-service was unable to place a task. Reason: You've reached the limit on the number of tasks you can run concurrently.
Can you help me?

1 answer

0 votes
Patrik S Atlassian Team Jun 02, 2022

Hello @Ruben Baeza Colin ,

Welcome to Atlassian Community!

From the error you are receiving in aws ecs event, you're likely exceeding the AWS ECS service quotas of your account : 

Since you are exceeding the limits, AWS is not being able to complete your deployment. I did some research and found this StackOverflow thread that suggests temporarily launching a basic EC2 instance in the region your are using, as it will enable you to run multiple tasks : 

If using that workaround does not fix the issue, I would suggest you to contact AWS support, as this is a limitation on AWS side not in the Bitbucket pipelines itself. AWS team will be able to further check your AWS account and potentially increase the limits.

Hope that helps! Let me know in case you have any questions.

Thank you, @Ruben Baeza Colin 

Kind regards,

Patrik S

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,235 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you