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)
Brian
db:
image: mysql/mysql-server:5.6
container_name: sdnc_db_container
ports:
- "3306"
From: [email protected]
[mailto:[email protected]] On Behalf Of Abdelmuhaimen Seaudi
Sent: Friday, May 26, 2017 4:26 AM
To: [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