"Provider method implementation threw unexpected exception. %s VapiStructureProxy.cause Permission to perform this operation was denied."
cl_vcenter_task
table./varlog/vmware/content-library/cls.log
the following errors are found:2020-07-02T09:14:04.695Z | ERROR | SelectResourcePageMediator-validate-2531028-ngc:70089529-76-6f | cls-simple-activity-4 | IntermediateResultListener | Activity threw exception.com.vmware.vapi.std.errors.Unauthorized: Unauthorized (com.vmware.vapi.std.errors.unauthorized) => {messages = [LocalizableMessage (com.vmware.vapi.std.localizable_message) => {id = com.vmware.vapi.authorization.permission.denied, defaultMessage = Permission to perform this operation was denied., args = []
/var/log/vmare/vpxd/vpxd.log
the following errors are found:2020-07-02T09:14:04.795Z info vpxd[7F6ACD62A700] [Originator@6876 sub=vpxLro opID=SelectResourcePageMediator-validate-2531028-ngc:70089529-76-6f-ee-e9-fc] [VpxLRO] -- FINISH lro-18828506
2020-07-02T09:14:04.795Z info vpxd[7F6ACD62A700] [Originator@6876 sub=Default opID=SelectResourcePageMediator-validate-2531028-ngc:70089529-76-6f-ee-e9-fc] [VpxLRO] -- ERROR lro-18828506 -- task-263772 -- vim.Task.setState: vim.fault.InvalidState:
--> Result:
--> (vim.fault.InvalidState) {
--> faultCause = (vmodl.MethodFault) null,
--> faultMessage = <unset>
--> msg = ""
--> }
--> Args:
-->
--> Arg state:
--> "error"
--> Arg result:
-->
--> Arg fault:
--> (vim.fault.OvfImportFailed) {
--> faultCause = (vmodl.fault.SecurityError) {
--> faultCause = (vmodl.MethodFault) null,
--> faultMessage = (vmodl.LocalizableMessage) [
--> (vmodl.LocalizableMessage) {
--> key = "com.vmware.vapi.authorization.permission.denied",
--> arg = <unset>,
--> message = "Permission to perform this operation was denied."
--> }
--> ]
--> msg = "Permission to perform this operation was denied."
--> },
--> faultMessage = <unset>
--> msg = ""
--> }
vCenter 7.0.x
A required solution user definition is missing under global permission. This is a hard requirement as content library is permission hierarchy is under global permissions.
Fix the missing permission using the following steps:
vpxd
vpxd-extension
An example of this process can be seen in the screenshot below: