vSphere HA configuration fails with error "Setting desired image spec for cluster failed"
search cancel

vSphere HA configuration fails with error "Setting desired image spec for cluster failed"

book

Article ID: 427265

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

vSphere HA could not be configured, and the following error was encountered:
 

Environment

vCenter server 8.x

Cause

The issue occurred because the solution user did not have the required permission and /var/log/vmware/vmware-updatemgr/vum-server/vmware-vum-server.log contains the error:
yyyy-dd-ddThh:mm:ss: info vmware-vum-server[xxxxx] [Originator@6876 sub=IntegrityAuthzServiceHelper] [AuthzServiceHelper 69] Entity PrivResult:PrivId:VcIntegrity.lifecycleSoftwareSpecification.Write,PrivValue:false
yyyy-dd-ddThh:mm:ss: info vmware-vum-server[xxxxx] [Originator@6876 sub=IntegrityAuthzServiceHelper] [AuthzServiceHelper 186] User: vpxd-solution [email protected] does not have Privilage: VcIntegrity.lifecycleSoftwareSpecification.Write on entity:domain-cxxxxxx

Resolution

The solution user did not have the “Propagate to children” option enabled in its permissions. The issue was resolved by enabling it in the vCenter permission group using the steps below:
1.Select the vCenter > Permissions.
2.Select the affected solution user as mention in the log file and click Edit.
3.Select "Propagate to children" option and click on save.   

The outcome of these steps should match what is shown in the screenshot below: