Bug 1276651 - [d/s] Broken deps between 3.5.5 and 3.6.x - vdsm-jsonrpc-java
[d/s] Broken deps between 3.5.5 and 3.6.x - vdsm-jsonrpc-java
Product: ovirt-distribution
Classification: oVirt
Component: Build (Show other bugs)
Unspecified Linux
unspecified Severity medium (vote)
: ---
: ---
Assigned To: Sandro Bonazzola
Pavel Stehlik
Depends On:
  Show dependency treegraph
Reported: 2015-10-30 07:20 EDT by Jiri Belka
Modified: 2016-02-10 13:57 EST (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2015-10-30 08:55:18 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: Docs
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?

Attachments (Terms of Use)

  None (edit)
Description Jiri Belka 2015-10-30 07:20:38 EDT
Description of problem:

IIUC there's broken deps while one does upgrade from 3.5.5 to 3.6.x via `yum update && engine-setup'.

Error: Package: rhevm-backend-3.5.5-0.1.el6ev.noarch (@rhevm35)
           Requires: vdsm-jsonrpc-java < 1.1.0
           Removing: vdsm-jsonrpc-java-1.0.15-1.el6ev.noarch (@rhevm35)
               vdsm-jsonrpc-java = 1.0.15-1.el6ev
           Updated By: vdsm-jsonrpc-java-1.1.5-1.el6ev.noarch (rhevm-3.6.0-17)
               vdsm-jsonrpc-java = 1.1.5-1.el6ev

IIUC the issue:
- yum update tries to update all packages which are not in versionlock.list
- so vdsm-jsonrpc-java is going to be updated
- but vdsm-jsonrpc-java can't be updated because:
  # rpm -qR rhevm-backend | grep ^vdsm-jsonrpc-java
  vdsm-jsonrpc-java >= 1.0.15
  vdsm-jsonrpc-java < 1.1.0

  # yum list updates | grep vdsm-jsonrpc-java
  vdsm-jsonrpc-java.noarch 1.1.5-1.el6ev                    rhevm-3.6.0-17

- iiuc vdsm-jsonrcp-java should be either in versionlock.list or there should not be restriction '< 1.1.0'

Workaround: yum update rhevm-setup && engine-setup

But official docs says: yum update && engine-setup

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

How reproducible:

Steps to Reproduce:
1. install 3.5.5
2. add repos for 3.6.x
3. yum update && engine-setup

Actual results:
yum update fails because of vdsm-jsonrpc-java deps

Expected results:
should work

Additional info:
Comment 1 Sandro Bonazzola 2015-10-30 08:55:18 EDT
(In reply to Jiri Belka from comment #0)
> Workaround: yum update rhevm-setup && engine-setup
> But official docs says: yum update && engine-setup

Please note that official docs for oVirt [1] says:

For upgrading now you just need to execute:

 # yum update "ovirt-engine-setup*"
 # engine-setup

looks like you're using rhev-m documentation that requires to be updated.
Please open a bug against rhev-m documentation.

[1] http://www.ovirt.org/OVirt_3.6_Release_Notes#Install_.2F_Upgrade_from_previous_versions

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