-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't update a service that is in UPDATE_ROLLBACK_FAILED mode #4333
Comments
Hello @dmathewwws 👋🏼! I can help you with that. Before I provide my recommendations, I just want to make sure a few things:
It will be easier if you can share a screenshot of the event logs, but I understand if you prefer not to do so. |
Hey @Lou1415926 thanks for the response.
|
To get your stack back to an updatable state, we need to skip the rollback of
This may look similar to what you attempted here:
However, instead of skipping the whole addon stack, this is skipping only the After running this command, your service stack and the addons stack should hopefully be in the |
I see the event that triggered the rollback was:
Do you know what is causing it? I was looking at this documentation, it seems like:
Does this sound like what's happening in your case? Sorry if I'm getting a little ahead 🙇🏼♀️ !! |
yes! I do have a domain name set and I didn't set EnableVersionUpgrade. Thanks for your help @Lou1415926. My service is up to date and running now :) |
I have a service called api that has 2 stacks: api & api-AddonsStack (One of the addons is an OpenSearch DB).
I had an OpenSearch DB with an EngineVersion of 1.3, I then tried to upgrade to Opensearch EngineVersion 2.3 (using copilot inside the yml file). My OpenSearch has upgraded to 2.3, but I did get a UPDATE_ROLLBACK_FAILED for both stacks.
When I got to stacks section in the AWS Console this is the details I get for the UPDATE_ROLLBACK_FAILED error:
Embedded stack arn:aws:...api-AddonsStack was not successfully updated. Currently in UPDATE_ROLLBACK_FAILED with reason: The following resource(s) failed to update: [ElasticsearchDomain].
More specifically when I go to the Resource, it gives this error:
Resource handler returned message: "Error occurred during operation 'Failed to submit upgrade. Upgrade from OpenSearch_2.3 to OpenSearch_1.0 not supported.
When I go to the Template section for the Addon stack, I unexpectedly do see:
even though that is not what my yml file says
Furthermore, when I view drift results, I see Elasticsearch as the service that isn't matching:
1 tried 2 solutions:
Stack:arn:aws:...api-AddonsStack is in UPDATE_ROLLBACK_FAILED state and can not be updated.
but get the following error:
An error occurred (ValidationError) when calling the ContinueUpdateRollback operation: RollbackUpdatedStack cannot be invoked on child stacks
I also tried
but get the following error:
Nested stack resources can only be skipped when their embedded stack statuses are one of [DELETE_COMPLETE, DELETE_IN_PROGRESS, DELETE_FAILED]
The text was updated successfully, but these errors were encountered: