https://pulumi.com logo
#general
Title
# general
b

busy-umbrella-36067

10/17/2018, 8:40 PM
any way to fix a failed update?
Copy code
error: [409] Conflict: Another update is currently in progress.
i

incalculable-sundown-82514

10/17/2018, 8:41 PM
pulumi cancel
cancels the update that’s in progress
🙏 1
c

creamy-potato-29402

10/17/2018, 8:41 PM
we should probably explain that in the error message
b

big-piano-35669

10/17/2018, 8:43 PM
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

creamy-potato-29402

10/17/2018, 8:44 PM
That’s true, but I think we could still improve the error message
b

big-piano-35669

10/17/2018, 9:17 PM
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

busy-umbrella-36067

10/17/2018, 9:18 PM
@big-piano-35669 forcefully closed it, used
update
instead of
preview
on production 😁
pulumi cancel
fixed it
b

big-piano-35669

10/17/2018, 9:23 PM
Great, thanks -- filed https://github.com/pulumi/pulumi/issues/2073 to do better here.
2 Views