Virtual machine deployments fail with error "Provisioning operation failed. Cannot deploy library item..."
search cancel

Virtual machine deployments fail with error "Provisioning operation failed. Cannot deploy library item..."

book

Article ID: 325808

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Symptoms:
Virtual machine deployments from VMware Aria Automation fail in vSphere with the following error:
Provisioning operation failed. Cannot deploy library item abcdefgh-1234-5678-1234-ABCDEFGHIJKL (com.vmware.vdcs.cls-main.library_item_not_found Library item abcdefgh-1234-5678-1234-ABCDEFGHIJKL not found.)


Cause

  • The template cannot be deployed from the Content Library to a different cluster where the Content Library is not stored.
  • The same template can however be deployed directly in vSphere from the Content Library.
    • This is due to VMware Aria Automation initiating the deploy via an API call while the same action from the vSphere web client uses different API calls.

Resolution

Recreate the virtual machine template and deploy it to the Content Library.