Pete K
Pete K

Reputation: 128

Why is my cloud run deploy hanging at the "Deploying..." step?

Up until today, my deploy process has worked fine. Today when I go to deploy a new revision, I get stuck at the Deploying... text with a spinning indicator, and it says One or more of the referenced revisions does not yet exist or is deleted. I've tried a number of different images and flags -- all the same.

Upvotes: 2

Views: 4037

Answers (2)

Pete K
Pete K

Reputation: 128

I know I provided scant information, but just to follow up with an answer: it looks like the issue was that I was deploying a revision, and then immediately trying to tag it using gcloud alpha run services update-traffic <service_name> --set-tags which looks to have caused some sort of race, where it complained that the revision was not yet deployed, and would hang indefinitely. Moving the set-tag into the gcloud alpha run deploy seemed to fix it.

Upvotes: 0

Martin Zeitler
Martin Zeitler

Reputation: 76859

See Viewing the list of revisions for a service, in order to undo whatever you may have done.

Probably you have the wrong project selected, if it does not know any of the revisions.

Upvotes: 1

Related Questions