Bug 1017245

Summary: redhat-support-plugin-rhev should be added into versionlock.list as well
Product: Red Hat Enterprise Virtualization Manager Reporter: Jiri Belka <jbelka>
Component: redhat-support-plugin-rhevAssignee: Spenser Shumaker <sshumake>
Status: CLOSED ERRATA QA Contact: Spenser Shumaker <sshumake>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: acathrow, byount, eedri, iheim, lyarwood, pprakash, sshumake, yeylon
Target Milestone: ---   
Target Release: 3.2.5   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: external
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-30 14:10:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: External RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jiri Belka 2013-10-09 13:39:16 UTC
Description of problem:
engine-setup takes care of updating redhat-support-plugin-rhev. Although this rpm depends on rhevm. Which is OK until you define specific (newer) version than it is installed.

This happened between sf20.3 -> sf21.


# yum update
...snip...
--> Finished Dependency Resolution
Error: Package: redhat-support-plugin-rhev-3.2.1-1.el6ev.noarch (latest_sf)
           Requires: rhevm >= 3.2.4
           Installed: rhevm-3.2.3-0.43.el6ev.noarch (@sf20.2)
               rhevm = 3.2.3-0.43.el6ev
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Thus redhat-support-plugin wants rhevm-3.2.4-xxxxx, but rhevm is in versionlock.list then it cannot be updated and breaks whole dependency chain.

FYI some users from type to type want to type just 'yum update', this would prevent any update until it is solved (solution is: yum update rhevm-setup and engine-setup).

So... as engine-setup takes care of update, it would be wise to put redhat-support-plugin-rhev into versionlock.list so whole yum update is not broken.


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

How reproducible:
depends

Steps to Reproduce:
1. easiest way - have rhevm sf20.3, add repo from sf21
2. yum update
3.

Actual results:
broken dependency chain because redhat-support-plugin-rhev depends on 'rhevm' package which is 'locked'

Expected results:
yum update should not be broken by rhevm components

Additional info:
# rpm -qRp redhat-support-plugin-rhev-3.2.1-1.el6ev.noarch.rpm 
/bin/sh  
/usr/bin/python  
config(redhat-support-plugin-rhev) = 3.2.1-1.el6ev
rhevm >= 3.2.4
rhevm < 3.3
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
usermode  
rpmlib(PayloadIsXz) <= 5.2-1

# engine-upgrade 

Checking for updates... (This may take several minutes)...[ DONE ]
11 Updates available:
 * redhat-support-plugin-rhev-3.2.1-1.el6ev.noarch
 * rhevm-3.2.4-0.44.el6ev.noarch
 * rhevm-backend-3.2.4-0.44.el6ev.noarch
 * rhevm-config-3.2.4-0.44.el6ev.noarch
 * rhevm-dbscripts-3.2.4-0.44.el6ev.noarch
 * rhevm-genericapi-3.2.4-0.44.el6ev.noarch
 * rhevm-notification-service-3.2.4-0.44.el6ev.noarch
 * rhevm-restapi-3.2.4-0.44.el6ev.noarch
 * rhevm-tools-common-3.2.4-0.44.el6ev.noarch
 * rhevm-userportal-3.2.4-0.44.el6ev.noarch
 * rhevm-webadmin-portal-3.2.4-0.44.el6ev.noarch
...snip...

Comment 1 Spenser Shumaker 2013-10-30 13:45:29 UTC
We have agreed the best solution is to create a document stating the user must run rhevm-upgrade to upgrade both rhevm and the plugin.  After running rhevm-upgrade, yum update will behave normally.  This bug exists because rhevm is version locked while the plugin is not and version 3.2.1 of the plugin requires a specific version of rhevm. Lee Yarwood has agreed to create the documentation.

Comment 2 Spenser Shumaker 2013-10-30 14:08:54 UTC
*** Bug 1024573 has been marked as a duplicate of this bug. ***

Comment 3 Spenser Shumaker 2013-10-30 14:10:46 UTC
The fix is addressed in the errata here[1].  Closing this bug as fixed.

[1] - https://errata.devel.redhat.com/errata/details/15877

Comment 4 Prasanth 2014-05-06 08:18:06 UTC
(In reply to Spenser Shumaker from comment #3)
> The fix is addressed in the errata here[1].  Closing this bug as fixed.
> 
> [1] - https://errata.devel.redhat.com/errata/details/15877

Spencer,

Is this applicable to Red Hat Storage Console as well?

-Prasanth

Comment 5 Spenser Shumaker 2014-05-06 13:23:14 UTC
Yes, I will comment on the storage bug.

Comment 6 Prasanth 2014-05-07 06:48:00 UTC
(In reply to Spenser Shumaker from comment #5)
> Yes, I will comment on the storage bug.

Thanks!