Bug 2001465

Summary: Missing obsoletes for java bindings removal
Product: [oVirt] otopi Reporter: Sandro Bonazzola <sbonazzo>
Component: Packaging.rpmAssignee: Yedidyah Bar David <didi>
Status: CLOSED CURRENTRELEASE QA Contact: Nikolai Sednev <nsednev>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 1.9.5CC: bugs, didi, nsednev
Target Milestone: ovirt-4.4.9Keywords: ZStream
Target Release: 1.9.6Flags: sbonazzo: ovirt-4.4+
sbonazzo: planning_ack?
sbonazzo: devel_ack+
sbonazzo: testing_ack?
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: otopi-1.9.6 Doc Type: Bug Fix
Doc Text:
Cause: missing obsolete clause in otopi package after java bindings removal Consequence: upgrade failure if otopi-java is installed on the system Fix: added missing obsoletes Result: otopi upgrade removes otopi-java and complete the upgrade successfully.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-20 07:54:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2010670    

Description Sandro Bonazzola 2021-09-06 07:33:40 UTC
In previous release we dropped java bindings resulting in:

 error: Failed dependencies:
 otopi = 1.9.4-1.el8ev is needed by (installed) otopi-java-1.9.4-1.el8ev.noarch
 python3-otopi = 1.9.4-1.el8ev is needed by (installed) python3-otopi-devtools-1.9.4-1.el8ev.noarch

Simple workaround is manually removing the offending RPMs and then update:

 dnf remove otopi-java python3-otopi-devtools
 dnf update

Comment 1 Nikolai Sednev 2021-10-21 13:46:56 UTC
Following our discussion with Yedidyah Bar David, reproduction steps should be as follows:
1. Install and setup an engine with RHV 4.4.6 or so (with otopi older than 1.9.5)
2. Upgrade to current (add repos, update setup packages, engine-setup)
3. Verify that all went well and you do not have anymore the java or devtools packages

Comment 3 Sandro Bonazzola 2021-11-20 07:54:23 UTC
This bugzilla is included in oVirt 4.4.9 release, published on October 20th 2021.

Since the problem described in this bug report should be resolved in oVirt 4.4.9 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.