[OPNFLWPLUG-908] Karaf 4 openflowplugin "not working" (title to be refined as more is found out) Created: 14/Jun/17  Updated: 27/Sep/21  Resolved: 12/Jul/17

Status: Resolved
Project: OpenFlowPlugin
Component/s: General
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Michael Vorburger Assignee: Jozef Bacigal
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Blocks
blocks GENIUS-82 Karaf4 specific problems seen on both... Resolved
blocks NETVIRT-719 Karaf4 specific problems seen on boot... Resolved
is blocked by CONTROLLER-1722 Karaf 4: Resource mvn:org.opendayligh... Resolved
is blocked by NETCONF-412 Feature operations at Karaf4 trigger ... Resolved
is blocked by OPNFLWJAVA-85 Initial configuration is not copied i... Resolved
is blocked by OPNFLWPLUG-907 Initial configuration is not copied i... Resolved
is blocked by OPNFLWPLUG-910 Karaf4 migration - no Nicira extensio... Resolved
External issue ID: 8694

 Description   

Both project genius (GENIUS-82) here https://lists.opendaylight.org/pipermail/genius-dev/2017-June/001580.html as well as project netvirt (NETVIRT-719 CSIT runs) are reporting that "openflowplugin is not working under Karaf 4".

We don't have further details, yet (apparently there are no Exception in the logs), but given the current timeline of the Karaf 4 migration it seemed worthwhile to me to file this Blocker bug even at this early stage.

This should be updated as more information becomes available, and interested parties can subscribe to Cc on this issue.



 Comments   
Comment by Tomas Slusny [ 14/Jun/17 ]

I created 2 bugs with gerrit patches that solves this issue in OpenFlowPlugin and OpenFlowJava just moments ago, adding to this bug that it depends on that two patches.

Comment by Faseela K [ 15/Jun/17 ]

This is still not working on the latest karaf4 distribution.

Comment by Tomas Slusny [ 16/Jun/17 ]

Yesterday it was working with my fixes, but now when I try to install OFP features, this error pops up:

