I tried comparing but dint get success in running dockers ☹.

From: SMOKOWSKI, STEVEN [mailto:[email protected]]
Sent: Wednesday, April 03, 2019 8:40 PM
To: Subhash Kumar Singh; [email protected]; FREEMAN, BRIAN D; 
'bharath thiruveedula'; '[email protected]'
Cc: Seshu m
Subject: Re: [onap-discuss] [SO] : error in creating local enviroment using 
deploy.sh

It probably just needs the configurations updated, you can compare them against 
oom, and update them as needed.

Thanks

-Steve


From: Subhash Kumar Singh <[email protected]>
Date: Wednesday, April 3, 2019 at 5:55 AM
To: "[email protected]" <[email protected]>, Subhash Kumar 
Singh <[email protected]>, "FREEMAN, BRIAN D" <[email protected]>, 
'bharath thiruveedula' <[email protected]>, "'[email protected]'" 
<[email protected]>, "SMOKOWSKI, STEVEN" <[email protected]>
Cc: Seshu m <[email protected]>
Subject: RE: [onap-discuss] [SO] : error in creating local enviroment using 
deploy.sh

Hello Steve,

Could you please help me to understand this issue.

--
Regards,
Subhash Kumar Singh

From: [email protected] [mailto:[email protected]] On 
Behalf Of subhash kumar singh
Sent: Thursday, March 28, 2019 9:36 PM
To: FREEMAN, BRIAN D; [email protected]; 'bharath thiruveedula'; 
'[email protected]'
Cc: Seshu m
Subject: Re: [onap-discuss] [SO] : error in creating local enviroment using 
deploy.sh

Hello Team,

Could someone please help to fix this issue, I feel this script can help 
developers to get the dev environment without depending on oom.

--
Regards,
Subhash Kumar Singh

From: FREEMAN, BRIAN D [mailto:[email protected]]
Sent: Thursday, March 28, 2019 5:27 PM
To: Subhash Kumar Singh; [email protected]; 'bharath thiruveedula'; 
'[email protected]'
Cc: Seshu m
Subject: Re: [onap-discuss] [SO] : error in creating local enviroment using 
deploy.sh

You will have to work with the SO team thats a dev tool not an integration 
tested script. Likely the override files arent in synch any more



Sent via the Samsung Galaxy S8, an AT&T 5G Evolution smartphone


-------- Original message --------
From: Subhash Kumar Singh <[email protected]>
Date: 3/28/19 1:11 AM (GMT-05:00)
To: "FREEMAN, BRIAN D" <[email protected]>, [email protected], 'bharath 
thiruveedula' <[email protected]>, "'[email protected]'" 
<[email protected]>
Cc: Seshu m <[email protected]>
Subject: RE: [onap-discuss] [SO] : error in creating local enviroment using 
deploy.sh

Hello Brian,

I am trying without kubernete, using provided script in docker-config 
repository [1].
This script will setup the environment using docker-compose only for SO dockers.

I think there is some mismatch between config files in oom and dokcer-config 
repository. Could you please give a try to this script [1].

[1] 
https://github.com/onap/so/blob/master/docs/developer_info/Working_with_SO_Docker.rst<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_onap_so_blob_master_docs_developer-5Finfo_Working-5Fwith-5FSO-5FDocker.rst&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=5ygExoIhXXpYPQjTJkZjQ6mcWwOFeFLuJDnsDeX1098&s=IorNI02iFKScz7-lpbUlDLK9LbF-Oi4zPDMPSyiX0DY&e=>
--
Regards,
Subhash Kumar Singh

From: FREEMAN, BRIAN D [mailto:[email protected]]
Sent: Wednesday, March 27, 2019 9:29 PM
To: Subhash Kumar Singh; [email protected]; 'bharath thiruveedula'; 
'[email protected]'
Cc: Seshu m
Subject: RE: [onap-discuss] [SO] : error in creating local enviroment using 
deploy.sh

I did a fresh install pf dev-so this morning and it seemed to work for SO ?

Havent testing the rest of the application but it seems to come up – Dublin 
1.4.0-SNAPSHOT:latest

Brian

root@k8s-host-bp340:~# kubectl -n onap get pod | grep dev-so
dev-so-so-7cc68c6597-4xsk6                        1/1       Running            
0          10m
dev-so-so-bpmn-infra-7df858568c-6vzrm             1/1       Running            
0          10m
dev-so-so-catalog-db-adapter-5bf9df9bb4-4fgdj     1/1       Running            
0          10m
dev-so-so-mariadb-794f8d94b8-zvjwd                1/1       Running            
0          10m
dev-so-so-monitoring-6866d6bb9f-l8knh             1/1       Running            
0          10m
dev-so-so-openstack-adapter-8448bb9f68-dwlml      1/1       Running            
2          10m
dev-so-so-request-db-adapter-654699696d-fhfx8     1/1       Running            
0          10m
dev-so-so-sdc-controller-765bd988fb-jq95v         1/1       Running            
0          10m
dev-so-so-sdnc-adapter-5bf79b9bf-njdl5            1/1       Running            
0          10m
dev-so-so-vfc-adapter-64b8fddfd7-q8vcs            1/1       Running            
0          10m

