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

brief-carpenter-29515

06/10/2022, 7:23 AM
👋 Hi everyone! I try to make a database in gcp, but I always have a timeout and then I always have a stale state. I can't understand what I'm supposed to do, Am I missing something?
Copy code
error: post-step event returned an error: failed to save snapshot: renewing lease: [403] The provided update token has expired.
all the troubleshooting tells me to do is delete the resource and presumably try again.... But the database call takes too long and the token expires?
Any advice at all? Is there a way to manage this situation? It seems popular
b

billowy-army-68599

06/10/2022, 3:02 PM
@brief-carpenter-29515 how long is the database taking to create? what state store are you using?
b

brief-carpenter-29515

06/10/2022, 3:27 PM
Database takes like more than 10 minutes. Just default for gcp
@billowy-army-68599 that would be pulumi
b

billowy-army-68599

06/10/2022, 3:35 PM
is this a large stack with lots of resources?
b

brief-carpenter-29515

06/10/2022, 3:35 PM
Nope
I'm just making a database with a private ip
The database creation works but pulumis token is always expired at that point
b

billowy-army-68599

06/10/2022, 3:39 PM
so you're storing in the Pulumi service backend, using a standard
pulumi login
token?
b

brief-carpenter-29515

06/10/2022, 3:42 PM
Yes
Nothing is non standard just going for default functionality
But that database is always stuck in pending
b

billowy-army-68599

06/10/2022, 3:47 PM
could you file an issue with your code and your org name in pulumi/pulumi, it sounds like a bug
b

brief-carpenter-29515

06/10/2022, 3:48 PM
Yeah I'll do an issue thanks. Found this in the meantime https://github.com/pulumi/pulumi/issues/7094
23 Views