I just want to point out that this script is only applicable for the 1.0.0 
release.  The 1.1.0 release has a different mechanism to push configuration to 
the model-loader-service ("aai2_vm_init.sh" is the script that initiates the 
process).

If you are having trouble deploying the 1.0.0 release, then I'll let someone 
else comment on whether or not this is the correct change (Marco perhaps?).  My 
understanding was that the demo environment would be required to have a DNS 
which would be able to resolve these FQDNs - but my understanding may be 
incorrect.

Regards,
Steve


From: [email protected] 
[mailto:[email protected]] On Behalf Of Arun Arora (c)
Sent: Wednesday, August 02, 2017 9:44 AM
To: [email protected]
Subject: [onap-discuss] AAI model-loader-service docker run command param issue


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




This message and the information contained herein is proprietary and 
confidential and subject to the Amdocs policy statement,

you may review at https://www.amdocs.com/about/email-disclaimer 
<https://www.amdocs.com/about/email-disclaimer>
_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to