Bug 1946978 - [OSP 17][Downstream-Only] Pin NovaHWMachineType to RHEL version of q35 machine type to allow LM
Summary: [OSP 17][Downstream-Only] Pin NovaHWMachineType to RHEL version of q35 machin...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 17.0 (Wallaby)
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ga
: 17.0
Assignee: Bogdan Dobrelya
QA Contact: James Parker
URL:
Whiteboard:
Depends On: 1946961
Blocks: 1946898
TreeView+ depends on / blocked
 
Reported: 2021-04-07 12:13 UTC by Lee Yarwood
Modified: 2025-01-17 19:54 UTC (History)
14 users (show)

Fixed In Version: openstack-tripleo-heat-templates-14.3.1-0.20220719171711.feca772.el9ost
Doc Type: Enhancement
Doc Text:
With this update, the default machine type is RHEL9.0-based Q35 `pc-q35-rhel9.0.0`, with the following enhancements: * Live migration across RHEL minor releases. * Native PCIe hotplug. This is also ACPI-based like the previous i440fx machine type. * Intel input–output memory management unit (IOMMU) emulation helps protect guest memory from untrusted devices that are directly assigned to the guest. * Faster SATA emulation. * Secure boot.
Clone Of:
Environment:
Last Closed: 2022-09-21 12:14:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-1911 0 None None None 2022-01-12 11:20:32 UTC
Red Hat Product Errata RHEA-2022:6543 0 None None None 2022-09-21 12:15:41 UTC

Description Lee Yarwood 2021-04-07 12:13:23 UTC
Description of problem:

This bug will track a downstream-only change to pin NovaHWMachineType to a specific RHEL/CentOS version of the q35 machine type for OSP 17.0.

This is to allow live migration from a later release of RHEL (for example 9.1) back to an earlier version of RHEL (for example 9.0) as the machine type would be pinned to the version provided by RHEL 9.0.

Comment 3 Bogdan Dobrelya 2022-01-12 14:26:25 UTC
FTR: the new deployment default is already set to the q35 alias [0], here we want to move that to the "versioned type"

[0] https://review.opendev.org/c/openstack/tripleo-heat-templates/+/785027/8/deployment/nova/nova-compute-container-puppet.yaml

Comment 6 Yaniv Kaul 2022-05-11 13:11:33 UTC
Can you provide the latest status for this high severity, high priority BZ?

Comment 7 Bogdan Dobrelya 2022-05-11 15:06:44 UTC
To my understanding it depends on bz 1946961. The latest status is https://bugzilla.redhat.com/show_bug.cgi?id=1946961#c13

@Artrom, would you please help to address that?
Moving this back to NEW.

Comment 9 smooney 2022-06-27 13:37:04 UTC
we had planned to do the pinning in ooo  as part of upgrades but that was rejected if i understand correctly

https://review.opendev.org/c/openstack/tripleo-heat-templates/+/785027/ mand the unversioned q35 alias the default.

https://review.opendev.org/c/openstack/tripleo-heat-templates/+/828894/ then attempted to pinn the version on upgrade.

https://bugzilla.redhat.com/show_bug.cgi?id=1946961 was tracking the effort to pin this automatically  that is now going to be converted to a docs issue.
so the upgrade procedure will explain how to pin the machine type via the templates.

this bz was tracking pinning the machine type to a versioned machine type downstream only for 17.
so  we should just create  a downstream only patch to do that.

bogdan can you find the oldest rhel 9 bases q35 machine type and propose a patch to set that as our downstream default in ooo.

Kashyap had a thread on this topic on rhos-compute where we agreed on the machine type previously
"Let's work out the machine types OSP needs in RHEL9 for incoming migration"

Kashyap do you know what version machine type should be used explicitly.

Comment 10 Bogdan Dobrelya 2022-06-27 14:19:59 UTC
Can we close this as a dup for https://bugzilla.redhat.com/show_bug.cgi?id=1946961 then?

Comment 11 smooney 2022-06-27 14:34:11 UTC
no it's not a duplicate.
for greenfield deployments, we need to pin to "pc-q35-rhel9.0.0"

