Rebuilding deployment fails with "Given imageRef: /resources/images/##### not found for compute"
search cancel

Rebuilding deployment fails with "Given imageRef: /resources/images/##### not found for compute"

book

Article ID: 442954

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

When trying to rebuild a deployment using Day 2 actions it fails with "Given imageRef: /resources/images/##### not found for compute"

Environment

Aria Automation 8.18.1

Cause

The image that was used to build the VM(s) in the deployment no longer exists and a deployment level rebuild Day 2 action does not allow for selecting a new image

Resolution

  1. As documented here the rebuild Day 2 can be run at both the deployment and machine level
  2. Running it against the deployment will not allow for selecting a new image, but running it directly against a machine will
  3. Use this difference in behavior to avoid the error by rebuilding the VM
  4. If the full deployment must be rebuilt, rebuild the VM first using a valid image and then rebuild the deployment