Bug 1930274
Summary: | Make necessary edits in the Framework for Upgrades guide, to reflect container-tools module changes | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Vlada Grosu <vgrosu> |
Component: | documentation | Assignee: | Vlada Grosu <vgrosu> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | RHOS Documentation Team <rhos-docs> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 16.1 (Train) | CC: | gfidente, jpretori |
Target Milestone: | z4 | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-03-18 16:02:49 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: | |
Embargoed: |
Description
Vlada Grosu
2021-02-18 16:04:02 UTC
Hi Jesse, I am not sure how BZ#1866479 affects the FFU process, particularly what happens when we creating an upgrades environment file (that enables the container-tools module) when we're configuring the overcloud for a Leapp upgrade. What documentation changes must be made to reflect the work that's been done in BZ#1866479? Many thanks, Vlada https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.1/html-single/framework_for_upgrades_13_to_16.1/index?lb_target=production#enabling-repositories-for-the-undercloud stays the same, but https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.1/html-single/framework_for_upgrades_13_to_16.1/index?lb_target=production#creating-an-upgrades-environment-file-overcloud-leapp will need changing to remove: sudo dnf module disable -y container-tools:rhel8 sudo dnf module enable -y container-tools:2.0 sudo dnf module disable -y virt:rhel sudo dnf module enable -y virt:8.2 and due to https://bugzilla.redhat.com/show_bug.cgi?id=1923887 we'll need to add: parameter_defaults: ... DnfStreams: [{'module':'container-tools', 'stream':'2.0'}] I need to verify whether this works, but we should also be adding something like this as a workaround to cover the virt module too: parameter_defaults: UpgradeInitCommand: | {% if 'Compute' in group_names or 'Controller' in group_names %} sudo dnf module disable -y virt:rhel sudo dnf module enable -y virt:8.2 {% endif %} So the whole file should look like this: parameter_defaults: # Begin workaround for BZ1923887 DnfStreams: [{'module':'container-tools', 'stream':'2.0'}] UpgradeInitCommand: | {% if 'Compute' in group_names or 'Controller' in group_names %} sudo dnf module disable -y virt:rhel sudo dnf module enable -y virt:8.2 {% endif %} # End workaround for BZ1923887 UpgradeLeappCommandOptions: "--enablerepo rhel-8-for-x86_64-baseos-eus-rpms --enablerepo rhel-8-for-x86_64-appstream-eus-rpms --enablerepo fast-datapath-for-rhel-8-x86_64-rpms" I will endeavour to test whether this works ASAP. I can confirm that the above method works. The comments 'workaround for...' can be removed so that the final result is: parameter_defaults: DnfStreams: [{'module':'container-tools', 'stream':'2.0'}] UpgradeInitCommand: | {% if 'Compute' in group_names or 'Controller' in group_names %} sudo dnf module disable -y virt:rhel sudo dnf module enable -y virt:8.2 {% endif %} UpgradeLeappCommandOptions: "--enablerepo rhel-8-for-x86_64-baseos-eus-rpms --enablerepo rhel-8-for-x86_64-appstream-eus-rpms --enablerepo fast-datapath-for-rhel-8-x86_64-rpms" Once z5 releases with the fix for BZ1923887 then this file will reduce to: parameter_defaults: UpgradeLeappCommandOptions: "--enablerepo rhel-8-for-x86_64-baseos-eus-rpms --enablerepo rhel-8-for-x86_64-appstream-eus-rpms --enablerepo fast-datapath-for-rhel-8-x86_64-rpms" Reopening this to address https://bugzilla.redhat.com/show_bug.cgi?id=1923887#c8 |