The project property is set to empty string, which is invalid
See original GitHub issueFirst, thank you for this awesome package. ☺️.
After starting (hitting this project’s: “Open in Cloud Shell” button) with an almost blank G-account and following the README.md
’s instruction
make create-cluster deploy-istio build push deploy-stuff
everything comes to a sudden halt with:
roland_siegbert_t@cloudshell:~/Istio101$ make create-cluster deploy-istio build push deploy-stuff
ERROR: (gcloud.config.list) The project property is set to the empty string, which is invalid.
To set your project, run:
$ gcloud config set project PROJECT_ID
After following the instructions, we get a little bit further:
roland_siegbert_t@cloudshell:~/Istio101$ gcloud config set project istio101
Updated property [core/project].
roland_siegbert_t@cloudshell:~/Istio101 (istio101)$ make create-cluster deploy-istio build push deploy-stuff
Your active configuration is: [cloudshell-6085]
But the script crashes at:
WARNING: Starting in 1.12, default node pools in new clusters will have their legacy Compute Engine instance metadata endpoints disabled by default. To create a cluster with legacy instance metadata endpoints disabled in the default node pool, run `clusters create` with the flag `--metadata disable-legacy-endpoints=true`.
This will enable the autorepair feature for nodes. Please see https://cloud.google.com/kubernetes-engine/docs/node-auto-repair for more information on node autorepairs.
This will enable the autoupgrade feature for nodes. Please see https://cloud.google.com/kubernetes-engine/docs/node-management for more information on node autoupgrades.**
ERROR: (gcloud.container.clusters.create) ResponseError: code=404, message=Not found: istio101.
Makefile:32: recipe for target 'create-cluster' failed
make: *** [create-cluster] Error 1
So, I’ll revert to the little slower tutorial, which halts after
make create-cluster
with
ERROR: (gcloud.container.clusters.create) ResponseError: code=404, message=Not found: istio101.
Makefile:32: recipe for target 'create-cluster' failed
make: *** [create-cluster] Error 1
too. So, something must be missing in the README.md
. I’ll start to explore now, I guess, it has something to do with Google Cloud Shell steps which are invisible for a newcomer considering Google Cloud Shell.
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
entity framework - EF 6 IsRequired() allowing empty strings
In my current project utilizng EF6, The DBEntityValidationException is not thrown when the string property is empty. Entity: public class ...
Read more >How do I test for empty properties set on the command line?
PS If empty string is actually a valid value and the default is something else, you have a problem, because you don't know...
Read more >android:versionCode gets set to empty string causing ...
Expected behaviour is that the version number value provided in the project properties or in the original manifest file will be used in...
Read more >gcloud config set | Google Cloud CLI Documentation
A property governs the behavior of a specific aspect of Google Cloud CLI such as the service account to use or the verbosity...
Read more >Message - A name cannot be an empty string.
This message is displayed if you have not specified a name for a project, project suite or project item. Make sure you have...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’d say setting up GCP is out of scope for this demo. Going to be cleaning up the makefile and updating to a more modern version of Kubernetes and Istio
OK, so what I did is:
istio101
as project name.This changed the error thrown with
make create-cluster
to:Now, I’m searching for how to enable the Kubernetes Engine API for this project…
Getting to GCP, it feels like holy f**k:
But maybe I’ll be successful here. The project is already selected somehow.