googlecodelabs / feedback

Provide feedback to our codelabs by filing an issue here
18 stars 22 forks source link

[cloud-networking-101]: deployment manager fail #467

Open smerth opened 6 years ago

smerth commented 6 years ago

This codelab broke down for me right at

3) Setup the environment

with this bash command

gcloud deployment-manager deployments create networking101  --config networking-lab.yaml

which returned this error

The fingerprint of the deployment is _3cN-LEJ5IXXbbpgmf_EJw==
Waiting for create [operation-1534806930240-573e615e03203-bf09d159-2ec3141b]...failed.
ERROR: (gcloud.deployment-manager.deployments.create) Error in Operation [operation-1534806930240-573e615e03203-bf09d159-2ec3141b]: errors:
- code: RESOURCE_ERROR
  location: /deployments/networking101/resources/e1-vm
  message: "{\"ResourceType\":\"compute.v1.instance\",\"ResourceErrorCode\":\"404\"\
    ,\"ResourceErrorMessage\":{\"code\":404,\"errors\":[{\"domain\":\"global\",\"\
    message\":\"The resource 'projects/debian-cloud/global/images/family/debian-8'\
    \ was not found\",\"reason\":\"notFound\"}],\"message\":\"The resource 'projects/debian-cloud/global/images/family/debian-8'\
    \ was not found\",\"statusMessage\":\"Not Found\",\"requestPath\":\"https://www.googleapis.com/compute/v1/projects/sm-gcp-interactive-tutorial/zones/us-east1
-b/instances\"\
    ,\"httpMethod\":\"POST\"}}"
papudatta commented 5 years ago

This worked for me: grep -r debian-8 .

** Then manually edit the files returned from above command and change to debian-9