VMware Cloud Community
RyanBao
Contributor
Contributor
Jump to solution

Fail to submit vRA License in VA: "The provided license key is not valid."

Hi, Experts.

We built a distributed vRA environment for PoC purpose. After setting up the clustered VA with embeded vPostSQL, we tried to input a Eval Advanced License for vRA from http://FQDN_of_VA:5480 but failed. However, the license looks like valid in other tests in which only a single or two VA deployed.

Is there any way to fix the license problem? Now the entire vRA distributed infrastructure has been built up, but ASD cannot be shown in vRA Portal. If the license cannot work, maybe we have to rebuild what we've done.

Thanks a lot in advance.

Cheers,

Ryan

2015-09-29 12:57:31,943 vcac: [component="cafe:component-registry" priority="WARN" thread="tomcat-http--258" tenant="vsphere.local"] com.vmware.cis.license.embedded.server.core.dlf.impl.DlfLicenseDataDecoderImpl.decodeLicense:203 - License file not found for serial key: C429N-XXXXX-XXXXX-XXXXX-9DXM4

2015-09-29 12:57:31,943 vcac: [component="cafe:component-registry" priority="ERROR" thread="tomcat-http--258" tenant="vsphere.local"] com.vmware.cis.license.embedded.server.core.management.helpers.impl.DecodeLicenseHelperImpl.decodeLicenseAddSpecs:126 - Error decoding license 'test' with serial keys: C429N-XXXXX-XXXXX-XXXXX-9DXM4

  1. com.vmware.cis.license.embedded.server.core.dlf.DlfLicenseDataDecoderException: License file not found for serial key.

  at com.vmware.cis.license.embedded.server.core.dlf.impl.DlfLicenseDataDecoderImpl.decodeLicense(DlfLicenseDataDecoderImpl.java:207)

  at com.vmware.cis.license.embedded.server.core.dlf.impl.DlfLicenseDataDecoderImpl.decodeLicense(DlfLicenseDataDecoderImpl.java:113)

  at com.vmware.cis.license.embedded.server.core.management.decode.impl.SerialKeyLicenseDecoderImpl.decodeLicense(SerialKeyLicenseDecoderImpl.java:59)

  at com.vmware.cis.license.embedded.server.core.management.helpers.impl.DecodeLicenseHelperImpl.decodeLicenseAddSpecs(DecodeLicenseHelperImpl.java:118)

  at com.vmware.cis.license.embedded.server.core.management.impl.SystemManagerImpl.previewLicenses(SystemManagerImpl.java:145)

  at com.vmware.cis.license.embedded.server.core.management.vmomi.SystemManagementServiceImpl.previewLicenses(SystemManagementServiceImpl.java:111)

  at com.vmware.cis.license.embedded.server.core.management.vmomi.SystemManagementServiceImpl.previewLicenses(SystemManagementServiceImpl.java:91)

  at com.vmware.vcac.core.licensing.service.impl.LicenseServiceImpl.getSerialKeyEdition(LicenseServiceImpl.java:461)

  at com.vmware.vcac.core.licensing.service.impl.LicenseServiceImpl.addSerialKeyInfo(LicenseServiceImpl.java:378)

  at com.vmware.vcac.core.licensing.controller.LicenseController.create(LicenseController.java:48)

  at com.vmware.vcac.core.licensing.controller.LicenseController$$FastClassBySpringCGLIB$$7b77e4d8.invoke(<generated>)

  at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)

  at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:711)

  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)

  at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:64)

  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)

  at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:644)

  at com.vmware.vcac.core.licensing.controller.LicenseController$$EnhancerBySpringCGLIB$$89105c0b.create(<generated>)

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

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

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

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

  at org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:215)

  at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:132)

  at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)

  at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:749)

  at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:689)

  at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:83)

  at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:938)

  at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:870)

  at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:961)

  at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:863)

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

  at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:837)

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

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

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

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

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

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

  at com.vmware.vcac.platform.metrics.servlet.MetricsAbstractInstrumentedFilter.doFilter(MetricsAbstractInstrumentedFilter.java:89)

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

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

  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)

  at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)

  at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)

  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

  at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)

  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

  at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)

  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

  at org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:154)

  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

  at com.vmware.vcac.authentication.http.spring.BaseTokenAuthenticationFilter.doFilter(BaseTokenAuthenticationFilter.java:45)

  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

  at com.vmware.vcac.authentication.http.spring.BaseTokenAuthenticationFilter.doFilter(BaseTokenAuthenticationFilter.java:70)

  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

  at com.vmware.vcac.authentication.http.tenancy.TenancyContextFilter.doFilterWithTenancyContext(TenancyContextFilter.java:67)

  at com.vmware.vcac.authentication.http.tenancy.TenancyContextFilter.doFilter(TenancyContextFilter.java:54)

  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

  at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:50)

  at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108)

  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

  at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)

  at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)

  at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)

  at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)

  at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:344)

  at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:261)

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

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

  at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)

  at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108)

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

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

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

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

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

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

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

  at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)

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

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

  at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190)

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

  at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)

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

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

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

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

0 Kudos
1 Solution

Accepted Solutions
RyanBao
Contributor
Contributor
Jump to solution

Hi, there.

The problem has been fixed by clearing the embeddedlicenseentry table using CLI and then re-entering the license key in VAMI.  The following link helped us out !    

How to change vRA licenses/Unable to downgrade existing license edition - viktorious.nl - Virtualiza...

View solution in original post

0 Kudos
1 Reply
RyanBao
Contributor
Contributor
Jump to solution

Hi, there.

The problem has been fixed by clearing the embeddedlicenseentry table using CLI and then re-entering the license key in VAMI.  The following link helped us out !    

How to change vRA licenses/Unable to downgrade existing license edition - viktorious.nl - Virtualiza...

0 Kudos