From: Subhash Kumar Singh <[email protected]>
Sent: Wednesday, March 27, 2019 1:07 AM
To: [email protected]; Subhash Kumar Singh 
<[email protected]>; FREEMAN, BRIAN D <[email protected]>; 'bharath 
thiruveedula' <[email protected]>; '[email protected]' 
<[email protected]>
Cc: Seshu m <[email protected]>
Subject: RE: [onap-discuss] [SO] : error in creating local enviroment using 
deploy.sh

Hello Brian,

Sorry for miss in previous mail (I got confused with my other environment), 
still I see catalogdb is not able to up.
Could you please confirm if patch[1] works for you.

[1] 
https://gerrit.onap.org/r/#/c/83356/<https://urldefense.proofpoint.com/v2/url?u=https-3A__gerrit.onap.org_r_-23_c_83356_&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=4RpS5Z0nkCQVzXWQkmcv0GYTsWKJgeuFG3CEofgC2Ec&s=2qYbys-JUX1djI8p3pMJQ-UmEXJOiuXxqK0xqCs2WP4&e=>
--
Regards,
Subhash Kumar Singh

From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of subhash kumar singh
Sent: Tuesday, March 26, 2019 10:36 PM
To: FREEMAN, BRIAN D; '[email protected]'; 'bharath thiruveedula'; 
'[email protected]'
Cc: Seshu m
Subject: Re: [onap-discuss] [SO] : error in creating local enviroment using 
deploy.sh

Hello Brian,

Thanks for the pointing out.
I verified the patch it is working for me.

--
Regards,
Subhash Kumar Singh

From: FREEMAN, BRIAN D [mailto:[email protected]]
Sent: Tuesday, March 26, 2019 10:01 PM
To: '[email protected]'; Subhash Kumar Singh; 'bharath thiruveedula'; 
'[email protected]'
Cc: Seshu m
Subject: RE: [onap-discuss] [SO] : error in creating local enviroment using 
deploy.sh


https://gerrit.onap.org/r/#/c/83356/<https://urldefense.proofpoint.com/v2/url?u=https-3A__gerrit.onap.org_r_-23_c_83356_&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=4RpS5Z0nkCQVzXWQkmcv0GYTsWKJgeuFG3CEofgC2Ec&s=2qYbys-JUX1djI8p3pMJQ-UmEXJOiuXxqK0xqCs2WP4&e=>

see if that patch set helps.

Brian


From: FREEMAN, BRIAN D
Sent: Tuesday, March 26, 2019 9:08 AM
To: [email protected]<mailto:[email protected]>; 
[email protected]<mailto:[email protected]>; bharath 
thiruveedula <[email protected]<mailto:[email protected]>>; 
[email protected]<mailto:[email protected]>
Cc: Seshu m <[email protected]<mailto:[email protected]>>
Subject: RE: [onap-discuss] [SO] : error in creating local enviroment using 
deploy.sh

The docker-config repo has a gug in the 01-CREATE sql script (and a couple 
others).

DROP USER is failing I think

Try to run the script inside the mariadb container and you should see the 
problem

Delete the DROP USER lines in the scripts and then run them in order 01, 02, 03 
..


Then do kubectl delete on the non-mariadb so containers

https://jira.onap.org/browse/SO-1674<https://urldefense.proofpoint.com/v2/url?u=https-3A__jira.onap.org_browse_SO-2D1674&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=4RpS5Z0nkCQVzXWQkmcv0GYTsWKJgeuFG3CEofgC2Ec&s=ov8PNp8XbXC63pZ2Ibk1Sd-qXtopbXcWTZErP9eYYkA&e=>
 is tracking this pesky issue.

Brian


From: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> On Behalf Of 
subhash kumar singh
Sent: Tuesday, March 26, 2019 1:23 AM
To: bharath thiruveedula 
<[email protected]<mailto:[email protected]>>; 
[email protected]<mailto:[email protected]>; 
[email protected]<mailto:[email protected]>
Cc: Seshu m <[email protected]<mailto:[email protected]>>
Subject: Re: [onap-discuss] [SO] : error in creating local enviroment using 
deploy.sh

Hello Bharath and Marcus,

I tried as per your suggestion, but still catalog-db-adapter is not up for me.
It exits with same error  “Access denied for user `${DB_ADMIN_USERNAME}” , and 
I see this should be override by override.yml (user should be used cataloguser 
as specified in override.yml). I can see the cataloguser in db as well.

Could you please check in your local setup if you use cataloguser or any 
different configuration in override.yml.
--
Regards,
Subhash Kumar Singh


From: bharath thiruveedula [mailto:[email protected]]
Sent: Tuesday, March 26, 2019 2:14 AM
To: Subhash Kumar Singh; 
[email protected]<mailto:[email protected]>; 
[email protected]<mailto:[email protected]>
Cc: Seshu m
Subject: Re: [onap-discuss] [SO] : error in creating local enviroment using 
deploy.sh

Hi Subash,

I faced this issue. Better to launch mariadb  container alone first and wait 
till you login to mariadb prompt.

Check all the dbs got created. In my case, it wasn't. So I manually ran all the 
sh files in 
https://git.onap.org/so/docker-config/tree/volumes/mariadb/docker-entrypoint-initdb.d<https://urldefense.proofpoint.com/v2/url?u=https-3A__git.onap.org_so_docker-2Dconfig_tree_volumes_mariadb_docker-2Dentrypoint-2Dinitdb.d&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=0UiWhc3wYXkQfiEegajpy6eBAyeIemdoyUnLO23ApcI&s=H6ZpOKdVib78DsEXK5JHsxKlbVDLPRacRhVwwZX6xTw&e=>

And then run "docker-compose up -d catalog-db-adapter", "docker-compose up -d 
request-db-adapter" and so on.


Best Regards
Bharath T

________________________________
From: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> on behalf of 
Marcus G K Williams 
<[email protected]<mailto:[email protected]>>
Sent: Monday, March 25, 2019 11:34 PM
To: [email protected]<mailto:[email protected]>; 
[email protected]<mailto:[email protected]>
Cc: Seshu m
Subject: Re: [onap-discuss] [SO] : error in creating local enviroment using 
deploy.sh


It looks like you need to define ${DB_ADMIN_USERNAME} in the environment. I 
can’t remember what this is by default but you could probably find it in 
overrides.yml for SO.



Thanks,



Marcus Williams

IRC, Twitter, etc. @ mgkwill

Intel Corp.



From: [email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of subhash kumar singh
Sent: Monday, March 25, 2019 7:44 AM
To: [email protected]<mailto:[email protected]>
Cc: Seshu m <[email protected]<mailto:[email protected]>>
Subject: [onap-discuss] [SO] : error in creating local enviroment using 
deploy.sh



Hello team,



I am trying to create local SO environment[1] (master branch),  but I see that 
catalogs-db-adapter exits with following exception:



Caused by: java.sql.SQLException: Access denied for user 
'${DB_ADMIN_USERNAME}'@'172.23.0.3' (using password: YES)

Current charset is UTF-8. If password has been set using other charset, 
consider using option 'passwordCharacterEncoding'

        at 
org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.authentication(AbstractConnectProtocol.java:854)

        at 
org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.handleConnectionPhases(AbstractConnectProtocol.java:777)

        at 
org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connect(AbstractConnectProtocol.java:451)

        at 
org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connectWithoutProxy(AbstractConnectProtocol.java:1109)

        ... 38 common frames omitted



Could someone please let me know if there are some changes need to be done.



[1] 
https://github.com/onap/so/blob/master/docs/developer_info/Working_with_SO_Docker.rst<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_onap_so_blob_master_docs_developer-5Finfo_Working-5Fwith-5FSO-5FDocker.rst&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=0UiWhc3wYXkQfiEegajpy6eBAyeIemdoyUnLO23ApcI&s=cYYI_O_wjqmOos1L9ob6REV_LxWUN0W4FcfTIOcXVoE&e=>





--

Regards,

Subhash Kumar Singh

FNOSS, ONAP



Huawei Technologies India Pvt. Ltd.

Survey No. 37, Next to EPIP Area, Kundalahalli, Whitefield

Bengaluru-560066, Karnataka

Tel: + 91-80-49160700 Ext 70992 II Mob: 8050101106 Email: 
[email protected]<mailto:[email protected]>



[cid:[email protected]]

________________________________



This e-mail and its attachments contain confidential information from HUAWEI, 
which
is intended only for the person or entity whose address is listed above. Any 
use of the
information contained herein in any way (including, but not limited to, total 
or partial
disclosure, reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please notify 
the sender by
phone or email immediately and delete it!





-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#16459): https://lists.onap.org/g/onap-discuss/message/16459
Mute This Topic: https://lists.onap.org/mt/30751239/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to