"VCS ERROR V-16-10061-22505 VMwareDisks:<resource name> :online:Failed to attach disks to the VM on ESX<esx server> with error" appears when VMwareDisks resources try to go online

book

Article ID: 100033238

calendar_today

Updated On:

Description

Error Message

From the messages file:
 
   AgentFramework[4371]: VCS ERROR V-16-10061-22505 VMwareDisks: :online:Failed to attach disks to the VM on ESX with error 'SOAP 1.1 fault: "":ServerFaultCode [no subcode]#012"Permission to perform this operation was denied."#012Detail: #012'

Cause

The user that is specified within the VMwareDisks resource does not have the required privileges to create a virtual SCSI controller on a target VM (virtual machine) when the VM did not have the virtual SCSI controller, which was configured for the VMWareDisks resource.

Resolution

The High Availability Solution Guide for VMware 6.1, page 68, and the High Availability Solution Guide for VMware 6.0.3, page 63, explain that the following privileges should be given to the VMwareDisks resource user:
  • All Privileges > Datastore > Low level file operations.
  • All Privileges > Virtual Machine > Configuration > Adding existing disk.
  • All Privileges > Virtual Machine > Change resource.
  • All Privileges > Virtual Machine > Configuration > Remove disk.

But one more privilege should be given to the user to resolve this kind of issue:
  • All Privileges > Virtual Machine > Configuration > Add or remove device

Issue/Introduction

VMwareDisks resource fails when trying to go online.

Additional Information

ETrack: 3453349