Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

App Engine Service Deployment Stopped Working on Known Good Version

We have a service hosted in gcloud that is not actively developed and we have not deployed for a few weeks. On deployment we now get the error ERROR: gcloud crashed (TypeError): unorderable types: NoneType() > int() and the deployment fails. We get the exact same results even if we run the last deployed version through CI.

This is my app.yaml

runtime: aspnetcore
env: flex
threadsafe: true
service: myapp
manual_scaling:
  instances: 1
env_variables:
  service_name: myapp
  AWS_ACCESS_KEY_ID: {{AWS_ACCESS_KEY_ID}}
  AWS_SECRET_ACCESS_KEY: {{AWS_SECRET_ACCESS_KEY}}
  AWS_REGION: eu-west-1

This is very unclear to me as it's not obvious what the deployment would need ordering. Is there something I am missing in interperating this error message?

like image 557
Max Avatar asked Nov 19 '25 10:11

Max


1 Answers

Check if you have Python 3.5 installed on the same build agent. The gcloud SDK has a dependency of Python 2.7, also advisable to set the CLOUDSDK_PYTHON environment variable to the path of your Python 2.7 installation location.

like image 124
tazy7 Avatar answered Nov 21 '25 00:11

tazy7



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!