Bug 1591828 - Stop bundling nimbus-jose-jwt 4.13.1, rebase on latest 5.12.
Summary: Stop bundling nimbus-jose-jwt 4.13.1, rebase on latest 5.12.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Backend.Core
Version: 4.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.3.0
: 4.3.0
Assignee: Ravi Nori
QA Contact: Ondra Machacek
URL:
Whiteboard:
Depends On: 1592341
Blocks: oVirt_on_Fedora
TreeView+ depends on / blocked
 
Reported: 2018-06-15 16:25 UTC by Sandro Bonazzola
Modified: 2019-02-13 07:45 UTC (History)
3 users (show)

Fixed In Version: ovirt-engine-4.3.0_alpha
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-02-13 07:45:07 UTC
oVirt Team: Infra
Embargoed:
rule-engine: ovirt-4.3+


Attachments (Terms of Use)
nimbus-jose-jwt spec file (1.57 KB, text/x-matlab)
2018-06-15 16:25 UTC, Sandro Bonazzola
no flags Details
nimbus-jose-jwt spec file (1.80 KB, text/x-matlab)
2018-06-15 16:57 UTC, Sandro Bonazzola
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 92421 0 'None' 'MERGED' 'packaging: use system provided nimbus-jose-jwt' 2019-11-19 09:37:29 UTC
oVirt gerrit 94081 0 'None' 'MERGED' 'packaging: use system provided nimbus-jose-jwt also on el7' 2019-11-19 09:37:29 UTC

Description Sandro Bonazzola 2018-06-15 16:25:07 UTC
Created attachment 1451988 [details]
nimbus-jose-jwt spec file

oVirt Engine backend RPM is bundling nimbus-jose-jwt 4.13.1.
nimbus-jose-jwt 5.12 is already available and can be packaged as RPM (attaching spec file)

In order to get nimbus-jose-jwt accepted in fedora, latest version (5.12) needs to be packaged and then supported by ovirt-engine.

Comment 1 Sandro Bonazzola 2018-06-15 16:34:01 UTC
In order to help with testing, a build is running here: https://copr.fedorainfracloud.org/coprs/sbonazzo/nimbus-jose-jwt/

Comment 2 Sandro Bonazzola 2018-06-15 16:57:50 UTC
Created attachment 1452002 [details]
nimbus-jose-jwt spec file

Comment 3 Ondra Machacek 2019-01-16 16:31:02 UTC
$ rpm -qR ovirt-engine | grep nimbus
nimbus-jose-jwt >= 5.12

$ rpm -qi nimbus-jose-jwt
Name        : nimbus-jose-jwt
Version     : 5.12
Release     : 3.el7ev
Architecture: noarch
Install Date: Wed 16 Jan 2019 06:54:29 AM IST
Group       : Unspecified
Size        : 367755
License     : ASL 2.0
Signature   : RSA/SHA256, Thu 06 Sep 2018 01:43:02 PM IDT, Key ID 199e2f91fd431d51
Source RPM  : nimbus-jose-jwt-5.12-3.el7ev.src.rpm
Build Date  : Thu 06 Sep 2018 11:58:02 AM IDT
Build Host  : x86-039.build.eng.bos.redhat.com
Relocations : (not relocatable)
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Vendor      : Red Hat, Inc.
URL         : https://bitbucket.org/connect2id/nimbus-jose-jwt/wiki/Home
Summary     : Nimbus JOSE+JWT
Description :
Java library for Javascript Object Signing and Encryption (JOSE)
and JSON Web Tokens (JWT)

$ rpm -ql ovirt-engine-backend | grep nimbus
/usr/share/ovirt-engine/modules/common/com/nimbusds
/usr/share/ovirt-engine/modules/common/com/nimbusds/main
/usr/share/ovirt-engine/modules/common/com/nimbusds/main/module.xml
/usr/share/ovirt-engine/modules/common/com/nimbusds/main/nimbus-jose-jwt.jar

$ ll /usr/share/ovirt-engine/modules/common/com/nimbusds/main/nimbus-jose-jwt.jar
lrwxrwxrwx. 1 root root 51 Jan 16 06:54 /usr/share/ovirt-engine/modules/common/com/nimbusds/main/nimbus-jose-jwt.jar -> /usr/share/java/nimbus-jose-jwt/nimbus-jose-jwt.jar

$ rpm -ql nimbus-jose-jwt | grep nimbus-jose-jwt.jar
/usr/share/java/nimbus-jose-jwt/nimbus-jose-jwt.jar

Comment 4 Sandro Bonazzola 2019-02-13 07:45:07 UTC
This bugzilla is included in oVirt 4.3.0 release, published on February 4th 2019.

Since the problem described in this bug report should be
resolved in oVirt 4.3.0 release, it has been closed with a resolution of CURRENT RELEASE.

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


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