App Engine Flex deployment error

Hi there,

I reached a blocker when I tried to deploy a simple app through GitHub using one of the service accounts. The error is shown below. FYI: There was NO error for standard environment deployment. Only happened on Flex env. Thanks

app.yaml

Hi @kevdev ,

Welcome to Google Cloud Community!

Upon checking the information you provided, it appears that an internal error is occurring while deploying to the Google App Engine Flexible environment. This commonly occurs because of misconfigurations, permission problems, quota limits, or compatibility issues with the operating system.

Recommendations:

  1. Check Service Account Permissions: Ensure the service account has roles like App Engine Admin and Cloud Build Service Account.
  2. Verify Resource Quotas: Look at your project’s quotas under IAM & Admin > Quotas to ensure you haven’t exceeded limits.
  3. Test with a Supported OS Version: Try changing the runtime_config in app.yaml to supported version like ubuntu18.
  4. Deploy in a Different Region: If issues persist, deploy in another region. You can specify a different region with gcloud app create --region=.
  5. Simplify Configuration: Start with a basic app.yaml and gradually reintroduce settings to isolate the problem.

If you continue to face issues, you may file using Public Issue Tracker or reaching out to Google Cloud Support if necessary. They might help resolve internal infrastructure problems that are not evident from the troubleshooting steps.

Hope the above information helps!