Bug 1505887 - run `subscription-manager release --set=7.3` on vdsm-tool configure
Summary: run `subscription-manager release --set=7.3` on vdsm-tool configure
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: vdsm
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Dan Kenigsberg
QA Contact: Pavol Brilla
URL:
Whiteboard:
Depends On: 1509650
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-24 13:34 UTC by Dan Kenigsberg
Modified: 2022-07-13 07:36 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1509650 (view as bug list)
Environment:
Last Closed: 2017-11-27 13:30:18 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-47590 0 None None None 2022-07-13 07:36:44 UTC
oVirt gerrit 83144 0 None ABANDONED vdsm-tool: configure: subscription-manager 2020-09-07 03:01:07 UTC

Description Dan Kenigsberg 2017-10-24 13:34:38 UTC
If someone has RHV-3.6 hypervisor, we would like him to stay on RHEL-7.3. Therefore, next 3.6.z should have a vdsm tool configurator calling

subscription-manager --set=7.3

(once per host)

Comment 7 Dan Kenigsberg 2017-11-01 07:10:52 UTC
A serious flaw in this idea is the upgrade path. Once the release is --set to 7.3, one cannot upgrade to RHV-4's Vdsm because it hard-requires el-7.4's libvirt and co.

We can require customers to
  vdsm-tool unconfigure --module subscription_manager

before trying to `yum update vdsm`. Does this make sense?

Comment 8 Yaniv Lavi 2017-11-01 11:03:34 UTC
(In reply to Dan Kenigsberg from comment #7)
> A serious flaw in this idea is the upgrade path. Once the release is --set
> to 7.3, one cannot upgrade to RHV-4's Vdsm because it hard-requires el-7.4's
> libvirt and co.
> 
> We can require customers to
>   vdsm-tool unconfigure --module subscription_manager
> 
> before trying to `yum update vdsm`. Does this make sense?

That won't work, it doesn't scale.
Didn't we say that we will put the 'subscription-manager --set=7.4' in the RPM upgrade pre script?

Comment 9 Yaniv Lavi 2017-11-01 11:04:13 UTC
or do:
vdsm-tool unconfigure --module subscription_manager

Comment 10 Dan Kenigsberg 2017-11-01 11:13:23 UTC
(In reply to Yaniv Lavi from comment #8)

> Didn't we say that we will put the 'subscription-manager --set=7.4' in the
> RPM upgrade pre script?

That's too late. If the requirements of vdsm.rpm are not satisfied, its pre script would not be run. `unconfigure` should be run before attempting `yum upgrade vdsm`; it can be added to the host upgrade command.

Comment 11 Dan Kenigsberg 2017-11-05 12:50:05 UTC
After discussion with Didi I have filed bug 1509650 to track the suggestion of comment 10 in ovirt-host-deploy.

Comment 12 Dan Kenigsberg 2017-11-27 13:29:28 UTC
After discussion with Jiri Belka, it is unclear how the suggested code is to be automatically deployed to hosts.


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