AzureTRE: Unable to deploy a 'Compute Instance' User Resource to a Workspace AML Service

Deployment of AML Compute Instance fails

When adding a Compute Instance to a TRE Workspace AML Service, the deployment fails with the following error: desired number of dedicated nodes could not be allocated. This error has been happening consistently for the past two days. Have not tried it before then with this version of the TRE.

This error occurs when deploying via:

  1. the TRE UI using the ‘aml_compute’ user-resource template and
  2. Logging into the AML Workspace from a workspace VM and trying to create new compute instance

Steps to reproduce

  1. Create New Workspace and User
  2. Add User to ‘Workspace Owners’
  3. Add User to ‘Workspace Researchers’
  4. Login to TRE UI with User account
  5. Add Virtual Desktops (Guacamole) Service to Workspace
  6. Add a User Resource (VM) to Virtual Desktops Service
  7. Add Azure ML Service to Workspace (‘expose externally’ = False)
  8. Add a Compute instance User Resource to AML Service

Additional Steps taken

  1. Grant User ‘Network Contributor’ on the TRE Workspace VNet
  2. Grant User ‘AzureML Compute Operator’ on the Workspace AML Workspace

Additional Info

  • there is sufficient quota for the selected compute-size in my deployment region
  • I have tried a number of different compute sizes
  • I have confirmed that there are free IP addresses in the AML Subnet.
  • all resources are deployed to the UK South Region.

Azure TRE release version: v0.19.1 tre-workspace-base: 1.5.7 tre-service-azureml: 0.8.11 tre-user-resource-aml-compute-instance: 0.5.7 deployment location: UKSouth

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (7 by maintainers)

Most upvoted comments

Great, thanks so much for testing. I found this page with the error - https://learn.microsoft.com/en-us/troubleshoot/azure/hpc/batch/azure-batch-pool-resizing-failure#symptom-for-scenario-1 , Azure ML uses Azure Batch for compute, which made me think network/firewall. I could see the traffic being blocked on the firewall, hence allowed it, and worked, then checked the rules and found the error here - https://github.com/microsoft/AzureTRE/issues/4151#issuecomment-2568113890

We will look to get the PR merged.