2017-06-16 12:23:04,186 | ERROR | Thread-5 | ShellUtil | 45 - org.apache.karaf.shell.core - 4.0.9 | Exception caught while executing command
org.apache.karaf.features.internal.util.MultiException: Error
at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader.<init>(MavenDownloadManager.java:84)[9:org.apache.karaf.features.core:4.0.9]
at org.apache.karaf.features.internal.download.impl.MavenDownloadManager.createDownloader(MavenDownloadManager.java:72)[9:org.apache.karaf.features.core:4.0.9]
at org.apache.karaf.features.internal.region.Subsystem.downloadBundles(Subsystem.java:363)[9:org.apache.karaf.features.core:4.0.9]
at org.apache.karaf.features.internal.region.Subsystem.downloadBundles(Subsystem.java:360)[9:org.apache.karaf.features.core:4.0.9]
at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:187)[9:org.apache.karaf.features.core:4.0.9]
at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:263)[9:org.apache.karaf.features.core:4.0.9]
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1176)[9:org.apache.karaf.features.core:4.0.9]
at org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:1074)[9:org.apache.karaf.features.core:4.0.9]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_121]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]
Caused by: java.lang.IllegalArgumentException: Resource mvn:org.opendaylight.controller/sal-distributed-datastore/1.6.0-SNAPSHOT does not contain a manifest
at org.apache.karaf.features.internal.region.Subsystem.getMetadata(Subsystem.java:537)[9:org.apache.karaf.features.core:4.0.9]
at org.apache.karaf.features.internal.region.Subsystem$1.downloaded(Subsystem.java:390)[9:org.apache.karaf.features.core:4.0.9]
at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:133)[9:org.apache.karaf.features.core:4.0.9]
at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:127)[9:org.apache.karaf.features.core:4.0.9]
at org.apache.karaf.features.internal.download.impl.DefaultFuture.notifyListener(DefaultFuture.java:344)[9:org.apache.karaf.features.core:4.0.9]
at org.apache.karaf.features.internal.download.impl.DefaultFuture.notifyListeners(DefaultFuture.java:329)[9:org.apache.karaf.features.core:4.0.9]
at org.apache.karaf.features.internal.download.impl.DefaultFuture.setValue(DefaultFuture.java:255)[9:org.apache.karaf.features.core:4.0.9]
at org.apache.karaf.features.internal.download.impl.AbstractDownloadTask.setFile(AbstractDownloadTask.java:61)[9:org.apache.karaf.features.core:4.0.9]
at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:61)[9:org.apache.karaf.features.core:4.0.9]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_121]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_121]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_121]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_121]
... 3 more
Caused by: java.lang.IllegalArgumentException: Resource mvn:org.opendaylight.controller/sal-cluster-admin-api/1.6.0-SNAPSHOT does not contain a manifest
at org.apache.karaf.features.internal.region.Subsystem.getMetadata(Subsystem.java:537)[9:org.apache.karaf.features.core:4.0.9]
at org.apache.karaf.features.internal.region.Subsystem$1.downloaded(Subsystem.java:390)[9:org.apache.karaf.features.core:4.0.9]
at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:133)[9:org.apache.karaf.features.core:4.0.9]
at org.apache.karaf.features.internal.download.impl.MavenDownloadManager$MavenDownloader$1.operationComplete(MavenDownloadManager.java:127)[9:org.apache.karaf.features.core:4.0.9]
at org.apache.karaf.features.internal.download.impl.DefaultFuture.notifyListener(DefaultFuture.java:344)[9:org.apache.karaf.features.core:4.0.9]
at org.apache.karaf.features.internal.download.impl.DefaultFuture.notifyListeners(DefaultFuture.java:329)[9:org.apache.karaf.features.core:4.0.9]
at org.apache.karaf.features.internal.download.impl.DefaultFuture.setValue(DefaultFuture.java:255)[9:org.apache.karaf.features.core:4.0.9]
at org.apache.karaf.features.internal.download.impl.AbstractDownloadTask.setFile(AbstractDownloadTask.java:61)[9:org.apache.karaf.features.core:4.0.9]
at org.apache.karaf.features.internal.download.impl.AbstractRetryableDownloadTask.run(AbstractRetryableDownloadTask.java:61)[9:org.apache.karaf.features.core:4.0.9]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_121]
at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_121]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)[:1.8.0_121]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.8.0_121]
... 3 more

Important part is probably this one: "Resource mvn:org.opendaylight.controller/sal-cluster-admin-api/1.6.0-SNAPSHOT does not contain a manifest". So I believe that now this error is not related to OFP plugin anymore.

Comment by Faseela K [ 16/Jun/17 ]

If ports are not opening up, and if you root cause it to some other project, please feel free to reassgn to respective project, and add the respective dev list in our mail chain

Comment by Michael Vorburger [ 16/Jun/17 ]

Let's chase the "Resource ... does not contain a manifest" in CONTROLLER-1722.

Comment by Michael Vorburger [ 20/Jun/17 ]

OPNFLWPLUG-910 is the latest openflowplugin related Karaf 4 issue.

Comment by Tomas Slusny [ 23/Jun/17 ]

Jozef's patch for migration to odlparent200: https://git.opendaylight.org/gerrit/#/c/59323/ after this one will be merged, this bug can be closed I think, because no other issues popped up.

Comment by Tomas Slusny [ 23/Jun/17 ]

Adding NETCONF-412 from Restconf as blocking for this issue, because installing restconf causes SSH in Karaf not working, and also things like feature:list are not working after that.

Comment by Tomas Slusny [ 11/Jul/17 ]

Gerrit patch that uprades odlparent to 2.0.2 and will resolve last Karaf 4 issue and that is not working SSH: https://git.opendaylight.org/gerrit/#/c/60197/

Comment by Tomas Slusny [ 12/Jul/17 ]

Patch was merged, closing.

Generated at Wed Feb 07 20:33:42 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.