Instantiation of vAPP fails with "Invalid configuration for device '0'."
search cancel

Instantiation of vAPP fails with "Invalid configuration for device '0'."

book

Article ID: 397419

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

Instantiation of vAPP fails with:

[ XXXXXXXX ] The operation could not be performed because the device spec is invalid. Invalid configuration for device '0'. vCenter Server task (moref: task-XXXX) failed in vCenter Server 'vcenter_FQDN' (XXXXX). - Invalid configuration for device '0'.

 

vcloud-container-debug.log:

Caused by: (vim.fault.InvalidDeviceSpec) {
   faultCause = null,
   faultMessage = (vmodl.LocalizableMessage) [
      (vmodl.LocalizableMessage) {
         dynamicType = null,
         dynamicProperty = null,
         key = com.vmware.vim.vpxd.vmprov.inaccessibleUrlPath,
         arg = null,
         message = Provided backing file is not accessible from host.

Environment

10.3.3

Cause

  • This error happened while attaching a disk to a VM as the datastore where the disk is stored is not available from the host where the VM is registered

Resolution

Verify if all the hosts inside the cluster have visibility to the datastore where the disk is being deployed