eocallaghan7319
Contributor
Contributor

vRO 7.0.1 & SRM 6.1.1 plugin error

Hi folks,

I'm having an issue with the following builds:

vRO-Appliance-7.0.1.17606-3571217

VMware-srm-vcoplugin-6.1.1-3884620.vmoapp

After adding the vCenter endpoints and restarting vRO the SRM sites inventory does not populate in the vRO client. I've tested with administrator@vsphere.local as well just in case it was an auth issue but not joy.

Any ideas?

2016-07-26 09:16:00.209-0400 [http-nio-0.0.0.0-8281-exec-2] WARN  {} [SDKModuleDescription] Unable to execute Plug-in 'invalidateAll' on module 'SRM', reason : Unable to perform operation 'invalidateAll' on finder 'Root' reason : Unable to create SRM Plugin Factory

2016-07-26 09:16:00.653-0400 [http-nio-0.0.0.0-8281-exec-14] ERROR {} [VcoDelegatingWebFacade] Server Error...

ch.dunes.model.sdk.SDKFinderException: Unable to perform operation 'fetchRelation' on finder 'Root' reason : Unable to create SRM Plugin Factory

        at ch.dunes.vso.sdk.SDKFinder.fetchRelation(SDKFinder.java:376)

        at ch.dunes.vso.sdk.SDKFinder._findRelation(SDKFinder.java:353)

        at ch.dunes.vso.sdk.SDKFinder.findRelation(SDKFinder.java:267)

        at ch.dunes.vso.sdk.ModulesFactory.findRelation(ModulesFactory.java:648)

        at com.vmware.o11n.sdk.EnhancedScriptingSDK.findRelation(EnhancedScriptingSDK.java:143)

        at com.vmware.o11n.service.sdk.SdkModuleServiceImpl.findRelation(SdkModuleServiceImpl.java:79)

        at com.vmware.o11n.service.factory.VcoFactoryFacade.findRelation(VcoFactoryFacade.java:1739)

        at sun.reflect.GeneratedMethodAccessor599.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at com.vmware.o11n.service.security.AccessRightsInterceptor.invoke(AccessRightsInterceptor.java:97)

        at com.vmware.o11n.service.security.AccessRightsInterceptor.invoke(AccessRightsInterceptor.java:88)

        at com.vmware.o11n.service.webremoting.VcoDelegatingWebFacade.invokeOperation(VcoDelegatingWebFacade.java:106)

        at com.vmware.o11n.integration.initialization.VcoFactoryServiceFacadeProxy.invokeOperation(VcoFactoryServiceFacadeProxy.java:86)

        at sun.reflect.GeneratedMethodAccessor288.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)

        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)

        at com.sun.proxy.$Proxy11.invokeOperation(Unknown Source)

        at sun.reflect.GeneratedMethodAccessor287.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at org.springframework.remoting.support.RemoteInvocation.invoke(RemoteInvocation.java:212)

        at org.springframework.remoting.support.DefaultRemoteInvocationExecutor.invoke(DefaultRemoteInvocationExecutor.java:39)

        at org.springframework.remoting.support.RemoteInvocationBasedExporter.invoke(RemoteInvocationBasedExporter.java:78)

        at org.springframework.remoting.support.RemoteInvocationBasedExporter.invokeAndCreateResult(RemoteInvocationBasedExporter.java:114)

        at org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter.handleRequest(HttpInvokerServiceExporter.java:74)

        at org.springframework.web.context.support.HttpRequestHandlerServlet.service(HttpRequestHandlerServlet.java:67)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at net.sf.ehcache.constructs.web.filter.GzipFilter.doFilter(GzipFilter.java:95)

        at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:86)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)

        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)

        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:614)

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)

        at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:676)

        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:521)

        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1096)

        at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:674)

        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)

        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

        at java.lang.Thread.run(Thread.java:745)

Caused by: com.vmware.srm.o11n.exception.SrmException: Unable to create SRM Plugin Factory

        at com.vmware.srm.o11n.exception.ExceptionsDecorator.getRuntimeException(ExceptionsDecorator.java:19)

        at com.vmware.srm.o11n.SrmPluginAdaptor.createPluginFactory(SrmPluginAdaptor.java:55)

        at com.vmware.srm.o11n.SrmPluginAdaptor.createPluginFactory(SrmPluginAdaptor.java:20)

        at ch.dunes.vso.sdk.SDKDatasource$1.create(SDKDatasource.java:262)

        at ch.dunes.vso.sdk.PluginFactoryCreator.getPluginFactory(PluginFactoryCreator.java:35)

        at ch.dunes.vso.sdk.SDKPluginFactoryInvoker.getPluginFactory(SDKPluginFactoryInvoker.java:329)

        at ch.dunes.vso.sdk.SDKPluginFactoryInvoker.fetchRelation(SDKPluginFactoryInvoker.java:42)

        at ch.dunes.vso.sdk.SDKFinder.fetchRelation(SDKFinder.java:378)

        at ch.dunes.vso.sdk.SDKFinder._findRelation(SDKFinder.java:353)

        at ch.dunes.vso.sdk.SDKFinder.findRelation(SDKFinder.java:267)

        at ch.dunes.vso.sdk.ModulesFactory.findRelation(ModulesFactory.java:648)

        at com.vmware.o11n.sdk.EnhancedScriptingSDK.findRelation(EnhancedScriptingSDK.java:143)

        at com.vmware.o11n.service.sdk.SdkModuleServiceImpl.findRelation(SdkModuleServiceImpl.java:79)

        at com.vmware.o11n.service.factory.VcoFactoryFacade.findRelation(VcoFactoryFacade.java:1739)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        ... 48 more

Caused by: com.vmware.srm.o11n.exception.SrmException: Incorrect LS address null

        at com.vmware.srm.o11n.exception.ExceptionsDecorator.getRuntimeException(ExceptionsDecorator.java:19)

        at com.vmware.srm.o11n.connection.impl.cis.CmBootstrapper.getLsUri(CmBootstrapper.java:122)

        at com.vmware.srm.o11n.connection.impl.cis.CmBootstrapper.bootstrap(CmBootstrapper.java:82)

        at com.vmware.srm.o11n.SrmPluginAdaptor.createPluginFactory(SrmPluginAdaptor.java:52)

        ... 62 more

Caused by: java.lang.NullPointerException

        at java.net.URI$Parser.parse(URI.java:3042)

        at java.net.URI.<init>(URI.java:588)

        at com.vmware.srm.o11n.connection.impl.cis.CmBootstrapper.getLsUri(CmBootstrapper.java:119)

        ... 64 more

2016-07-26 09:16:00.654-0400 [http-nio-0.0.0.0-8281-exec-14] ERROR {} [VcoFactoryServiceFacadeProxy] ch.dunes.util.DunesServerException: Unable to perform operation 'fetchRelation' on finder 'Root' reason : Unable to create SRM Plugin Factory

Tags (2)
0 Kudos
1 Reply
iiliev
VMware Employee
VMware Employee

Hi,

The inventory is not populated in vRO client due to a NullPointerException (near the end of the stack trace below), which is thrown because the plug-in cannot fetch the value of property vco.vsphere.lookup-service.url from file vmo.properties.

How is your vRO server configured; in particular, is it using vSphere Single Sign-On authentication, or vRA/LDAP? Here is a nice blog post by Ziv Klempner that outlines the proper configuration steps for vRO 7.0.1 and SRM plug-in 6.1.1 - http://www.virtualjedi.com/configure-vrealize-orchestrator-plugin-srm/

0 Kudos