Bug 1432091

Summary: RFE: import leveldbjni package (for opendaylight)
Product: Red Hat OpenStack Reporter: Stephen Kitt <skitt>
Component: leveldbjniAssignee: Stephen Kitt <skitt>
Status: CLOSED ERRATA QA Contact: Itzik Brown <itbrown>
Severity: high Docs Contact:
Priority: high    
Version: 11.0 (Ocata)CC: jschluet, lpeer, markmc, mburns, nyechiel, oblaut, skitt, srevivo, tvignaud, vorburger
Target Milestone: betaKeywords: FutureFeature
Target Release: 12.0 (Pike)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: leveldbjni-1.8-15.5.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
N/A
Last Closed: 2017-12-13 21:15:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1432119    
Bug Blocks: 1420383    

Description Stephen Kitt 2017-03-14 13:55:17 UTC
For opendaylight packaging (specifically, to solve one embedded-DSO-in-JAR issue and enable use of the upstream-supported data-persistence), we need leveldbjni. This is available currently in Fedora but not in any OSP-applicable channel.

The package build-requirements are as follows:
  autoconf
  automake
  libtool
  maven-local
  mvn(junit:junit)
    junit, in Brew
  mvn(org.apache.felix:maven-bundle-plugin)
    felix, in Brew
  mvn(org.apache.maven.plugins:maven-source-plugin)
    maven, in RHEL
  mvn(org.apache.maven.plugin-tools:maven-plugin-tools-javadoc)
    maven, in RHEL
  mvn(org.fusesource:fusesource-pom:pom:)
    fusesource-pom, in RHEL
  mvn(org.fusesource.hawtjni:hawtjni-runtime)
    hawtjni, in RHEL
  mvn(org.fusesource.hawtjni:maven-hawtjni-plugin)
    maven-hawtjni-plugin, in RHEL
  mvn(org.iq80.leveldb:leveldb-api)
    leveldb, in Brew
  pkgconfig(leveldb)
    leveldb, in Brew
  snappy-devel
    snappy, in RHEL
  xmvn
    xmvn, in RHEL

I'll file separate bugs for junit, felix, and leveldb which I think need to be imported too.

Comment 1 Stephen Kitt 2017-03-14 14:36:25 UTC
The Fedora package is https://koji.fedoraproject.org/koji/packageinfo?packageID=18435 and there's already a Brew project at https://brewweb.engineering.redhat.com/brew/packageinfo?packageID=59652

Comment 2 Stephen Kitt 2017-03-14 14:37:35 UTC
junit is already in RHEL so that's dealt with already.

Comment 3 Stephen Kitt 2017-03-14 15:40:04 UTC
This is the correct build-dependency tree:

leveldbjni
  autoconf, in RHEL
  automake, in RHEL
  libtool, in RHEL
  maven-local
    javapackages-tools, in Brew
  mvn(junit:junit)
    junit, in RHEL
  mvn(org.apache.felix:maven-bundle-plugin)
    maven-plugin-bundle, in RHEL (but too old)
  mvn(org.apache.maven.plugins:maven-source-plugin)
    maven, in RHEL
  mvn(org.apache.maven.plugin-tools:maven-plugin-tools-javadoc)
    maven, in RHEL
  mvn(org.fusesource:fusesource-pom:pom:)
    fusesource-pom, in RHEL
  mvn(org.fusesource.hawtjni:hawtjni-runtime)
    hawtjni, in RHEL
  mvn(org.fusesource.hawtjni:maven-hawtjni-plugin)
    maven-hawtjni-plugin, in RHEL
  mvn(org.iq80.leveldb:leveldb-api)
    leveldb-java, in Brew
  pkgconfig(leveldb)
    leveldb, in Brew
  snappy-devel
    snappy, in RHEL
  xmvn
    xmvn, in RHEL

Comment 11 Stephen Kitt 2017-08-02 12:08:45 UTC
leveldbjni-1.8-15.5.el7ost simplifies the dependencies by introducing a leveldbjni-all package which is used by opendaylight.

Comment 14 Itzik Brown 2017-09-13 08:30:52 UTC
Verified that leveldbjni-all-1.8-15.5.el7ost.x86_64 is present

Comment 18 errata-xmlrpc 2017-12-13 21:15:40 UTC
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-2017:3462