Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1532251 - Can't install the odl-netvirt-openstack feature due to a problem in the leveldbjni jar
Can't install the odl-netvirt-openstack feature due to a problem in the level...
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: leveldbjni (Show other bugs)
13.0 (Queens)
Unspecified Unspecified
high Severity high
: beta
: 13.0 (Queens)
Assigned To: Stephen Kitt
Itzik Brown
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-01-08 08:37 EST by Mike Kolesnik
Modified: 2018-10-18 03:25 EDT (History)
0 users

See Also:
Fixed In Version: leveldbjni-1.8-15.7.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
N/A
Last Closed: 2018-06-27 09:40:49 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2018:2086 None None None 2018-06-27 09:41 EDT

  None (edit)
Description Mike Kolesnik 2018-01-08 08:37:04 EST
Description of problem:
Running feature:install odl-netvirt-openstack throws an error, which can be boiled down to:

opendaylight-user@root>feature:install odl-akka-leveldb-0.7
Error executing command: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=odl-akka-leveldb-0.7; type=karaf.feature; version="[2.0.5.redhat-1,2.0.5.redhat-1]"; filter:="(&(osgi.identity=odl-akka-leveldb-0.7)(type=karaf.feature)(version>=2.0.5.redhat-1)(version<=2.0.5.redhat-1))" [caused by: Unable to resolve odl-akka-leveldb-0.7/2.0.5.redhat-1: missing requirement [odl-akka-leveldb-0.7/2.0.5.redhat-1] osgi.identity; osgi.identity=org.fusesource.leveldbjni.leveldbjni-all; type=osgi.bundle; version="[1.8.0,1.8.0]"; resolution:=mandatory [caused by: Unable to resolve org.fusesource.leveldbjni.leveldbjni-all/1.8.0: missing requirement [org.fusesource.leveldbjni.leveldbjni-all/1.8.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.iq80.leveldb)(version>=1.8.0)(!(version>=2.0.0)))"]]




Version-Release number of selected component (if applicable):


How reproducible:
100%


Steps to Reproduce:
1. Install opendaylight from brew https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=14888790
2. Run feature:install odl-netvirt-openstack
3.

Actual results:
Error executing command: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=odl-netvirt-openstack; type=karaf.feature; version="[0.5.2.redhat-1,0.5.2.redhat-1]"; filter:="(&(osgi.identity=odl-netvirt-openstack)(type=karaf.feature)(version>=0.5.2.redhat-1)(version<=0.5.2.redhat-1))" [caused by: Unable to resolve odl-netvirt-openstack/0.5.2.redhat-1: missing requirement [odl-netvirt-openstack/0.5.2.redhat-1] osgi.identity; osgi.identity=odl-netvirt-impl; type=karaf.feature; version="[0.5.2.redhat-1,0.5.2.redhat-1]" [caused by: Unable to resolve odl-netvirt-impl/0.5.2.redhat-1: missing requirement [odl-netvirt-impl/0.5.2.redhat-1] osgi.identity; osgi.identity=odl-openflowplugin-flow-services; type=karaf.feature; version="[0.5.2.redhat-1,0.5.2.redhat-1]" [caused by: Unable to resolve odl-openflowplugin-flow-services/0.5.2.redhat-1: missing requirement [odl-openflowplugin-flow-services/0.5.2.redhat-1] osgi.identity; osgi.identity=odl-openflowplugin-app-forwardingrules-manager; type=karaf.feature; version="[0.5.2.redhat-1,0.5.2.redhat-1]" [caused by: Unable to resolve odl-openflowplugin-app-forwardingrules-manager/0.5.2.redhat-1: missing requirement [odl-openflowplugin-app-forwardingrules-manager/0.5.2.redhat-1] osgi.identity; osgi.identity=odl-openflowplugin-southbound; type=karaf.feature; version="[0.5.2.redhat-1,0.5.2.redhat-1]" [caused by: Unable to resolve odl-openflowplugin-southbound/0.5.2.redhat-1: missing requirement [odl-openflowplugin-southbound/0.5.2.redhat-1] osgi.identity; osgi.identity=odl-mdsal-broker; type=karaf.feature; version="[1.6.2.redhat-1,1.6.2.redhat-1]" [caused by: Unable to resolve odl-mdsal-broker/1.6.2.redhat-1: missing requirement [odl-mdsal-broker/1.6.2.redhat-1] osgi.identity; osgi.identity=odl-mdsal-remoterpc-connector; type=karaf.feature; version="[1.6.2.redhat-1,1.6.2.redhat-1]" [caused by: Unable to resolve odl-mdsal-remoterpc-connector/1.6.2.redhat-1: missing requirement [odl-mdsal-remoterpc-connector/1.6.2.redhat-1] osgi.identity; osgi.identity=odl-akka-leveldb-0.7; type=karaf.feature; version="[2.0.5.redhat-1,2.0.5.redhat-1]" [caused by: Unable to resolve odl-akka-leveldb-0.7/2.0.5.redhat-1: missing requirement [odl-akka-leveldb-0.7/2.0.5.redhat-1] osgi.identity; osgi.identity=org.fusesource.leveldbjni.leveldbjni-all; type=osgi.bundle; version="[1.8.0,1.8.0]"; resolution:=mandatory [caused by: Unable to resolve org.fusesource.leveldbjni.leveldbjni-all/1.8.0: missing requirement [org.fusesource.leveldbjni.leveldbjni-all/1.8.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.iq80.leveldb)(version>=1.8.0)(!(version>=2.0.0)))"]]]]]]]]]



Expected results:
The feature should be installed without errors


Additional info:
Something fishy with the MANIFEST.MF file, maybe it has an invalid Import-Package
Comment 4 Stephen Kitt 2018-01-11 05:51:52 EST
The build has been purged, I’ve started a new one on https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=14919197
Comment 5 Stephen Kitt 2018-01-24 03:55:31 EST
I was hoping https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=15083068 would have fixed this, but it didn’t. The Brew builds result in

Import-Package: org.iq80.leveldb;version="[1.8,2)"
Tool: Bnd-1.50.0

whereas a local (working) build results in

Import-Package: org.iq80.leveldb;version="[0.6,1)"
Tool: Bnd-3.3.0

I’m hoping we can convince the older Bnd to produce the correct Import-Package statement...
Comment 6 Stephen Kitt 2018-01-24 11:51:23 EST
https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=15089384 fixes this.
Comment 11 Itzik Brown 2018-03-18 09:28:47 EDT
Checked with opendaylight-8.0.0-2.el7ost.noarch.rpm 

karaf@root()> feature:list |grep openstack
odl-netvirt-openstack                           | 0.6.0.redhat-2   | x        | Started     | odl-netvirt-openstack                           | OpenDaylight :: NetVirt :: OpenStack
Comment 13 errata-xmlrpc 2018-06-27 09:40:49 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2018:2086

Note You need to log in before you can comment on or make changes to this bug.