Yes it will be lost on reboot I think, so we have to update the docker compose to work correctly so that the port is always right
Daniel Rose ECOMP / ONAP com.att.ecomp 732-420-7308 From: [email protected] [mailto:[email protected]] On Behalf Of FREEMAN, BRIAN D Sent: Friday, May 26, 2017 8:59 AM To: 'Abdelmuhaimen Seaudi' <[email protected]>; '[email protected]' <[email protected]> Subject: Re: [onap-discuss] cannot upload DG XML - error 500 ***Security Advisory: This Message Originated Outside of AT&T *** Reference http://cso.att.com/EmailSecurity/IDSP.html for more information. In thinking about it – perhaps I was using SDNC on a local virtual box instance for the tutorial. The port you are using is ephemeral so it might change if you restart the container. Brian From: FREEMAN, BRIAN D Sent: Friday, May 26, 2017 8:58 AM To: Abdelmuhaimen Seaudi <[email protected]<mailto:[email protected]>>; [email protected]<mailto:[email protected]> Subject: RE: [onap-discuss] cannot upload DG XML - error 500 You shouldnt have to do that on the SDNC VM (although I have had to do it on APPC DG builder before). The docker-compose file should be exposing 3306 from mysql container (below is from sdnc docker-compose) and I thought that was how it worked when I was creating the tutorial ( (https://wiki.onap.org/display/DW/Automatically+Creating+a+Netconf+Mount+in+APPC+from+SDNC<https://urldefense.proofpoint.com/v2/url?u=https-3A__wiki.onap.org_display_DW_Automatically-2BCreating-2Ba-2BNetconf-2BMount-2Bin-2BAPPC-2Bfrom-2BSDNC&d=DwMGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=2wwdGZ3YcpSivQ2Kio028A&m=OPnEGsIot-vShjM_LraGo83O2jqhkkQmUPyTYCWI14c&s=YW2zNLoP2ILM3cs4VGNuEBtkdz05uYrNItjVhTajmo8&e=>) Brian db: image: mysql/mysql-server:5.6 container_name: sdnc_db_container ports: - "3306" From: [email protected]<mailto:[email protected]> [mailto:[email protected]] On Behalf Of Abdelmuhaimen Seaudi Sent: Friday, May 26, 2017 4:26 AM To: [email protected]<mailto:[email protected]> Subject: Re: [onap-discuss] cannot upload DG XML - error 500 Hi. I got this working by updating the configuration in DGBuilder with the exposed port 32768 for the db instead of 3306. Abdelmuhaimen Seaudi, CCIE # 25265 Email: [email protected]<mailto:[email protected]> Skype: aseaudi LinkedIn: www.linkedin.com/in/aseaudi<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.linkedin.com_in_aseaudi&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=k32JBj65kXP7M036XD0GjXKjJAinta5-wKoCiQybRFI&s=2Y2MYdsMFceEB65Jn9GxXFJ8wf2qv35uN4xvLdlAwhM&e=> Telephone: +2012 84644 733 On Fri, May 26, 2017 at 9:58 AM, Abdelmuhaimen Seaudi <[email protected]<mailto:[email protected]>> wrote: Hi. After I create and validate the XML for a DG, I cannot upload the XML, I get the following error: Could not upload the XML. Status:500 Message:Internal Server Error Additional Details Caused by: org.openecomp.sdnc.sli.ConfigurationException: failed to get database connection [jdbc:mysql://localhost:3306/sdnctl] at org.openecomp.sdnc.sli.SvcLogicJdbcStore.getConnection(SvcLogicJdbcStore.java:100) at org.openecomp.sdnc.sli.SvcLogicJdbcStore.initDbResources(SvcLogicJdbcStore.java:362) Any idea how can I resolve this ? Thanks. Abdelmuhaimen Seaudi, CCIE # 25265 Email: [email protected]<mailto:[email protected]> Skype: aseaudi LinkedIn: www.linkedin.com/in/aseaudi<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.linkedin.com_in_aseaudi&d=DwMFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=k32JBj65kXP7M036XD0GjXKjJAinta5-wKoCiQybRFI&s=2Y2MYdsMFceEB65Jn9GxXFJ8wf2qv35uN4xvLdlAwhM&e=> Telephone: +2012 84644 733
_______________________________________________ onap-discuss mailing list [email protected] https://lists.onap.org/mailman/listinfo/onap-discuss
