How to fix "404 Not Found" error when creating a WINDOWS_SAC node pool in a cluster (rapid release)

7/29/2019

I'm setting up a cluster on GCP and trying to add a Windows_SAC node pool in it. A "Not found" error was return (code=404).

My project was added to the rapid release channel, and this cluster was set up with the --release-channel rapid flag from a whitelisted service account.

This cluster has alias IP enabled, an UBUNTU default node pool, and was created successfully, with master and node versions both 1.14.3-gke.9.

When I tried to add a "Windows_SAC" node pool with the following commmand:

gcloud container node-pools create win-pool --cluster=NAME --image-type=WINDOWS_SAC --machine-type=n1-standard-2 --num-nodes=1 --verbosity debug

The following error returned:

Traceback (most recent call last):
  File "C:\Users\username\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\cli.py", line 983, in Execute
    resources = calliope_command.Run(cli=self, args=args)
  File "C:\Users\username\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\backend.py", line 795, in Run
    resources = command_instance.Run(args)
  File "C:\Users\username\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\surface\container\node_pools\create.py", line 212, in Run
    raise exceptions.HttpException(error, util.HTTP_ERROR_FORMAT)
HttpException: ResponseError: code=404, message=Not Found.
ERROR: (gcloud.container.node-pools.create) ResponseError: code=404, message=Not Found.

Have anyone encountered similar issues? Any help is appreciated. Thanks!

-- RTran
google-kubernetes-engine
windows-container

0 Answers