Are you getting a warning message deploying from Marketplace on GCP?

Recently, the fine folks over at Google Cloud have decided it is time to upgrade their deployment engine support from Python 2 to Python 3. This has nothing to do with the code running on the VMs, just the code that is used to deploy the VMs. As a first step, Google Engineers created a step that scans the Python code during deployment, and flags a warning if there is an incompatibility with Python 3. Why am I telling you this? Because one of the bits of code the GCP provided for vendors that utilize their marketplace trips this scan, and displays a warning. The warning looks like this:

The template is incompatible with Python3. Please fix the following errors: Exception in software_status.py Traceback (most recent call last): return constructorm File "software_status.py", line 181, in GenerateConfig File "software_status.py", line 154, in _Waiter File "software_status.py", line 124, in _WaiterDependsOn AttributeError: module 'types' has no attribute 'StringTypes' Resource: software_status.py Resource: config https://cloud.google.com/deployment-manager/docs/migrate-to-python3

This warning can be safely ignored, the deployment will run as expected, and is being addressed with Google.

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file