Bug 1301018

Summary: ovirt-engine-setup 3.6 should requires newer otopi
Product: Red Hat Enterprise Virtualization Manager Reporter: Gonza <grafuls>
Component: rhevm-setup-pluginsAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED NOTABUG QA Contact: Pavel Stehlik <pstehlik>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.6.2CC: ecohen, gklein, lsurette
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-22 15:16:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
engine-setup log none

Description Gonza 2016-01-22 10:53:26 UTC
Created attachment 1117147 [details]
engine-setup log

Description of problem:
Upgrade to rhevm-3.6.2-10 fails if an older version of otopi is installed

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

How reproducible:
100%

Steps to Reproduce:
1. Installed rhevm-3.6.0.3-0.1.el6.noarch
2. downgrade otopi
3. upgrade to rhevm-3.6.2-10


Actual results:
engine-setup fails with:
[ ERROR ] Failed to execute stage 'Environment customization': 'MiniYum' object has no attribute 'installUpdate'

Expected results:
engine-setup completes succesfully

Additional info:
Log attached

Comment 1 Sandro Bonazzola 2016-01-22 15:16:44 UTC
Not sure to follow.
upstrea ovirt-engine-setup-base has
Requires:	otopi >= 1.4.0

So if you have older otopi it should automatically upgrade.

Note that in 3.6 only otopi-1.4.0-1 has been released so if you downgrade I'm expecting you to downgrade to an otopi release coming from 3.5.

Note that 3.6.2-10 is pre rhevm beta1 release. Upgrade from development version is not supported.

Comment 2 Sandro Bonazzola 2016-01-22 15:18:55 UTC
(In reply to Sandro Bonazzola from comment #1)
> Not sure to follow.
> upstrea ovirt-engine-setup-base has
> Requires:	otopi >= 1.4.0
> 
> So if you have older otopi it should automatically upgrade.
> 
> Note that in 3.6 only otopi-1.4.0-1 has been released so if you downgrade
> I'm expecting you to downgrade to an otopi release coming from 3.5.
> 
> Note that 3.6.2-10 is pre rhevm beta1 release. Upgrade from development

^^^^ sorry, otopi-1.4.0_master from logs is pre-beta1

> version is not supported.