We are seeing failures to execute deployments ``` ...
# general
g
We are seeing failures to execute deployments
Copy code
stderr: Logging in using access token from PULUMI_ACCESS_TOKEN 
 error: [401] Unauthorized: No credentials provided or are invalid.
e.g. during
Restore cache
r
Hey! Thanks for reporting. Nothing that we're aware of but we've seen another report of the same issue: auth failure during
restore-cache
. Can you do me a favor and try running without dependency caching and let me know if that resolves it?
g
It's failing with anything using the system
PULUMI_ACCESS_TOKEN
For example, running a preview
Copy code
/pulumi-deploy-executor pulumi preview --stackIdentity="blah/common/prod" --workDir="/deployment/infra/common"
Error: failed to select stack: exit status 255
code: 255
stdout: 
stderr: Logging in using access token from PULUMI_ACCESS_TOKEN
error: [401] Unauthorized: No credentials provided or are invalid.
r
Okay! Appreciate the response, looking into it.
g
Thanks!
r
Do you have a custom
PULUMI_ACCESS_TOKEN
set as an environment variable in deployment settings?
g
We don't, from the environment variable section, the ``PULUMI_ACCESS_TOKEN`` is coming from system.
r
Huh very interesting. I'm not being able to repro this on my end.
g
image.png
I'm not sure what we can really test here, my understanding is that token is coming from the Pulumi?
r
Yeah can you confirm in your deployment settings what environment variables are set?
g
Just that
FA_API_TOKEN
needed to do a restore of our deps right now.
image.png
r
interesting... for good measure, can you hit the "Clear cache" button on the Deployments page and try again?
This one
g
Cleared, triggering the deployment again
a
Hi Mark, do you mind sharing the organization, project and stack names to check our logs?
g
No change, still failing during preview (caching is disabled)
Moved to DM's
a
Hey! We’ve identified the problem here. Working on a fix
g
Awesome, thanks!
r
We're rolling out a fix - ETA ~30 mins.
Okay, the fix is out. You should have successful git-initiated/machine token deployments now.
g
Thanks! We'll check it out.
Yep, looks good on our side now!