Good morning Alexis, It is indeed not really required to have an environment file when we initialize the container with Chef, the default attributes should be enough. Nevertheless the first environment was created to provide the default values of the config, and also as a template that could be reused to create some docker-config repo (Initially the docker-config was not present). Having said that, we can only have one environment file provided at the container startup, and therefore only one file to update when we need to change the mso-config cookbook. This requires a small rework of the chef initialization and also of the chef-solo command we use at runtime. We could consider this as a future improvement.
Best regards Catherine From: Alexis de Talhou?t [mailto:[email protected]] Sent: Thursday, April 06, 2017 2:19 PM To: Lefevre, Catherine <cl664y at intl.att.com> Cc: onap-discuss at lists.onap.org Subject: Re: [onap-discuss] mso-docker.json is duplicated Catherine, Thanks for the clarification. Although I?m not sure to understand why it is necessary to initialize the environment through chef at building time, if this can be done at runtime, while starting the container. Could you share scenarios when this can be required? My intuition would be this could be done at runtime only, but I believe I might be missing something. Regards, Alexis On Apr 5, 2017, at 7:04 AM, Lefevre, Catherine <cl664y at intl.att.com<mailto:cl664y at intl.att.com>> wrote: Good morning Alexis, Please find some additional information related to your latest message https://lists.onap.org/pipermail/onap-discuss/2017-April/000011.html<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.onap.org_pipermail_onap-2Ddiscuss_2017-2DApril_000011.html&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=66ObImPAUA0o2f1hTGknnnv5ScXvX8EnREJCPHHBY5M&m=oy4L6rkiehrZv1w4keLLOjb6TUCQYfwSrgNYDJSo2xE&s=-XYaVLwtmDONdVDVsu9iFEi-BB9jb3W3SSKubmGw3Vk&e=> In the chef-repo, the environment file is used during the chef initialization when creating the docker images (used during the maven build) While the docker-config json file is used to overwrite the config before the startup of the containers. Let us know if it clarifies the usage of ?chef-repo.git? and ?docker-config.git?. Best regards Catherine Catherine Lef?vre AT&T Software Development & Engineering D2 Platform & Systems Development AVP - ECOMP/ONAP/RUBY/SPP Phone: +32 2 418 49 22 Mobile: +32 475 77 36 73 catherine.lefevre at intl.att.com<mailto:catherine.lefevre at intl.att.com> TEXTING and DRIVING? It Can Wait AT&T BUROGEST OFFICE PARK SA Avenue des Dessus-de-Lives, 2 5101 Loyers (Namur) Belgium NOTE: This email (or its attachments) contains information belonging to the sender, which may be confidential. proprietary and/or legally privileged. The information is intended only for the use of the individual(s) or entity(ies) named above. If you are not the intended recipient, you are hereby notified that any disclosure, distribution or taking of any action in reliance on the content of this is strictly forbidden. If you have received this e-mail in error please immediately notify the sender identified above _______________________________________________ onap-discuss mailing list onap-discuss at lists.onap.org<mailto:onap-discuss at lists.onap.org> https://lists.onap.org/mailman/listinfo/onap-discuss<https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.onap.org_mailman_listinfo_onap-2Ddiscuss&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=66ObImPAUA0o2f1hTGknnnv5ScXvX8EnREJCPHHBY5M&m=oy4L6rkiehrZv1w4keLLOjb6TUCQYfwSrgNYDJSo2xE&s=ZCHOjqlGZyKVMzy_MC0Sz_qFaNvIkS4PNoVBRueNozM&e=> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.onap.org/pipermail/onap-discuss/attachments/20170407/acdf3b06/attachment-0001.html>
