Description of problem: Need to update the FFU guide for changes introduced by BZ#1866479. 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 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 The update guide has already been updated (BZ#1894031): https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.1/html-single/keeping_red_hat_openstack_platform_updated/index?lb_target=production#updating-your-container-image-preparation-file_keeping-updated
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
All changes are published here: https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.1/html-single/framework_for_upgrades_13_to_16.1/index#creating-an-upgrades-environment-file-overcloud-leapp Thank you