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년 전1787회 조회
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

답변함 일 년 전
  • 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.

답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