Bug 1276651 - [d/s] Broken deps between 3.5.5 and 3.6.x - vdsm-jsonrpc-java
Summary: [d/s] Broken deps between 3.5.5 and 3.6.x - vdsm-jsonrpc-java
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: ovirt-distribution
Classification: oVirt
Component: General
Version: 3.5.5
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Sandro Bonazzola
QA Contact: Pavel Stehlik
URL:
Whiteboard: docs
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-30 11:20 UTC by Jiri Belka
Modified: 2018-08-20 14:17 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-10-30 12:55:18 UTC
oVirt Team: Docs
Embargoed:
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?


Attachments (Terms of Use)

Description Jiri Belka 2015-10-30 11:20:38 UTC
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):
rhevm-3.5.5-0.1.el6ev.noarch

How reproducible:
100%

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 12:55:18 UTC
(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.