any way to fix a failed update? ``` error: [409] ...
# general
b
any way to fix a failed update?
Copy code
error: [409] Conflict: Another update is currently in progress.
i
pulumi cancel
cancels the update that’s in progress
🙏 1
c
we should probably explain that in the error message
b
Well, to be clear, the usual solution is to wait until the other update is done... 🙂
pulumi cancel
is really a last resort, since if the update failed gracefully (i.e., not a Pulumi bug), it almost never gets left in this state.
c
That’s true, but I think we could still improve the error message
b
I am actually wondering, @busy-umbrella-36067 do you know how the stack got into this state? Did
cancel
do the trick? I ask because normally this just means you have a concurrent update running somewhere. Cancelling it can have adverse implications. This coupled with the fact that you really ought not to need to use it other than for Pulumi bugs is why we don't advertise it. If it's just a concurrent update, @colossal-beach-47527 were discussing this in the morning today, and it's clear we need a better solution. I'll file an issue momentarily.
b
@big-piano-35669 forcefully closed it, used
update
instead of
preview
on production 😁
pulumi cancel
fixed it
b
Great, thanks -- filed https://github.com/pulumi/pulumi/issues/2073 to do better here.