wllp
Enthusiast
Enthusiast

vRB 7 - Services in vRA Appliance is not REGISTERED

After deploying and registering the vRB to the vRA, the services were seen in vRA Appliance.

1. pricing-api

2. vcbm-service

However, the statuses are showing BLANK. I have tried to restart both vRA and vRB. What am I missing?

vraa-services.png

0 Kudos
2 Replies
wllp
Enthusiast
Enthusiast

There are errors logged in the catalina.out files for both vRA and vRB.

vRA Error:

2016-10-29 05:44:09,460 vcac: [component="cafe:identity" priority="WARN" thread="tomcat-http--15" tenant="" context="EeqMDNjg" token="EeqMDNjg"] com.vmware.vcac.authentication.service.impl.AuthenticationMessageNotificationServiceImpl.loadServiceInfoAndRegisterSolutionUserForTenants:63 - No serviceInfo found for serviceInfoId [58f2bd8c-b27c-470a-8fb2-84b965fb5450] of serviceType [com.vmware.vcbm.vcbm]

com.vmware.vcac.platform.rest.client.support.RetriableOperation$RetriableException: Retriable operation failed after the maximum number of attempts - [5]

  at com.vmware.vcac.platform.rest.client.support.RetriableOperation.call(RetriableOperation.java:72) ~[platform-rest-client-7.0.1-SNAPSHOT.jar:?]

  at com.vmware.vcac.authentication.service.impl.AuthenticationMessageNotificationServiceImpl.loadServiceInfoAndRegisterSolutionUserForTenants(AuthenticationMessageNotificationServiceImpl.java:58) [authentication-service-7.0.1-SNAPSHOT.jar:?]

  at com.vmware.vcac.authentication.service.impl.AuthenticationMessageNotificationServiceImpl.onServiceInfoChangeEvent(AuthenticationMessageNotificationServiceImpl.java:37) [authentication-service-7.0.1-SNAPSHOT.jar:?]

  at com.vmware.vcac.core.service.rest.updates.ServiceUpdatesListenerController.onServiceInfoChangeEvent(ServiceUpdatesListenerController.java:34) [service-registry-config-7.0.1-SNAPSHOT.jar:?]

  at sun.reflect.GeneratedMethodAccessor566.invoke(Unknown Source) ~[?:?]

  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_72]

  at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_72]

  at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:222) [spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]

  at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137) [spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]

  at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110) [spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]

  at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:814) [spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]

  at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:737) [spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]

  at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85) [spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]

  at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959) [spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]

  at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893) [spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]

  at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:969) [spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]

  at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:871) [spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:648) [servlet-api.jar:?]

  at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:845) [spring-webmvc-4.2.4.RELEASE.jar:4.2.4.RELEASE]

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) [servlet-api.jar:?]

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) [catalina.jar:?]

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:?]

  at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat-websocket.jar:8.0.30.C]

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:?]

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:?]

  at org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71) [platform-log4j-web-custom-7.0.1-SNAPSHOT.jar:?]

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:?]

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:?]

  at com.vmware.vcac.platform.metrics.servlet.MetricsAbstractInstrumentedFilter.doFilter(MetricsAbstractInstrumentedFilter.java:95) [platform-metrics-servlet-7.0.1-SNAPSHOT.jar:?]

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:?]

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:?]

  at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:207) [spring-security-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]

  at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:176) [spring-security-web-4.0.2.RELEASE.jar:4.0.2.RELEASE]

  at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346) [spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]

  at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262) [spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:?]

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:?]

  at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:121) [spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]

  at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:?]

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:?]

  at com.vmware.vcac.platform.service.rest.filter.DefaultContentTypeFilter.doFilter(DefaultContentTypeFilter.java:68) [platform-service-config-7.0.1-SNAPSHOT.jar:?]

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:?]

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:?]

  at com.vmware.vcac.platform.trace.servlet.TraceHttpRequestFilter.doFilter(TraceHttpRequestFilter.java:49) [platform-trace-servlet-7.0.1-SNAPSHOT.jar:?]

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) [catalina.jar:?]

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:?]

  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) [catalina.jar:?]

  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) [catalina.jar:?]

  at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) [catalina.jar:?]

  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) [catalina.jar:?]

  at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:676) [catalina.jar:?]

  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) [catalina.jar:?]

  at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616) [catalina.jar:?]

  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) [catalina.jar:?]

  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:521) [catalina.jar:?]

  at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1096) [tomcat-coyote.jar:8.0.30.C]

  at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:674) [tomcat-coyote.jar:8.0.30.C]

  at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500) [tomcat-coyote.jar:8.0.30.C]

  at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456) [tomcat-coyote.jar:8.0.30.C]

  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_72]

  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_72]

  at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-util.jar:8.0.30.C]

  at java.lang.Thread.run(Thread.java:745) [?:1.8.0_72]

