book
Article ID: 342840
calendar_today
Updated On:
Issue/Introduction
Symptoms:
- When running a report as a vCenter authenticated user, the report generation status is Failed.
- You see errors in the /storage/vcops/log/view-bridge.log similar to:
2018-03-20 16:46:27,216 ERROR [reportGenerationExecutor-1] com.vmware.vcops.bridge.content.server.report.ReportRenderer.run - Report: 605471dc-7541-4fad-8b98-d789ca671df3
got an exception while generating reports = com.vmware.vcops.bridge.content.client.AuthorizationException
exception stacktrace = com.vmware.vcops.bridge.content.client.AuthorizationException
at com.vmware.vcops.bridge.content.server.authorization.AuthorizationAspect.checkPrivileges(AuthorizationAspect.java:70)
at sun.reflect.GeneratedMethodAccessor953.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:620)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:602)
at org.springframework.aop.aspectj.AspectJMethodBeforeAdvice.before(AspectJMethodBeforeAdvice.java:41)
at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:51)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:168)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)
at com.sun.proxy.$Proxy142.getViewDefinitions(Unknown Source)
at com.vmware.vcops.bridge.content.server.report.ReportRenderer.getViewStates(ReportRenderer.java:1449)
at com.vmware.vcops.bridge.content.server.report.ReportRenderer.renderReport(ReportRenderer.java:310)
at com.vmware.vcops.bridge.content.server.report.ReportRenderer.run(ReportRenderer.java:238)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
Environment
VMware Aria Operations 8.12.x
VMware vRealize Operations 8.6.x
VMware vRealize Operations 8.10.x
Resolution
It is not possible to run Reports with a vCenter authenticated user.
Instead, authenticate with a Local, LDAP, Active Directory, SSO, or vIDM user that has a role granted that contains the Dashboards > Reports Management > Execute permission, then re-run the report.