Bug 2257738 - Upgrade from 16.2 to 17.1 fails on Ceph nodes due to missing repo
Summary: Upgrade from 16.2 to 17.1 fails on Ceph nodes due to missing repo
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: distribution
Version: 17.1 (Wallaby)
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: z3
: 17.1
Assignee: OSP Team
QA Contact: Lon Hohberger
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-01-10 16:51 UTC by nalmond
Modified: 2024-09-20 04:25 UTC (History)
22 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-05-22 21:04:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 2259286 0 high CLOSED multi-rhel-container-image-prepare.py for 16.2 to 17.1 upgrades returning wrong ceph image 2024-05-22 20:44:46 UTC
Red Hat Issue Tracker OSP-31115 0 None None None 2024-01-10 16:55:34 UTC
Red Hat Issue Tracker OSP-31235 0 None None None 2024-01-26 15:13:22 UTC
Red Hat Issue Tracker RELDEL-2993 0 None None None 2024-04-05 18:43:59 UTC
Red Hat Issue Tracker RHOSPDOC-1593 0 None None None 2024-01-23 13:14:30 UTC
Red Hat Issue Tracker RHOSPDOC-1612 0 None None None 2024-01-26 15:12:22 UTC
Red Hat Issue Tracker RHOSPDOC-1704 0 None None None 2024-02-13 15:09:40 UTC
Red Hat Product Errata RHBA-2024:2742 0 None None None 2024-05-22 21:04:14 UTC

Description nalmond 2024-01-10 16:51:50 UTC
Description of problem:
Following https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/17.1/html-single/framework_for_upgrades_16.2_to_17.1/index#upgrading-to-ceph-storage-5-upgrading-ceph, section 5.2 step 5 fails on all non-hci ceph nodes trying to ensure the python3-heat-agent* rpms are installed:

2023-12-21 23:47:43,995 p=140032 u=stack n=ansible | 2023-12-21 23:47:43.995372 | d08e79c1-ae3a-8215-0682-0000000000e6 |      FATAL | Ensure TripleO prerequisite packages are installed | os-ceph-srv-01 | error={"changed": false, "failures": ["python3-heat-agent* All matches were filtered out by exclude filtering for argument: python3-heat-agent*"], "msg": "Failed to install some of the specified packages", "rc": 1, "results": []}

These packages are provided by openstack-17.1-for-rhel-8-x86_64-rpms, but these ceph nodes were deployed with the minimal overcloud images and do not have access to this repo.

How reproducible:
Consistently on director-deployed Ceph nodes.

Steps to Reproduce:
1. Deploy RHOSP 16.2 with ceph using minimal overcloud images
2. Attempt to upgrade to RHOSP 17.1
3.

Actual results:
Ceph playbook fails

Expected results:
Ceph playbook completes and upgrade is able to continue

Additional info:
The error does not show this but I suspect these packages are also impacted:

          - openstack-selinux
          - os-net-config
          - puppet-tripleo
          - python3-heat-agent*

Comment 6 Lukas Bezdicka 2024-01-19 16:08:38 UTC
I think docs are clear on this - first you upgrade to RHCEPH5 https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/17.1/html-single/framework_for_upgrades_16.2_to_17.1/index#upgrading-an-overcloud-with-director-deployed-ceph-deployments_preparing-overcloud
After the whole upgrade there is separate procedure to get to RHCEPH6 https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/17.1/html-single/framework_for_upgrades_16.2_to_17.1/index#assembly_ceph-5-to-6_upgrade_post-upgrade 

Only issue is openstack tools repo was not available on EL8 which is worked around by manually providing the packages to the nodes. Having RHCEP6 on EL8 is not supported.

Comment 13 John Fulton 2024-01-23 13:04:14 UTC
The documentation has been updated so that chapter 4.1 [1] step 8iii builds a containers-prepare-parameter.yaml with the correct ceph_image

[1] https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/17.1/html/framework_for_upgrades_16.2_to_17.1/performing-the-overcloud-adoption_overcloud-adoption#running-the-overcloud-upgrade-preparation_overcloud-adoption

Comment 49 errata-xmlrpc 2024-05-22 21:04:11 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 (Red Hat OpenStack Platform 17.1.3 bug fix and enhancement advisory), 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/RHBA-2024:2742

Comment 50 Red Hat Bugzilla 2024-09-20 04:25:18 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


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