Skip to content

Bug: self-hosted agents + private networking problem #333

Open
@sebastus

Description

@sebastus

Is there an existing issue for this?

  • I have searched the existing issues

Infrastructure as Code Type? (Required)

terraform

PowerShell Module Version (Optional)

No response

Bootstrap Module Version (Optional)

v4.3.5

Starter Module? (Required)

terraform - platform_landing_zone

Starter Module Version (Optional)

No response

Input arguments of the ALZ-PowerShell-Module (Optional)

self-hosted agents: true
private networking: true

Debug Output/Panic Output (Optional)

{"id":"/subscriptions/88de0abd-3e1d-4dce-89e1-efa4f32cddcb/resourceGroups/rg-alz-mgmt-agents-uksouth-001/providers/Microsoft.ContainerInstance/containerGroups/aci-alz-mgmt-uksouth-002","status":"Failed","startTime":"2025-03-21T17:43:08.3309227Z","properties":{"events":[{"count":1,"firstTimestamp":"2025-03-21T17:43:27.8365162Z","lastTimestamp":"2025-03-21T17:43:27.8365162Z","name":"InsufficientCapacity.","message":"The requested resource is not available in the location 'uksouth' at this moment. Please retry with a different resource request or in another location. Resource requested: '4' CPU '8' GB memory 'Linux' OS virtual network","type":"Warning"}]},"error":{"message":"The requested resource is not available in the location 'uksouth' at this moment. Please retry with a different resource request or in another location. Resource requested: '4' CPU '8' GB memory 'Linux' OS virtual network"}}

Expected Behaviour (Required)

should create the self-hosted agents / container instances without error

Actual Behaviour (Required)

I tried a few different sizes of cpu & memory but none worked. Then I tried in the portal. I found that with private networking turned on, zone support is unavailable. But the terraform calls for zone 1 or 2. I removed the zone support (in v4.3.5/alz/azuredevops/terraform.tfvars.json) and the problem was resolved.

Steps to Reproduce (Optional)

No response

Important Factoids (Optional)

No response

References (Optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions