5 Replies Latest reply on Jul 15, 2018 12:58 AM by Cibi Mathew

    Integration Between TrueSight and BSA

    Kalpesh Ghagas

      Hi All,

       

      We are trying to do integration between TrueSight(Linux) and BSA(Windows)

       

      We have performed below tasks

      1  ./blade.sh setup -host <BMC Server Automation Server> -port <BMC Server Automation Server port> -user <BMC Server Automation Server Username> -pass <BMC Server Automation Server password> -role <BMC Server Automation Server role>

      --> Command executed successfully

      2  ./blade.sh test

      --> Connection successful

      3  ./blade.sh get_setup

      --> Showing provided BSA details properly

      4  ./blade.sh auto_prov_prep

      --> while we are performing 4th command we are getting below errors:-

       

      [sso@SSO bin]$ ./blade.sh auto_prov_prep

      BMC TrueSight Presentation Server Command Line Interface 2017 version 11.0

      Copyright 2014-2017 BMC Software, Inc. as an unpublished work. All rights reserved.

      Auto provisioning the default package XML file.

      Start Creation of BMC Server Automation objects ....

      This may take a long time...

      Error : Creation of BMC Server Automation objects failed.

       

      Error in truesight.log file

       

      INFO  01/24 16:59:30.588 [https-jsse-nio-8043-exec-5] c.p.a.cmd.CmdBlade

      Start Creation of BMC Server Automation objects ....

      INFO  01/24 16:59:30.588 [https-jsse-nio-8043-exec-5] c.p.a.cmd.CmdBlade This ma                                                                                        y take a long time...

      INFO  01/24 16:59:30.618 [https-jsse-nio-8043-exec-5] o.a.a.d.ModuleDeployer Dep                                                                                        loying module: metadataExchange-1.5.1 - file:/opt/bmc/TrueSightPServer/truesight                                                                                        pserver/lib/dependencies/mex-1.5.1.jar

      INFO  01/24 16:59:31.180 [https-jsse-nio-8043-exec-5] o.a.a.d.ModuleDeployer Dep                                                                                        loying module: metadataExchange-1.5.1 - file:/opt/bmc/TrueSightPServer/truesight                                                                                        pserver/lib/dependencies/mex-1.5.1.jar

      ERROR 01/24 16:59:31.335 [main] c.b.s.c.w.BladeLogicCmdHelper Auto Provision of                                                                                          Blade Logic Default Package Failure !

      INFO  01/24 17:03:14.139 [main] c.b.t.p.c.p.CPAppPropertiesInitializer Started P                                                                                        roperties Cache initialization

      INFO  01/24 17:03:15.049 [main] c.b.t.p.c.p.CPAppPropertiesInitializer Completed                                                                                         Properties Cache initialization

      INFO  01/24 17:03:24.417 [main] c.b.t.p.c.p.CPAppPropertiesInitializer Started P                                                                                        roperties Cache initialization

      INFO  01/24 17:03:25.522 [main] c.b.t.p.c.p.CPAppPropertiesInitializer Completed                                                                                         Properties Cache initialization

      INFO  01/24 17:03:26.567 [https-jsse-nio-8043-exec-25] c.p.a.cmd.CmdBlade Auto p                                                                                        rovisioning the default package XML file.

      INFO  01/24 17:03:26.568 [https-jsse-nio-8043-exec-25] c.p.a.cmd.CmdBlade

      Start Creation of BMC Server Automation objects ....

      INFO  01/24 17:03:26.568 [https-jsse-nio-8043-exec-25] c.p.a.cmd.CmdBlade This m                                                                                        ay take a long time...

      INFO  01/24 17:03:26.630 [https-jsse-nio-8043-exec-25] o.a.a.d.ModuleDeployer De                                                                                        ploying module: metadataExchange-1.5.1 - file:/opt/bmc/TrueSightPServer/truesigh                                                                                        tpserver/lib/dependencies/mex-1.5.1.jar

      INFO  01/24 17:03:27.112 [https-jsse-nio-8043-exec-25] o.a.a.d.ModuleDeployer De                                                                                        ploying module: metadataExchange-1.5.1 - file:/opt/bmc/TrueSightPServer/truesigh                                                                                        tpserver/lib/dependencies/mex-1.5.1.jar

      ERROR 01/24 17:03:27.292 [main] c.b.s.c.w.BladeLogicCmdHelper Auto Provision of                                                                                          Blade Logic Default Package Failure !

       

      Error in CMA.log file

       

      INFO  01/24 17:03:15.888 [https-jsse-nio-8043-exec-30] CMA  INFO : Setting of BMC Server Automation connection information succeeded.

      INFO  01/24 17:03:26.568 [https-jsse-nio-8043-exec-25] CMA Auto provisioning the default package XML file.

      INFO  01/24 17:03:26.568 [https-jsse-nio-8043-exec-25] CMA Start Creation of BMC Server Automation objects ....

      INFO  01/24 17:03:26.568 [https-jsse-nio-8043-exec-25] CMA This may take a long time...

      INFO  01/24 17:03:26.582 [https-jsse-nio-8043-exec-25] CMA BMC_TS-CMA303700

      INFO  01/24 17:03:26.583 [https-jsse-nio-8043-exec-25] CMA BMC_TS-CMA303700

      INFO  01/24 17:03:27.089 [https-jsse-nio-8043-exec-25] CMA BMC_TS-CMA303704

      ERROR 01/24 17:03:27.165 [https-jsse-nio-8043-exec-25] CMA BMC_TS-CMA852146E    Invocation exception while processing request.

      com.bmc.truesight.rest.exception.RESTInvocationException: null

              at com.bmc.sms.cmaws.executor.CMAProviderBladeLogicAutoProvisionCreateRequestExecutor.execute(CMAProviderBladeLogicAutoProvisionCreateRequestExecutor.java:73)

              at com.bmc.sms.cmaws.servicefactory.CMAInternalExecutionService.execute(CMAInternalExecutionService.java:201)

              at com.bmc.sms.cmaws.CMAProvider.autoProvisionCreate(CMAProvider.java:1628)

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

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

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

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

              at com.bmc.truesight.rest.system.InvocationOrchestrator.invoke(InvocationOrchestrator.java:71)

              at com.sun.proxy.$Proxy162.autoProvisionCreate(Unknown Source)

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

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

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

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

              at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:140)

              at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:295)

              at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:249)

              at org.jboss.resteasy.core.ResourceLocatorInvoker.invokeOnTargetObject(ResourceLocatorInvoker.java:138)

              at org.jboss.resteasy.core.ResourceLocatorInvoker.invoke(ResourceLocatorInvoker.java:101)

              at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:406)

              at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:213)

              at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:228)

              at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:56)

              at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:51)

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

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

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

       

      Environment details:-

       

      TrueSight PS version 11.0 on Linux VM

      BSA version 8.9 on Windows VM

       

        Can any one face this kind of issue previously, Kindly suggest for the same.

       

      Regards,

      Kalpesh