Hi All,

Inside AAI VM, /opt/aai_vm_init.sh following command is used to start 
model-loader-service container:


docker run --name=model-loader-service -it -d -e 
DISTR_CLIENT_ASDC_ADDRESS=c2.vm1.sdc.simpledemo.openecomp.org:8443 -e 
DISTR_CLIENT_ENVIRONMENT_NAME=$DMAAP_TOPIC -e DISTR_CLIENT_USER=aai -e 
DISTR_CLIENT_PASSWORD=OBF:1ks51l8d1o3i1pcc1r2r1e211r391kls1pyj1z7u1njf1lx51go21hnj1y0k1mli1sop1k8o1j651vu91mxw1vun1mze1vv11j8x1k5i1sp11mjc1y161hlr1gm41m111nkj1z781pw31kku1r4p1e391r571pbm1o741l4x1ksp
 -e APP_SERVER_BASE_URL=https://c1.vm1.aai.simpledemo.openecomp.org:8443 -e 
APP_SERVER_KEYSTORE_PASSWORD=OBF:1i9a1u2a1unz1lr61wn51wn11lss1unz1u301i6o -e 
APP_SERVER_AUTH_USER=ModelLoader -e 
APP_SERVER_AUTH_PASSWORD=OBF:1qvu1v2h1sov1sar1wfw1j7j1wg21saj1sov1v1x1qxw 
$NEXUS_DOCKER_REPO/openecomp/model-loader:$DOCKER_IMAGE_VERSION


However, I found this command's behavior inconsistent during the various ONAP 
deployments I tried.


The problem lies with the value in 
DISTR_CLIENT_ASDC_ADDRESS=c2.vm1.sdc.simpledemo.openecomp.org:8443 command 
param. The FQDN value does not seem to get resolved every time.

I fixed this issue by using $SDC_IP_ADDR

instead of c2.vm1.sdc.simpledemo.openecomp.org.

This fix works for me and I hope would be helpful in achieving a consistent 
behavior.


Pls let me know if I am missing something and this FQDN is actually essential. 
Or otherwise, if I can check-in this change?


Thanks & Regards,

Arun Arora


_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to