VM Deployment via OVF Tool Failing with Error: 'PBM Error Occurred During PreCreateCheckCallback - Invalid State'
book
Article ID: 384777
calendar_today
Updated On:
Products
VMware vCenter Server 8.0
Issue/Introduction
Deployment of OVF via OVF Tool fails when using a particular user account fails with the following error in vCenter UI : A general system error occurred: PBM error occurred during PreCreateCheckCallback: Invalid state
OVF deployments initiated through the vCenter UI when logged in as the [email protected] user are successful.
We can find below log entries in the vpxd.log.
yyyy-mm-dd info vpxd[XXXX] [Originator@XXXX sub=UserDirectorySso opID=XXXX] GetUserInfoInternal(VSPHERE.LOCAL\user_name, false) res: VSPHERE.LOCAL\user_name yyyy-mm-dd info vpxd[XXXX] [Originator@XXXX sub=vmomi.soapStub[XXXX] opID=XXX] SOAP request returned HTTP failure; <<cs p:XXXX, TCP:localhost:XXXX>, /pbm/sdk>, method: preProvisionProcess; code: 500(Internal Server Error); fault: (pbm.fault.NoPermission) { yyyy-mm-dd info vpxd[XXXX] [Originator@XXXX sub=pbm opID=XXXX] [ReInvokeWithNewSession] Retry remote call pbm.profile.ProfileManager.preProvisionProcess after exception: N3Pbm5Fault12NoPermission9ExceptionE('Fault cause: pbm.fault.NoPermission yyyy-mm-dd error vpxd[XXXX] [Originator@XXXX sub=pbm opID=XXXX] PBM error occurred during PreCreateCheckCallback: Invalid state
Environment
VMware vCenter Server 8.0.x
Cause
Any user attempting to create a virtual machine (VM) or disk with a defined storage profile ID must have the "StorageProfile.View" privilege assigned at the vCenter root level.