ARC AKS deployment failing on Azure Local 2511 - AKS not ready - MocStorageContainer

Stephen 0 Reputation points
2025-12-11T23:53:44.0033333+00:00

After successfully deploy a single-node Azure Local cluster, ARC AKS images are still not ready after 24 hours.

I am unable to deploy AKS via the portal, getting this error:


az aksarc get-versions sometimes returns errors for some images that look like:

fds


        \ to cloud gallery: {\n  \"code\": \"ImageProvisionError\",\n  \"message\"\

        : \"unable to provision gallery image: Precheck failed for Gallery Image:\

        \ Unable to get the next available grouped container: Unable to find a\

        \ valid resource that satisfies the requirement in Location [MocLocation].\\\

        nDetails: {\\\"AvailableResources\\\":[\\\"MocStorageContainer\\\"],\\\

        \"DisqualifiedResources\\\":[{\\\"Name\\\":\\\"MocStorageContainer\\\"\

        ,\\\"Reason\\\":\\\"Validation failed: Container 'MocStorageContainer'\

        \ cannot be used in auto-placement mode in location 'MocLocation'.: Not\

        \ Supported\\\"}]}: OutOfCapacity: PreCheckFailed\",\n  \"additionalInfo\"\

        : [\n   {\n    \"type\": \"providerImageProvisionInfo\",\n    \"info\"\

        : {\n     \"ProviderDownload\": \"True\"\n    }\n   }\n  ],\n  \"category\"\

        : \"\"\n }"

I tried switching to offline download using az arcaks release save, but provisioning failed with a similar error about the MocStorageContainer.

Here's the full output of az aksarc get-versions:

extendedLocation: null
id: /subscriptions/37ee1475-4095-47d3-853a-445f6f59b9b5/resourceGroups/warsplpwalrg1/providers/microsoft.extendedlocation/customlocations/warsplpwalcl0/providers/Microsoft.HybridContainerService/kubernetesVersions/default
name: default
properties:
  provisioningState: Succeeded
  values:
  - isPreview: false
    patchVersions:
      1.30.13:
        readiness:
        - errorMessage: "failed cloud-side provisioning image linux-cblmariner-0.9.7.11020\
            \ to cloud gallery: {\n  \"code\": \"ImageProvisionError\",\n  \"message\"\
            : \"unable to provision gallery image: Precheck failed for Gallery Image:\
            \ Unable to get the next available grouped container: Unable to find a\
            \ valid resource that satisfies the requirement in Location [MocLocation].\\\
            nDetails: {\\\"AvailableResources\\\":[\\\"MocStorageContainer\\\"],\\\
            \"DisqualifiedResources\\\":[{\\\"Name\\\":\\\"MocStorageContainer\\\"\
            ,\\\"Reason\\\":\\\"Validation failed: Container 'MocStorageContainer'\
            \ cannot be used in auto-placement mode in location 'MocLocation'.: Not\
            \ Supported\\\"}]}: OutOfCapacity: PreCheckFailed\",\n  \"additionalInfo\"\
            : [\n   {\n    \"type\": \"providerImageProvisionInfo\",\n    \"info\"\
            : {\n     \"ProviderDownload\": \"True\"\n    }\n   }\n  ],\n  \"category\"\
            : \"\"\n }"
          osSku: CBLMariner
          osType: Linux
          ready: false
        - errorMessage: Windows nodepool feature is disabled
          osSku: Windows2019
          osType: Windows
          ready: false
        - errorMessage: Windows nodepool feature is disabled
          osSku: Windows2022
          osType: Windows
          ready: false
        upgrades: null
      1.30.14:
        readiness:
        - errorMessage: "failed cloud-side provisioning image linux-cblmariner-0.9.7.11020\
            \ to cloud gallery: {\n  \"code\": \"ImageProvisionError\",\n  \"message\"\
            : \"unable to provision gallery image: Precheck failed for Gallery Image:\
            \ Unable to get the next available grouped container: Unable to find a\
            \ valid resource that satisfies the requirement in Location [MocLocation].\\\
            nDetails: {\\\"AvailableResources\\\":[\\\"MocStorageContainer\\\"],\\\
            \"DisqualifiedResources\\\":[{\\\"Name\\\":\\\"MocStorageContainer\\\"\
            ,\\\"Reason\\\":\\\"Validation failed: Container 'MocStorageContainer'\
            \ cannot be used in auto-placement mode in location 'MocLocation'.: Not\
            \ Supported\\\"}]}: OutOfCapacity: PreCheckFailed\",\n  \"additionalInfo\"\
            : [\n   {\n    \"type\": \"providerImageProvisionInfo\",\n    \"info\"\
            : {\n     \"ProviderDownload\": \"True\"\n    }\n   }\n  ],\n  \"category\"\
            : \"\"\n }"
          osSku: CBLMariner
          osType: Linux
          ready: false
        - errorMessage: Windows nodepool feature is disabled
          osSku: Windows2019
          osType: Windows
          ready: false
        - errorMessage: Windows nodepool feature is disabled
          osSku: Windows2022
          osType: Windows
          ready: false
        upgrades: null
    version: '1.30'
  - isPreview: false
    patchVersions:
      1.31.10:
        readiness:
        - errorMessage: ProvisionInProgress
          osSku: CBLMariner
          osType: Linux
          ready: false
        - errorMessage: Windows nodepool feature is disabled
          osSku: Windows2019
          osType: Windows
          ready: false
        - errorMessage: Windows nodepool feature is disabled
          osSku: Windows2022
          osType: Windows
          ready: false
        upgrades: null
      1.31.9:
        readiness:
        - errorMessage: "failed cloud-side provisioning image linux-cblmariner-0.9.7.11020\
            \ to cloud gallery: {\n  \"code\": \"ImageProvisionError\",\n  \"message\"\
            : \"unable to provision gallery image: Precheck failed for Gallery Image:\
            \ Unable to get the next available grouped container: Unable to find a\
            \ valid resource that satisfies the requirement in Location [MocLocation].\\\
            nDetails: {\\\"AvailableResources\\\":[\\\"MocStorageContainer\\\"],\\\
            \"DisqualifiedResources\\\":[{\\\"Name\\\":\\\"MocStorageContainer\\\"\
            ,\\\"Reason\\\":\\\"Validation failed: Container 'MocStorageContainer'\
            \ cannot be used in auto-placement mode in location 'MocLocation'.: Not\
            \ Supported\\\"}]}: OutOfCapacity: PreCheckFailed\",\n  \"additionalInfo\"\
            : [\n   {\n    \"type\": \"providerImageProvisionInfo\",\n    \"info\"\
            : {\n     \"ProviderDownload\": \"True\"\n    }\n   }\n  ],\n  \"category\"\
            : \"\"\n }"
          osSku: CBLMariner
          osType: Linux
          ready: false
        - errorMessage: Windows nodepool feature is disabled
          osSku: Windows2019
          osType: Windows
          ready: false
        - errorMessage: Windows nodepool feature is disabled
          osSku: Windows2022
          osType: Windows
          ready: false
        upgrades: null
    version: '1.31'
  - isPreview: false
    patchVersions:
      1.32.5:
        readiness:
        - errorMessage: ProvisionInProgress
          osSku: CBLMariner
          osType: Linux
          ready: false
        - errorMessage: Windows nodepool feature is disabled
          osSku: Windows2019
          osType: Windows
          ready: false
        - errorMessage: Windows nodepool feature is disabled
          osSku: Windows2022
          osType: Windows
          ready: false
        upgrades: null
      1.32.6:
        readiness:
        - errorMessage: ProvisionInProgress
          osSku: CBLMariner
          osType: Linux
          ready: false
        - errorMessage: Windows nodepool feature is disabled
          osSku: Windows2019
          osType: Windows
          ready: false
        - errorMessage: Windows nodepool feature is disabled
          osSku: Windows2022
          osType: Windows
          ready: false
        upgrades: null
    version: '1.32'
resourceGroup: warsplpwalrg1
systemData:
  createdAt: '2025-03-12T14:43:37.455015+00:00'
  createdBy: 319f651f-7ddb-4fc6-9857-7aef9250bd05
  createdByType: Application
  lastModifiedAt: '2025-12-11T23:34:18.060143+00:00'
  lastModifiedBy: 319f651f-7ddb-4fc6-9857-7aef9250bd05
  lastModifiedByType: Application
type: microsoft.hybridcontainerservice/kubernetesversions
Azure Local
{count} votes

1 answer

Sort by: Most helpful
  1. Q&A Assist
    2025-12-11T23:53:55.83+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    It seems that you are encountering issues with the provisioning of AKS Arc images in Azure Local, specifically related to the MocStorageContainer. The error messages indicate that the container cannot be used in auto-placement mode in the specified location, which suggests a limitation or configuration issue with the resources available in your Azure Local environment.

    Here are some steps you can take to troubleshoot and potentially resolve the issue:

    1. Check Resource Availability: Ensure that the MocStorageContainer is correctly configured and available in the location you are trying to deploy. The error indicates that there are no valid resources satisfying the requirement in the specified location.
    2. Review AKS Versions: Make sure that you are using supported Kubernetes versions for your Azure Local deployment. You can check the supported versions by running the command az aksarc get-versions and ensuring that the versions you are attempting to deploy are listed as ready.
    3. Upgrade Azure Local: If you are on an older version of Azure Local, consider upgrading to the latest version, as newer releases may contain fixes for known issues related to image provisioning.
    4. File a Support Ticket: If the problem persists after checking the above points, it may be beneficial to file a support ticket with Microsoft for further assistance, as they can provide more specific guidance based on your environment and logs.

    These steps should help you diagnose and potentially resolve the provisioning issues you're facing with AKS on Azure Local.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.