-
Notifications
You must be signed in to change notification settings - Fork 54
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
error creating NodePool: googleapi: got HTTP response code 404 #282
Comments
After some digging, I think the problem is that the formatted URL is wrong :
but as stated in the doc https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.nodePools/list URL should be : And this one is actually working as expected when I call it directly. I don't know when/why it changed, and I can't find it in the pulumi source code, maybe from a third party like terraform ? |
I'm hitting this with a new Pulumi install, using Python and
I can provide more diags if that would be useful. |
@Sylv3r I resolved this in my own deploy -- try this:
The |
@paultiplady Indeed - I was just testing out the same thing as that looked like it might be the cause. It seems as if the beta provider changed the |
Thanks @paultiplady and @lukehoban I'll follow up on the slack thread about this change of returned value. |
Problem
When trying to create a
gcp.container.NodePool
I now got this message :This comes from a code I use since more than a year, everything was still fine like 2 months ago.
I didn't change a thing, I just needed to create a new stack/cluster, so that's likely something outside of my code. No error is reported during update on existing stacks/clusters.
Seems like the
v1beta1
URL does not work anymore ?I don't know if that's directly related but there's a deprecation warning and shutdown notice here https://cloud.google.com/kubernetes-engine/docs/how-to/protecting-cluster-metadata?hl=en_US#disable-legacy-apis
I already talked about this issue on the Slack channel https://pulumi-community.slack.com/archives/C84L4E3N1/p1580991257027200
Code
Here's a MWE to reproduce the problem.
package.json
:index.ts
:Versions
pulumi
v1.10.1
npm
gcloud CLI
Other
Node Version :
1.15.8-gke.3
The text was updated successfully, but these errors were encountered: