-
Notifications
You must be signed in to change notification settings - Fork 48
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
InvalidChangeSetStatus: Cannot delete ChangeSet in status CREATE_IN_PROGRESS #45
Comments
Hi @miltador ,
|
Hi, @mweagle.
I can also tell that once this error occurs, if I wait for 1-2 minutes and rerun, it then provisions the project for about ~10 minutes to completion which is loooong. |
Thanks for the info @miltador This looks like a race condition when quickly creating/destroying CloudFormation ChangeSets:
When the empty change set is detected, Sparta attempts to delete the AWS changeset, but as it's still in When this happens are there local changes that you're trying to push to AWS, or is this more analogous to an |
Mostly it's just updating of my functions code, not changing AWS configuration itself or adding new functions.
|
Sparta could retry in a polling loop, but that's more a mitigation than a solution. Does this happen all the time? What's your typical workflow in terms of publishing? When this happens, does the Sparta output match what you see in the AWS console? |
This happens every day. |
Hi @miltador - keeping this open for the next Sparta release to see if there's a better way to handle the race condition. |
Hi @miltador - encountered this issue today. Looking to see how it might be mitigated. |
Hi @miltador - finally was able to reproduce this. Resolved in Sparta 0.11.2. Thanks! |
I often come up with the mentioned error while provisioning my service.
The process then shuts down.
I have to relaunch the provisioning process several times then to get it working.
The command I use is:
go run main.go provision --s3Bucket $S3_BUCKET --tags staging
Output log:
The text was updated successfully, but these errors were encountered: