Bug 1276651

Summary: [d/s] Broken deps between 3.5.5 and 3.6.x - vdsm-jsonrpc-java
Product: [oVirt] ovirt-distribution Reporter: Jiri Belka <jbelka>
Component: GeneralAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED NOTABUG QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.5.5CC: bugs, didi, lveyde, rmartins, sbonazzo, stirabos
Target Milestone: ---Flags: rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard: docs
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-30 12:55:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Docs RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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