Environment named ****** is in an invalid state for this operation.

0

I try to update an Elastic Beanstalk environment which currently is OK but each time I try to update any configuration I get the following error:
Environment named ****** is in an invalid state for this operation. Must be Ready.
Today Elastic Beanstalk has a very bad performance in everything.

已提问 5 年前1786 查看次数
3 回答
0

I've got exactly same issue. Using the stats command I see STATUS = READY but deploy keep failing.

This issue started after I've cloned the environment and later deleted the cloned one and left the original.

Enter image description here

已回答 1 年前
  • I had to get AWS support involved with my case. The first step after AWS Support was involved was to roll back the failed deploy so that the environment was in an UPDATE_ROLLBACK_COMPLETE state. AWS Support then took over and adjusted internal settings to fix the deploy so that I was able to deploy the environment again. Hope that helps.

0

I have found this issue is because some Elastic Beanstalk scheduled actions: A scheduled action set the environment without instances. This is ok. The second one scheduled action set the environment with the default autoscaling policy (1 instance running, 1-4 required instances). This last one has been failing on rebuild environment or update environment.

If I configure it into the autoscaling group, will work all except rebuild environment where I have to delete the scheduled actions in order to rebuild the environment.

Shouldn't EB allow or recreate the scheduled actions on rebuild environment?

已回答 5 年前
0

Looks like one of my environments is receiving the same error message that you identified at the start of this thread ("Must be Ready"). However, the status of the environment according to the app IS Ready.

I am currently unable to deploy new application versions, or make configuration changes to the environment as AWS Elastic Beanstalk returns the same error message each time. "Environment named XXXXXX is in an invalid state for this operation. Must be Ready."

I have checked for scheduled updates and reviewed the environment configuration like you did above. Last resort looks like an environment rebuild to clear out whatever error AWS is getting caught on.

Was this the last step that you took to correct everything? Do you have any advice on what to look for or avoid during the rebuild?

Thanks.

已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则