Re: ODL:Master(Aluminium): Unable to bring karaf distribution locally - Reg


Karthikeyan
 

+Robert Varga ,

@Robert Varga, We request your help on resolving reported problem in below email.

We have tried installing following feature in the multi-patch integration distribution and it works fine without any issues.

feature:install odl-genius
feature:install odl-ovsdb-southbound-impl
feature:install odl-ovsdb-hwvtepsouthbound



feature:install odl-netvirt-openstack --> Problem with installing netvirt features only. Is any MDSAL DOM dependency is missing ?


Thanks in Advance,
Karthikeyan.

On Tue, Apr 21, 2020 at 11:17 AM Karthikeyan <karthikeyangceb007@...> wrote:
Hi All,

 We are trying to bring-up the integrated karaf distribution[0] locally(Windows Environment) which has been generated for MDSAL-APIs migration un-merged reviews[1] and it throws run-time exception from MDSAL-BINDING[2].

Please help us to solve this issue.


We set JDK 11 version properly in our local environment as below.
 $ java -version
java version "11.0.5" 2019-10-15 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.5+10-LTS)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.5+10-LTS, mixed mode)



[1]

https://git.opendaylight.org/gerrit/c/infrautils/+/89057 

https://git.opendaylight.org/gerrit/c/ovsdb/+/87802 


[2]

$ ./karaf
Apache Karaf starting up. Press Enter to open the shell now...
100% [========================================================================]

Karaf started in 1s. Bundle stats: 12 active, 12 total

    ________                       ________                .__  .__       .__     __
    \_____  \ ______   ____   ____ \______ \ _____  ___.__.|  | |__| ____ |  |___/  |_
     /   |   \\____ \_/ __ \ /    \ |    |  \\__  \<   |  ||  | |  |/ ___\|  |  \   __\
    /    |    \  |_> >  ___/|   |  \|    `   \/ __ \\___  ||  |_|  / /_/  >   Y  \  |
    \_______  /   __/ \___  >___|  /_______  (____  / ____||____/__\___  /|___|  /__|
            \/|__|        \/     \/        \/     \/\/            /_____/      \/


Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown OpenDaylight.

opendaylight-user@root>feature:install odl-netvirt-openstack

2020-04-21T10:21:12,527 | ERROR | Karaf local console user karaf | ShellUtil                        | 50 - org.apache.karaf.shell.core - 4.2.6 | Exception caught while executing command

org.apache.karaf.features.internal.util.MultiException: Error:

                Unable to create resource for bundle wrap:mvn:org.opendaylight.mdsal/mdsal-binding-dom-adapter/5.0.9/jar/tests

                at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.<init>(MavenDownloadManager.java:91) ~[?:?]

                at org.apache.karaf.features.internal.download.impl.MavenDownloadManager.createDownloader(MavenDownloadManager.java:72) ~[?:?]

                at org.apache.karaf.features.internal.region.Subsystem.downloadBundles(Subsystem.java:457) ~[?:?]

                at org.apache.karaf.features.internal.region.Subsystem.downloadBundles(Subsystem.java:452) ~[?:?]

                at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:224) ~[?:?]

                at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:393) ~[?:?]

                at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1062) ~[?:?]

                at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:998) ~[?:?]

                at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]

                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[?:?]

                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[?:?]

                at java.lang.Thread.run(Thread.java:834) [?:?]


Thanks & Regards,

Karthikeyan.

Join {integration-dev@lists.opendaylight.org to automatically receive all group messages.