Skip to content

Gitea deployment fails with ProvisionNotSupportedForRegion for MySQL Flexible Server in UK South #68

Description

@JaimieWi

Description

When attempting to deploy the Gitea shared service or Gitea workspace service in a new environment, deployment fails with:

ProvisionNotSupportedForRegion: Provisioning in requested region is not supported. 
Your subscription might not have access to create a server in the selected region.

This occurs because MySQL Flexible Server (required by both Gitea templates) is subject to subscription-level quota restrictions in UK South. The error affects all SKU tiers — Burstable (B_Standard_B2s), General Purpose (GP_Standard_D2ds_v4), and Business Critical.
Affected templates

templates/shared_services/gitea/
templates/workspace_services/gitea/

Impact

Existing deployed Gitea instances are unaffected — this only affects new deployments
PROD Gitea is currently healthy and not at risk
DEV environment cannot deploy Gitea until quota is resolved

Workaround

Select GP | 8GB 2vCores in the TRE UI when deploying — this uses General Purpose tier which has better availability, but is still subject to the same subscription restriction
If neither tier is available, raise a quota request via Azure Portal: Help + Support → New support request → Service and subscription limits → Azure Database for MySQL Flexible Server → Region access → UK South

To verify quota availability on a subscription:
bashaz mysql flexible-server list-skus --location uksouth --output table
An empty result confirms MySQL Flexible Server is fully restricted on that subscription.

Notes

  • This is an Azure subscription capacity issue, not a bug in the TRE templates
  • A future improvement could be to surface a clearer error message in the TRE UI when this quota restriction is hit
  • Consider documenting this as a prerequisite check before spinning up a new TRE environment

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions