Unable to Deploy Virtual Machine Through VMware Aria Automation Due to Missing Image Mapping
search cancel

Unable to Deploy Virtual Machine Through VMware Aria Automation Due to Missing Image Mapping

book

Article ID: 379919

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

  • This article addresses a common issue where VM deployments in Aria Automation fail due to missing or incorrect image mappings.
  • Specifically, the error message "Cannot find matching image mappings for Image: W2K19" indicates that the required image mapping is not configured.

Environment

  • Aria Automation 8.17
  • Aria Automation 8.x

Cause

  • The issue occurs because the specified image mapping for the VM (W2K19) was not set correctly in Aria Automation. When the deployment attempts to use this image, it fails due to the lack of a specified image under Infrastructure > Configure > Image Mappings.

Resolution

  • Verify Node Status: Run the following commands to ensure that all nodes and services are in a healthy state:
    • kubectl get nodes: Confirm nodes are in a "Ready" state
    • vracli service status: Ensure all services are running correctly
    • kubectl get nodes -n prelude: Verify that all pods are operational
  • Update Image Mapping:
    • Navigate to Assembler > Infrastructure > Configure > Image Mappings in the Aria Automation UI
    • Select the image mapping associated with the error message (W2K19)
    • Verify Image Configuration: Open the image mapping and ensure that the "Image" section is populated with the correct VM image. If it's empty, select the appropriate image from the dropdown list

 

    • Save the changes and attempt the deployment again

  • Run Deployment: Initiate the deployment from the catalog once more. With the correct image mapping applied, the deployment should now complete successfully

Additional Information

  • Ensure that the selected VM image is available and accessible in your cloud environment
  • Regularly verify and update image mappings to ensure compatibility with your cloud environment and desired VM configurations