for upgrades since we are not doing it automatically, we need to document how to pin to osp 16 machine type and then later change to the new machine type.


so this is tracking the former pinning the machine type downstream only to pc-q35-rhel9.0.0

and  https://bugzilla.redhat.com/show_bug.cgi?id=1946961 is the documentation task and upgrade procedure testing for 16.2 to 17.1

Comment 12 Bogdan Dobrelya 2022-06-28 13:32:35 UTC
Thank you for explaining, Sean. @kchamart, please confirm if I should pin it in downstream only for osp17 to pc-q35-rhel9.0.0

Comment 14 Kashyap Chamarthy 2022-06-29 05:36:22 UTC
(In reply to Bogdan Dobrelya from comment #12)
> Thank you for explaining, Sean. @kchamart, please confirm if I
> should pin it in downstream only for osp17 to pc-q35-rhel9.0.0

Hi, Bodgan (and Sean):

Yes, for OSP 17.0, plese pin it to "pc-q35-rhel9.0.0".

Comment 15 Kashyap Chamarthy 2022-06-29 05:37:31 UTC
Just for additional info:  

- RHEL9 also supports "pc-i440fx-rhel7.6.0" machine type — the default
  machine type in OSP 16.1 and 16.2.  This is to allow incoming live
  migrations from OSP 16.1 and 16.2 to OSP 17 (RHEL9).

    
- These are the machine types supported on RHEL-9.0: [QEMU version:
  qemu-kvm-core-6.2.0-4.el9.x86_64]

    $ /usr/libexec/qemu-kvm -M help
    Supported machines are:
    pc                   RHEL 7.6.0 PC (i440FX + PIIX, 1996) (alias of pc-i440fx-rhel7.6.0)
    pc-i440fx-rhel7.6.0  RHEL 7.6.0 PC (i440FX + PIIX, 1996) (default)
    q35                  RHEL-9.0.0 PC (Q35 + ICH9, 2009) (alias of pc-q35-rhel9.0.0)
    pc-q35-rhel9.0.0     RHEL-9.0.0 PC (Q35 + ICH9, 2009)
    pc-q35-rhel8.6.0     RHEL-8.6.0 PC (Q35 + ICH9, 2009)
    pc-q35-rhel8.5.0     RHEL-8.5.0 PC (Q35 + ICH9, 2009)
    pc-q35-rhel8.4.0     RHEL-8.4.0 PC (Q35 + ICH9, 2009)
    pc-q35-rhel8.3.0     RHEL-8.3.0 PC (Q35 + ICH9, 2009)
    pc-q35-rhel8.2.0     RHEL-8.2.0 PC (Q35 + ICH9, 2009)
    pc-q35-rhel8.1.0     RHEL-8.1.0 PC (Q35 + ICH9, 2009)
    pc-q35-rhel8.0.0     RHEL-8.0.0 PC (Q35 + ICH9, 2009)
    pc-q35-rhel7.6.0     RHEL-7.6.0 PC (Q35 + ICH9, 2009)
    none                 empty machine

- This is the doc bug on moving from 'pc' to 'q35':

    https://bugzilla.redhat.com/show_bug.cgi?id=1946898#c4 -- [OSP-17]
    Document deprecation of 'i440fx' machine type in OSP-17; and
    migration path to 'q35'

Comment 16 spower 2022-07-14 11:40:00 UTC
@kashyap.cv @pgrist Any update on this? I see it has been proposed as a blocker but is still On Dev

Comment 30 spower 2022-08-09 11:26:50 UTC
TRAC team have marked this as GA blocker but not a Beta blocker

Comment 41 errata-xmlrpc 2022-09-21 12:14:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Release of components for Red Hat OpenStack Platform 17.0 (Wallaby)), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2022:6543

Comment 43 tijundonghua60 2022-12-21 05:10:45 UTC Comment hidden (spam)
Comment 44 Wayne Ford 2024-05-06 12:24:23 UTC Comment hidden (spam)
Comment 45 kurt bowden 2024-05-15 05:38:55 UTC Comment hidden (spam)
Comment 46 Thomas Brown 2024-12-17 05:27:49 UTC Comment hidden (spam)

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