Bug 1509650

Summary: attempt `vdsm-tool remove-config --module subscription_manager` before upgrading vdsm
Product: Red Hat Enterprise Virtualization Manager Reporter: Dan Kenigsberg <danken>
Component: ovirt-host-deployAssignee: Yedidyah Bar David <didi>
Status: CLOSED EOL QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.1.0CC: bazulay, bugs, danken, dougsland, lsurette, mperina, oourfali, pbrilla, rbalakri, Rhev-m-bugs, srevivo, ybronhei, ycui, ykaul, ylavi
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1505887 Environment:
Last Closed: 2017-11-27 13:31:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1505887    

Description Dan Kenigsberg 2017-11-05 12:47:57 UTC
+++ This bug was initially created as a clone of Bug #1505887 +++

As mentioned in https://bugzilla.redhat.com/show_bug.cgi?id=1505887#c7 we need to unset RHEL release before attempting to upgrade vdsm. Otherwise, the new vdsm with its dependencies of new RHEL would not be installable.

I suggest to run `vdsm-tool remove-config --module subscription_manager` before upgrading vdsm. vdsm-tool may not be found (if vdsm is not yet installed); the module may not be found (if the installed vdsm version is too old). Those two error should be ignored by host-deploy.

We must verify whether the upgrade manager flow require similar handling just in order to check whether an upgrade of vdsm is available.