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

GCP: If default network is not available in a project, cld env create is failing #162

Open
vikomall opened this issue Dec 12, 2017 · 0 comments

Comments

@vikomall
Copy link

In GCP, running into following issue if the default network is not avaiable.

cld env create env-gke environment-gke.yaml
cld env list
{
"data": [
{
"env_definition": "{u'environment': {u'app_deployment': {u'project': uproject-name', u'type': u'gke', u'target': u'gcloud', u'zone': u'us-central1-b'}}}",
"location": "/Users/xxx/.cld/data/deployments/environments/env-gke-2017-12-01-05-05-24",
"name": "env-gke",
"output_config": "{'error': '<HttpError 400 when requesting https://container.googleapis.com/v1/projects/project-name/zones/us-central1-b/clusters?alt=json returned "(1) network "default" does not exist.\n\t(2) Network "default" has no route to the default internet gateway. To fix this, add a route with destRange \'0.0.0.0/0\' and nextHopGateway \'default-internet-gateway\'.">'}",
"status": "create-failed"
}
]
}

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

1 participant