Hi, How do you know it’s picking the asdc-contoller1 config to connect? What I’ve noticed is SO comes with two pre-configured asdc-controllers, but the thing is, one is a dummy one (asdc-controller2), but the asdc code in SO will try to establish the connection to all the controllers provided in the asdc-connections list, hence the issue you’re facing. You probably are seeing the logs of the second one, and the first one has successfully connect. Try removing the dummy asdc-controller entry, and restart SO. I tend to think the stacktrace you mentioned will disappear.
Alexis > On Jan 15, 2018, at 9:29 PM, Chenchuanyu <chenchua...@huawei.com> wrote: > > Hi SDC Team, > I found that Distribution Client of SO cannot registered successful to SDC. > Below is the errormso.log and the SDC configuration , asdc-controller1 is > used to register the distribution client. The response message from SDC is > CONF_INVALID_ASDC_FQDN. > Because of this SO cannot get the template information designed in SDC, can > anyone help on this? > > 2017-12-02T23:25:30.003Z|trace-#|EJB default - > 9|InitASDC||ASDC||WARN|BusinessProcesssError|ASDCControllerException in > checkInStoppedState|Exception raised: > org.openecomp.mso.asdc.client.exceptions.ASDCControllerException: > Initialization of the ASDC Controller failed with reason: configuration is > invalid: CONF_INVALID_ASDC_FQDN - at > org.openecomp.mso.asdc.client.ASDCController.initASDC(ASDCController.java:237) > - at > org.openecomp.mso.asdc.client.ASDCGlobalController.checkInStoppedState(ASDCGlobalController.java:130) > - at > org.openecomp.mso.asdc.ASDCControllerSingleton.periodicControllerTask(ASDCControllerSingleton.java:63) > - at sun.reflect.GeneratedMethodAccessor367.invoke(Unknown Source) - > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > - at java.lang.reflect.Method.invoke(Method.java:498) - at > org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52) > - at > org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) > - at > org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:57) > - at > org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:61) > - at > org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) > - at > org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437) > - at > org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82) > - at > org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:95) > - at > org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:61) > - at > org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) > - at > org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:57) > - at > org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:61) > - at > org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) > - at > org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43) > - at > org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) > - at > org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:437) > - at > org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:73) > - at > org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83) > - at > org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:340) > - at > > { > "asdc-connections":{ > "asdc-controller1":{ > "user":"mso", > "consumerGroup":"sdc-OpenSource-Env1-mso-dockero", > "consumerId":"sdc-COpenSource-Env11-mso-dockero", > "environmentName":"SDC-OpenSource-Env1", > "asdcAddress":"c2.vm1.sdc.simpledemo.openecomp.org:8443 > <http://vm1.sdc.simpledemo.openecomp.org:8443/>", > > "password":"613AF3483E695524F9857643B697FA51C7A9A0951094F53791485BF3458F9EADA37DBACCCEBD0CB242B85B4062745247", > "pollingInterval":"60", > "pollingTimeout":"60", > "relevantArtifactTypes":"HEAT,HEAT_ENV,HEAT_VOL", > "activateServerTLSAuth":"false", > "keyStorePassword":"", > "keyStorePath":"" > }, > "asdc-controller2":{ > "user":"user", > "consumerGroup":"mso-mso-dockero", > "consumerId":"mso-mso-dockero", > "environmentName":"PROD", > "asdcAddress":"asdc_hostname2:8443", > "password":"f3895035812addbf115bfaf7d2dc850e", > "pollingInterval":"60", > "pollingTimeout":"60", > "relevantArtifactTypes":"HEAT,HEAT_ENV,HEAT_VOL", > "activateServerTLSAuth":"false", > "keyStorePassword":"", > "keyStorePath":"" > } > }, > "mso.properties.reload.time.minutes":2 > } > > Thanks , > Chuanyu Chen. > *************************************************************************************** > 本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件! > ************************************************************************************** > > *************************************************************************************** > This e-mail and its attachments contain confidential information from HUAWEI, > which is intended only for the person or entity whose address islisted > above. Any use of the information contained herein in any way (including, but > not limited to, total or partial disclosure, reproduction, ordissemination) > by persons other than the intended recipient(s) is prohibited. If you > receive this e-mail in error, please notify the sender by phone oremail > immediately and delete it! > *************************************************************************************** > > _______________________________________________ > onap-discuss mailing list > onap-discuss@lists.onap.org <mailto:onap-discuss@lists.onap.org> > https://lists.onap.org/mailman/listinfo/onap-discuss > <https://lists.onap.org/mailman/listinfo/onap-discuss>
_______________________________________________ onap-discuss mailing list onap-discuss@lists.onap.org https://lists.onap.org/mailman/listinfo/onap-discuss