Caused by: org.springframework.web.client.HttpClientErrorException: 404 Not Found

  at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:91) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]

  at com.vmware.vcac.platform.rest.client.error.ResponseErrorHandler.handleError(ResponseErrorHandler.java:61) ~[platform-rest-client-7.0.1-SNAPSHOT.jar:?]

  at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:641) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]

  at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:597) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]

  at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:572) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]

  at org.springframework.web.client.RestTemplate.getForObject(RestTemplate.java:280) ~[spring-web-4.2.4.RELEASE.jar:4.2.4.RELEASE]

  at com.vmware.vcac.platform.rest.client.impl.RestClientImpl.get(RestClientImpl.java:312) ~[platform-rest-client-7.0.1-SNAPSHOT.jar:?]

  at com.vmware.vcac.platform.rest.client.services.AbstractService.get(AbstractService.java:67) ~[platform-rest-client-7.0.1-SNAPSHOT.jar:?]

  at com.vmware.vcac.core.componentregistry.rest.client.service.RegistryService.getService(RegistryService.java:107) ~[component-registry-client-rest-service-7.0.1-SNAPSHOT.jar:?]

  at com.vmware.vcac.authentication.service.impl.AuthenticationMessageNotificationServiceImpl$1.call(AuthenticationMessageNotificationServiceImpl.java:47) ~[authentication-service-7.0.1-SNAPSHOT.jar:?]

  at com.vmware.vcac.authentication.service.impl.AuthenticationMessageNotificationServiceImpl$1.call(AuthenticationMessageNotificationServiceImpl.java:44) ~[authentication-service-7.0.1-SNAPSHOT.jar:?]

  at com.vmware.vcac.platform.rest.client.support.RetriableOperation.call(RetriableOperation.java:60) ~[platform-rest-client-7.0.1-SNAPSHOT.jar:?]

  ... 63 more

vRB Error:

05:57:49.845 ERROR [pool-3-thread-1] o.s.s.s.TaskUtils$LoggingErrorHandler - Unexpected error occurred in scheduled task.

com.vmware.itfm.cloud.common.utils.client.TransformerException: Failed to execute GET https://localhost/itfm-cloud-dc-transformer/rest/transformer/tenant/system/status

  at com.vmware.itfm.cloud.common.utils.client.TransformerRestClient.exchange(TransformerRestClient.java:147) ~[itfm-common-utils-7.0.1.0.jar:7.0.1.0]

  at com.vmware.itfm.cloud.common.utils.client.TransformerRestClient.get(TransformerRestClient.java:122) ~[itfm-common-utils-7.0.1.0.jar:7.0.1.0]

  at com.vmware.itfm.cloud.common.systemhealth.processing.application.SystemHealthPollingJob.poll(SystemHealthPollingJob.java:37) ~[itfm-backend-jobs-7.0.1.0.jar:7.0.1.0]

  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_95]

  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_95]

  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_95]

  at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_95]

  at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:65) ~[spring-context-4.2.1.RELEASE.jar:4.2.1.RELEASE]

  at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:54) [spring-context-4.2.1.RELEASE.jar:4.2.1.RELEASE]

  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [?:1.7.0_95]

  at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) [?:1.7.0_95]

  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) [?:1.7.0_95]

  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:1.7.0_95]

  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [?:1.7.0_95]

  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [?:1.7.0_95]

  at java.lang.Thread.run(Thread.java:745) [?:1.7.0_95]

Caused by: org.springframework.web.client.HttpClientErrorException: 404 Not Found

  at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:91) ~[spring-web-4.2.1.RELEASE.jar:4.2.1.RELEASE]

  at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:641) ~[spring-web-4.2.1.RELEASE.jar:4.2.1.RELEASE]

  at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:597) ~[spring-web-4.2.1.RELEASE.jar:4.2.1.RELEASE]

  at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:557) ~[spring-web-4.2.1.RELEASE.jar:4.2.1.RELEASE]

  at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:475) ~[spring-web-4.2.1.RELEASE.jar:4.2.1.RELEASE]

  at com.vmware.itfm.cloud.common.utils.client.TransformerRestClient.exchange(TransformerRestClient.java:145) ~[itfm-common-utils-7.0.1.0.jar:7.0.1.0]

  ... 15 more

0 Kudos
Shawnho_Taiwan
Contributor
Contributor

I also encountered a similar situation as you did. pricing-api and vmbc services won't start. I then found out from the error message that I accidently modify the hostname of the vRB to match its dns name. After changing the hostname back to localhost.localdom, I then unregister and register back vRB to vRA again. The problem is resolved.

Not sure if it works for you. You can give it a try.

0 Kudos