Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rolling updates return 404 instance group not found #1

Open
kokteyldev opened this issue Jun 8, 2021 · 2 comments
Open

Rolling updates return 404 instance group not found #1

kokteyldev opened this issue Jun 8, 2021 · 2 comments

Comments

@kokteyldev
Copy link

Hi,

I am trying to get the rolling update feature working, however I keep getting 404 the instance group not found error like below:
get instance group 'dynamic-mystery-285413/rtb-backend': googleapi: Error 404: The resource 'projects/dynamic-mystery-285413/regions/europe-west1/instanceGroupManagers/rtb-backend' was not found, notFound

I checked the my service account roles and the name of the instanceGroup a multiple times and everything seems to be correct. When I looked at the code I saw that it is using a beta version of the google cloud sdk, is it possible Google broke something since your last commit?

Thanks in advance

@mattes
Copy link
Owner

mattes commented Jun 10, 2021

I'd be surprised if the beta version changed, but it's a possibility. Can you try to use the SDK to list your instance groups?

gcloud beta compute instance-groups managed list --project xxxx

What's the output? Please note that currently only regional instance groups are supported.

@kokteyldev
Copy link
Author

Both the beta and the production gcloud commands return the correct instance groups.

NAME         LOCATION        SCOPE  BASE_INSTANCE_NAME  SIZE  TARGET_SIZE  INSTANCE_TEMPLATE  AUTOSCALED
rtb-backend  europe-west1-b  zone   rtb-backend         1     1            rtb-template       yes

I've checked the instance group settings again and can confirm that its region is set.

Hope this helps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants