Hi Dan, This may not be directly related to below mail –thread, but something similar I noticed in mail below (highlighted text), hence asking this query.
When cloning the sdnc-oam repo, it gets stuck @ 99% while Receiving objects and eventually returns below. KuldeepSinghN@LP-5CD6518TPN MINGW64 /c/ONAP-GitRepos $ git clone ssh://[email protected]:29418/sdnc/oam Cloning into 'oam'... remote: Counting objects: 31, done client_loop: send disconnect: Connection reset by peer.00 KiB/s fatal: the remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed While when I did cloning of ccsdk/features similarly, it works well. Any help for above will be greatly appreciated. KuldeepSinghN@LP-5CD6518TPN MINGW64 /c/ONAP-GitRepos $ git clone ssh://[email protected]:29418/ccsdk/features Cloning into 'features'... remote: Counting objects: 23, done remote: Total 20568 (delta 0), reused 20568 (delta 0) Receiving objects: 100% (20568/20568), 6.49 MiB | 172.00 KiB/s, done. Resolving deltas: 100% (10002/10002), done. Updating files: 100% (1377/1377), done. Regards, Kuldeep From: [email protected] <[email protected]> On Behalf Of TIMONEY, DAN via Lists.Onap.Org Sent: Wednesday, July 3, 2019 6:10 PM To: [email protected]; [email protected]; RICHOMME Morgan TGI/OLN <[email protected]> Cc: DEBEAU Eric TGI/OLN <[email protected]>; [email protected]; LEFEVRE, CATHERINE <[email protected]>; Mike Elliott <[email protected]> Subject: Re: [onap-discuss] [Dublin] [SDNC] Unable to load class: org.mariadb.jdbc.Driver from ClassLoader Sylvain, Thanks! In the case of the mariadb client, OpenDaylight Fluorine itself includes both versions in their distribution, which is what you’re seeing. Not ideal, but we haven’t run across any issues so far. In El Alto, we might be able to address this, since we’re planning to consume OpenDaylight a little differently (instead of using their distribution tarball, we’ll build our own from their jar files). In the other case, I have a feeling that might be an issue in your local directory. There’s no such repo in CCSDK as just “core” – the full name is sli/core, but when you do a git clone, the directory it creates will be called core (so to get the right directory name, you need to create a “sli” directory and do the git clone from there). Dan Dan Timoney Principal Technical Staff Member AT&T Email : [email protected]<mailto:[email protected]> Office : +1 (732) 420-3226 Mobile : +1 (201) 960-1211 200 S Laurel Ave, Rm E2-2A03 Middletown, NJ 08873 From: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Date: Tuesday, July 2, 2019 at 5:35 AM To: onap-discuss <[email protected]<mailto:[email protected]>>, RICHOMME Morgan TGI/OLN <[email protected]<mailto:[email protected]>> Cc: DEBEAU Eric TGI/OLN <[email protected]<mailto:[email protected]>>, "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>, "LEFEVRE, CATHERINE" <[email protected]<mailto:[email protected]>>, Mike Elliott <[email protected]<mailto:[email protected]>>, "TIMONEY, DAN" <[email protected]<mailto:[email protected]>> Subject: Re: [onap-discuss] [Dublin] [SDNC] Unable to load class: org.mariadb.jdbc.Driver from ClassLoader Hello, Digging a little bit into CCSDK: * We have several mariadb jar deployed in the container and there’s a 1.5.9 version which may leads to bad behavior: * find / -name 'mariadb-java-client*.jar' * /opt/opendaylight/system/org/mariadb/jdbc/mariadb-java-client/1.5.9/mariadb-java-client-1.5.9.jar * /opt/opendaylight/system/org/mariadb/jdbc/mariadb-java-client/2.1.1/mariadb-java-client-2.1.1.jar * /opt/onap/ccsdk/svclogic/lib/mariadb-java-client-2.1.1.jar * /opt/onap/sdnc/svclogic/lib/mariadb-java-client-2.1.1.jar * org.onap.ccsdk.sli.core.dblib.DBResourceManager is duplicated (with no changes I assume) in 2 different files: * find . -name DBResourceManager.java * ./core/dblib/provider/src/main/java/org/onap/ccsdk/sli/core/dblib/DBResourceManager.java * ./sli/core/dblib/provider/src/main/java/org/onap/ccsdk/sli/core/dblib/DBResourceManager.java * This may (perhaps, I’m not at all a Java expert…) lead to bad behavior and especially during class load I think Regards, --- Sylvain Desbureaux De : <[email protected]<mailto:[email protected]>> au nom de "Morgan Richomme via Lists.Onap.Org" <[email protected]<mailto:[email protected]>> Répondre à : "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>, RICHOMME Morgan TGI/OLN <[email protected]<mailto:[email protected]>> Date : mardi 2 juillet 2019 à 09:44 À : "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Cc : DEBEAU Eric TGI/OLN <[email protected]<mailto:[email protected]>>, "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>, DESBUREAUX Sylvain TGI/OLN <[email protected]<mailto:[email protected]>>, "'Lefevre, Catherine'" <[email protected]<mailto:[email protected]>>, Mike Elliott <[email protected]<mailto:[email protected]>> Objet : [onap-discuss] [Dublin] [SDNC] Unable to load class: org.mariadb.jdbc.Driver from ClassLoader Hi We just setup a daily CI chain for Dublin in Orange Openlab (replace the casablanca daily, run in // of our master-daily). We install the solution on a k8s installed with kubespray. Our overide.yaml is very closed to the default OOM file (only adaptations due to the cloud parameters). We run the chain since last friday. We have regular issues, the most critical is with the SDNC (part of core components). The SDNC section in our installation overide.yaml file is sdnc: enabled: true exactly the same than the one defined in OOM (https://git.onap.org/oom/tree/kubernetes/onap/resources/overrides/onap-all.yaml?h=dublin<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__git.onap.org_oom_tree_kubernetes_onap_resources_overrides_onap-2Dall.yaml-3Fh-3Ddublin%26d%3DDwQGaQ%26c%3DLFYZ-o9_HUMeMTSQicvjIg%26r%3DMs-DNhR23dO4sQFfYRm4ow%26m%3DKqLZ-uJ6s6SEN1tAn4yjkh7gbeNcoIQM6rNScN0svvk%26s%3DY-d4d0HW1OtKRU9Xd7lWOAvQxfTKeeN10zHMYkMfxuQ%26e%3D&data=02%7C01%7Ckuldeepsinghn%40hcl.com%7C084e9fbb6e5d480f644a08d6ffb390b0%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C0%7C636977544055033503&sdata=6y0DarrbZ6Tz%2FtnJ%2FB69Mx7ZAK67Zt0M%2B0maxQq9Mww%3D&reserved=0>) The image has not changed for 3 weeks (and was succesfully used in OOM gating on master branch) nexus3.onap.org:10001/onap/sdnc-image 1.5.4 51614a6574b7 3 weeks ago 1.86GB The error in the sdnc logs (karaf.log) is relatively explicit: 2019-07-02T00:39:30,723 | ERROR | Thread-78 | ConnectionPool | 152 - org.apache.tomcat.jdbc - 8.5.14 | - | Unable to create initial connections of pool. java.sql.SQLException: Unable to load class: org.mariadb.jdbc.Driver from ClassLoader:org.eclipse.osgi.internal.loader.EquinoxClassLoader@eea4bae[org.apache.tomcat.jdbc:8.5.14(id=152)];ClassLoader:org.eclipse.osgi.internal.framework.ContextFinder@34ab2e5d at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:283) [152:org.apache.tomcat.jdbc:8.5.14] at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:203) [152:org.apache.tomcat.jdbc:8.5.14] at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:735) [152:org.apache.tomcat.jdbc:8.5.14] at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:667) [152:org.apache.tomcat.jdbc:8.5.14] at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:482) [152:org.apache.tomcat.jdbc:8.5.14] at org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:154) [152:org.apache.tomcat.jdbc:8.5.14] at org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:118) [152:org.apache.tomcat.jdbc:8.5.14] at org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:107) [152:org.apache.tomcat.jdbc:8.5.14] at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:131) [152:org.apache.tomcat.jdbc:8.5.14] at org.onap.ccsdk.sli.core.dblib.CachedDataSource.getConnection(CachedDataSource.java:121) [225:org.onap.ccsdk.sli.core.dblib-provider:0.4.4] at org.onap.ccsdk.sli.core.dblib.CachedDataSource.testConnection(CachedDataSource.java:369) [225:org.onap.ccsdk.sli.core.dblib-provider:0.4.4] at org.onap.ccsdk.sli.core.dblib.DBResourceManager.setDataSource(DBResourceManager.java:669) [225:org.onap.ccsdk.sli.core.dblib-provider:0.4.4] at org.onap.ccsdk.sli.core.dblib.DBResourceManager$DataSourceTester.run(DBResourceManager.java:294) [225:org.onap.ccsdk.sli.core.dblib-provider:0.4.4] Caused by: java.lang.ClassNotFoundException: Unable to load class: org.mariadb.jdbc.Driver from ClassLoader:org.eclipse.osgi.internal.loader.EquinoxClassLoader@eea4bae[org.apache.tomcat.jdbc:8.5.14(id=152)];ClassLoader:org.eclipse.osgi.internal.framework.ContextFinder@34ab2e5d at org.apache.tomcat.jdbc.pool.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:56) ~[?:?] at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:271) ~[?:?] ... 12 more Caused by: java.lang.ClassNotFoundException: org.mariadb.jdbc.Driver at java.net.URLClassLoader.findClass(URLClassLoader.java:382) ~[?:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:?] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) ~[?:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:?] at org.eclipse.osgi.internal.framework.ContextFinder.loadClass(ContextFinder.java:132) ~[?:?] at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:?] at java.lang.Class.forName0(Native Method) ~[?:?] at java.lang.Class.forName(Class.java:348) ~[?:?] at org.apache.tomcat.jdbc.pool.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:38) ~[?:?] at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:271) ~[?:?] ... 12 more I am a bit puzzled. Is this issue only related to our installation, did we miss something? Yang sent me the overide conf of the windriver lab, the sdnc part is more detailed sdnc: enabled: true replicaCount: 1 config: enableClustering: false mariadb-galera: liveness: initialDelaySeconds: 180 periodSeconds: 60 liveness param have been set to minimize the risk of time out during installation but the enableClustering set to false is, as far as I understand, different from the default OOM installation (https://git.onap.org/oom/tree/kubernetes/sdnc/values.yaml?h=dublin<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttps-3A__git.onap.org_oom_tree_kubernetes_sdnc_values.yaml-3Fh-3Ddublin%26d%3DDwMGaQ%26c%3DLFYZ-o9_HUMeMTSQicvjIg%26r%3DMs-DNhR23dO4sQFfYRm4ow%26m%3DKqLZ-uJ6s6SEN1tAn4yjkh7gbeNcoIQM6rNScN0svvk%26s%3DjvkrwjxDWcfp03KIJLhICTqTffqM5VoprNL5EaEZPIo%26e%3D&data=02%7C01%7Ckuldeepsinghn%40hcl.com%7C084e9fbb6e5d480f644a08d6ffb390b0%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C0%7C636977544055043504&sdata=79EaIJPAQaNy3hAV9BazqgIBk7XEZ%2Fv5M3P%2BWMMx3OE%3D&reserved=0>) where this parameter is set to true (so in our lab it is set to true..) Before I created a JIRA, I would like to cross check with other teams having recently installed a Dublin release that the problem is not a simple config issue. /Morgan NB status of our daily installation (we decided to move them to the public results DB (it was already the case for OOM gating: http://testresults.opnfv.org/onap/api/v1/results?case_name=full&last=2<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Furldefense.proofpoint.com%2Fv2%2Furl%3Fu%3Dhttp-3A__testresults.opnfv.org_onap_api_v1_results-3Fcase-5Fname-3Dfull-26last-3D2%26d%3DDwQGaQ%26c%3DLFYZ-o9_HUMeMTSQicvjIg%26r%3DMs-DNhR23dO4sQFfYRm4ow%26m%3DKqLZ-uJ6s6SEN1tAn4yjkh7gbeNcoIQM6rNScN0svvk%26s%3D_eADswiJAynnvKe5iQ8cL59NA4p-jfXQqugCf4GaWLI%26e%3D&data=02%7C01%7Ckuldeepsinghn%40hcl.com%7C084e9fbb6e5d480f644a08d6ffb390b0%7C189de737c93a4f5a8b686f4ca9941912%7C0%7C0%7C636977544055043504&sdata=np2jLfXRIDVjLowEqXCZbL9CiK0v%2BOwVhrg2CRkg5lQ%3D&reserved=0>) so the community could have access to the results of our daily chains. pods failed pods (% success) core (% success) full (% success) healthdist VNF pods failed details healthcheck full details Comments 2019-07-01 23:54:53 3 98.7 83 90 Not run Not run - onap-oof-oof-has-data-6bbbdf8fd7-95n5g - onap-oof-oof-has-reservation-658b9c4f4f-nmwlt - onap-oof-oof-has-solver-5d59f56856-hbcmh] DCAE SDNC OOF-Homing Holmes Engine Management API Holmes Rule Management API Modeling genericparser API Unable to load class: org.mariadb.jdbc.Driver from ClassLoade 2019-07-01 10:32:48 1 99.6 83 90 Not run Not run - onap-modeling-modeling-genericparser-669cdb9474-bnd72 DCAE SDNC VFC gvnfmdriver API Holmes Rule Management API Holmes Engine Management API Modeling genericparser API Logs in SDNC shows that Table are not found (mariadb galera init issue) in // infra tests showed in previous run that the 4 openswitch of the infrastructure were very high in CPU and lead to poor performance. Restart done before running this test. 2019-06-30 23:45:44 11 95 83 93 Not run Not run - onap-dcaegen2-dcae-servicechange-handler-65d6d9dc99-648gd - onap-oof-oof-has-data-6bbbdf8fd7-mc4l9 - onap-oof-oof-has-reservation-658b9c4f4f-n7pzw - onap-oof-oof-has-solver-5d59f56856-xt6lh - onap-sdc-sdc-dcae-be-5cb8df478c-dzjqz - onap-sdc-sdc-dcae-be-tools-wmzz2 - onap-sdc-sdc-dcae-dt-84698bb888-mv9rt - onap-sdc-sdc-dcae-fe-f5c95bff6-vcnps - onap-sdc-sdc-dcae-tosca-lab-8b6dd6bd4-vrlbd - onap-sdc-sdc-fe-8d9c859bc-p7rr8 - onap-sdnc-network-name-gen-6599665c6f-5pkpd DCAE OOF-Homing SDC VFC workflow API Issue reported on SDC by integration team on windriver lab (init) - workaround undeploy/redeploy => fix planned for El Alto 2019-06-29 23:46:35 4 98 83 93 Not run Not run - onap-oof-oof-has-data-6bbbdf8fd7-g4nd7 - onap-oof-oof-has-reservation-658b9c4f4f-jbscv - onap-oof-oof-has-solver-5d59f56856-lfwfs - onap-sdnc-nengdb-0 APPC OOF-Homing SDNC Modeling genericparser API 2019-06-28 23:52:04 12 95 83 92 Not run Not run - onap-dcaegen2-dcae-servicechange-handler-65d6d9dc99-pgfpz - onap-sdc-sdc-be-5958db79b6-9brrz - onap-sdc-sdc-be-config-backend-l8gjx - onap-sdc-sdc-dcae-be-5cb8df478c-26htn - onap-sdc-sdc-dcae-be-tools-b8gjl - onap-sdc-sdc-dcae-dt-84698bb888-xwrnp - onap-sdc-sdc-dcae-fe-f5c95bff6-hz8gw - onap-sdc-sdc-dcae-tosca-lab-8b6dd6bd4-49xsn - onap-sdc-sdc-fe-8d9c859bc-xpcpx - onap-sdc-sdc-onboarding-be-5bb8668bb-d5gxm - onap-sdnc-cds-sdc-listener-5c8c4f6c89-hjg8w - onap-sdnc-sdnc-ueb-listener-5d6b894df7-8gbsz APPC DCAE SDC VFC gvnfmdriver API Modeling genericparser API _________________________________________________________________________________________________________________________ Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci. This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified. Thank you. _________________________________________________________________________________________________________________________ Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci. This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation. If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified. Thank you. ::DISCLAIMER:: ________________________________ The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects. ________________________________ -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21127): https://lists.onap.org/g/onap-discuss/message/21127 Mute This Topic: https://lists.onap.org/mt/74349898/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
