was following "working example" section and got NOT_CRITICAL_ERROR:
$ gcloud deployment-manager deployments create hierarchy-example-dev --template env_demo_project.py --properties=envName:dev
The fingerprint of the deployment is aaajjjjxxxYYYZZZ==
Waiting for create [operation-xxxxxx-yyyyy-zzz]...done.
WARNING: Create operation operation-xxxxxx-yyyyy-zzz completed with warnings:
---
code: NOT_CRITICAL_ERROR
message: |-
The template is incompatible with Python3. Please fix the following errors:
Exception in env_demo_project.py
Traceback (most recent call last):
return constructor[m](evaluation_context)
File "env_demo_project.py", line 8, in GenerateConfig
File "helper/config_merger.py", line 40, in __init__
File "helper/config_merger.py", line 68, in getOrgSpecificConfig
File "helper/config_merger.py", line 61, in loadConfig
ValueError: level must be >= 0
Resource: env_demo_project.py Resource: config
https://cloud.google.com/deployment-manager/docs/migrate-to-python3
NAME TYPE STATE ERRORS INTENT
sample-inc-snp-devfrontend-i compute.v1.instance COMPLETED []
OS/gcloud info:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.3 LTS
Release: 18.04
Codename: bionic
$ gcloud version
Google Cloud SDK 274.0.0
alpha 2019.12.17
beta 2019.12.17
bq 2.0.51
core 2019.12.17
gsutil 4.46
kubectl 2019.12.17
Hello,
was following "working example" section and got NOT_CRITICAL_ERROR:
OS/gcloud info:
Regards, Jan