Bug 920678 - upgrade fails because of rhevm-doc requires/conflict issue
Summary: upgrade fails because of rhevm-doc requires/conflict issue
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: rhevm-doc
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 3.2.0
Assignee: Kiril Nesenko
QA Contact: Jiri Belka
URL:
Whiteboard: integration
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-12 14:25 UTC by Jiri Belka
Modified: 2015-09-22 13:09 UTC (History)
13 users (show)

Fixed In Version: rhevm-doc-3.2.0-0.3.beta.el6eng
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-26 10:44:08 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
engine upgrade logs (48.10 KB, application/x-tar)
2013-03-13 17:11 UTC, Jiri Belka
no flags Details

Description Jiri Belka 2013-03-12 14:25:53 UTC
Description of problem:
While trying to upgrade from si27.3 to sf10, there's issue with rhevm-doc.

Resolving Dependencies
--> Running transaction check
---> Package rhevm-doc.noarch 0:3.1.0-21.el6eng will be updated
---> Package rhevm-doc.noarch 0:3.2.0-0.2.beta.el6eng will be an update
--> Processing Conflict: rhevm-doc-3.2.0-0.2.beta.el6eng.noarch conflicts rhevm < 3.2.0
--> Finished Dependency Resolution
Error: rhevm-doc conflicts with rhevm-3.1.0-50.el6ev.noarch
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Looks like circular dependency hell. rhevm-doc -> rhevm > 3.2.0 -> rhevm depends on rhevm-doc .... ????

Unable to upgrade without user intervention.

Version-Release number of selected component (if applicable):
sf10 (from si27.3)

How reproducible:
100%

Steps to Reproduce:
1. have "old" si version
2. have yum configured for sf10 repos
3. yum kung-fu
  
Actual results:
broken upgrade

Expected results:
working upgrade

Additional info:
* See BZ882484
* maybe workaround would be to put rhevm-doc into versionlock.list and let rhevm-upgrade to upgrade it

Comment 2 Kiril Nesenko 2013-03-12 15:50:21 UTC
What we have today is: Conflict: rhevm < 3.2.0

Comment 3 Alex Lourie 2013-03-13 15:14:50 UTC
Until the fix is released, the workaround for this issue:

1. Upgrade engine
  * run yum update rhevm-setup
  * run rhevm-upgrade
2. Upgrade the system
  * run yum update

Comment 4 Alex Lourie 2013-03-13 16:41:35 UTC
Hi Jiri

1. Please try the work around suggested in the previous comment.
2. Please elaborate a bit on the exact sequence of the actions:
  * was rhevm-doc installed on the system?
3. Please attach full logs of the engine upgrade.

Thanks.

Comment 6 Jiri Belka 2013-03-13 17:10:51 UTC
/* clarification of comment #0 */

See is for BZ882284, bad typo.

/* comment to comment #4 */

1. for me workaround was obvious, force update to rhevm-doc with rpm --nodeps as this is circular dependency issue

> Looks like circular dependency hell. rhevm-doc -> rhevm > 3.2.0 -> rhevm depends on rhevm-doc .... ????

2. of course as rhevm installs rhevm-doc (and rhevm-doc requires rhevm)
3. included

As BZ882284 states, they want to remove dependency on rhevm. So I think it should be removed, now rhevm-upgrade can check for its existence and upgrade it. And new installation? rhevm can still depend on rhevm-doc.

New install: rhevm <- rhevm-doc
New install: rhevm-doc /never installs rhevm/
Upgrade: rhevm-doc in versionlock.list /if this is why you put version because you were scared about version mismatch/
         rhevm-upgrade upgrades to valid rhevm-doc version

Comment 7 Jiri Belka 2013-03-13 17:11:36 UTC
Created attachment 709720 [details]
engine upgrade logs

Comment 8 Moran Goldboim 2013-03-13 19:21:41 UTC
(In reply to comment #6)
> /* clarification of comment #0 */
> 
> See is for BZ882284, bad typo.
> 
> /* comment to comment #4 */
> 
> 1. for me workaround was obvious, force update to rhevm-doc with rpm
> --nodeps as this is circular dependency issue
> 
> > Looks like circular dependency hell. rhevm-doc -> rhevm > 3.2.0 -> rhevm depends on rhevm-doc .... ????
> 
> 2. of course as rhevm installs rhevm-doc (and rhevm-doc requires rhevm)
> 3. included
> 
> As BZ882284 states, they want to remove dependency on rhevm. So I think it
> should be removed, now rhevm-upgrade can check for its existence and upgrade
> it. And new installation? rhevm can still depend on rhevm-doc.

+1 here, i don't see why this dependency on rhev is needed on docs.
Simon, thoughts?

> 
> New install: rhevm <- rhevm-doc
> New install: rhevm-doc /never installs rhevm/
> Upgrade: rhevm-doc in versionlock.list /if this is why you put version
> because you were scared about version mismatch/
>          rhevm-upgrade upgrades to valid rhevm-doc version

Comment 10 Simon Grinberg 2013-03-14 09:25:40 UTC
> > As BZ882284 states, they want to remove dependency on rhevm. So I think it
> > should be removed, now rhevm-upgrade can check for its existence and upgrade
> > it. And new installation? rhevm can still depend on rhevm-doc.
> 
> +1 here, i don't see why this dependency on rhev is needed on docs.
> Simon, thoughts?

As Itamar said less of an issue right now so let's resolve the quickest way.
For 4.0 we'll have to reconsider the entire version lock concept and see what can be done to break into packages that can be separately upgraded (and built)

Comment 12 Jiri Belka 2013-03-14 16:05:49 UTC
ok, sf10.1.


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