Skip to content
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

ts-redis-cluster integ tests fail on pulumi destroy #86

Open
ghost opened this issue Jan 24, 2023 · 0 comments
Open

ts-redis-cluster integ tests fail on pulumi destroy #86

ghost opened this issue Jan 24, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Jan 24, 2023

ts-redis-cluster, upgrade failed today during pulumi destroy. All the other steps succeeded — we just couldn't destroy the stack. Pulumi reported the following error:

error deleting MemoryDB Cluster (ts-redis-cluster-u-3990398698-redis): InvalidClusterStateFault: Cluster ts-redis-cluster-u-3990398698-redis has status snapshotting which is not valid for deletion.

When I manually tried to delete the stack later, it succeeded. It looks like Pulumi just isn't correctly waiting for the state to change to non-snapshotting.

If this happens again, we should consider adding a between-destroy-retries.sh hook that finds the cluster and waits for its status to be something valid.

I'm not sure exactly what that looks like, because I just took down the cluster (🤦). But next time this happens, we should poke around with aws memorydb describe-clusters and figure out how to script the wait.

@ghost ghost added the bug Something isn't working label Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

0 participants