Bug 2242605
Summary: | During upgrade 16.2-17.1 with not internet on UC overcloud_upgrade_prepare.sh fails pulling registry.access.redhat.com/ubi8/pause | |||
---|---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Joaquín Veira <jveiraca> | |
Component: | openstack-tripleo-heat-templates | Assignee: | Sergii Golovatiuk <sgolovat> | |
Status: | CLOSED ERRATA | QA Contact: | Joe H. Rahme <jhakimra> | |
Severity: | high | Docs Contact: | ||
Priority: | medium | |||
Version: | 17.1 (Wallaby) | CC: | aruffin, bshephar, coldford, dhill, jpretori, kgilliga, lsvaty, mariel, mbollo, mburns, mlaniel, sgolovat, svigan | |
Target Milestone: | z2 | Keywords: | Triaged | |
Target Release: | 17.1 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | openstack-tripleo-heat-templates-14.3.1-17.1.20231023220849.7ab5bf8.el9ost | Doc Type: | Bug Fix | |
Doc Text: |
Before this update, an upgrade from RHOSP 16.2 to 17.1 failed on environments that were not connected to the internet because the `infra_image` value was not defined. The `overcloud_upgrade_prepare.sh` script tried to pull `registry.access.redhat.com/ubi8/pause` instead, which caused an error. The issue is resolved in RHOSP 17.1.2.
|
Story Points: | --- | |
Clone Of: | ||||
: | 2259891 (view as bug list) | Environment: | ||
Last Closed: | 2024-01-16 14:31:10 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 2259891 |
Description
Joaquín Veira
2023-10-07 11:02:01 UTC
I reverted the change that added the pause image long ago: https://github.com/openstack/tripleo-ansible/commit/e6c6295c7470bd3c966fd0ff8fa8c3451bb870d9 Which version of openstack-tripleo-ansible are you running? tripleo-ansible-3.3.1-1.20230521003959.el8ost.noarch I see is later than the version reflected in the BZ mentioned for that patch I checked the version of the RPM you shared, it does indeed contain my revert. I don't think tripleo has any other task that would add the infra_image outside of that role, so my assumption is either, 1) the infra_image was already defined and the upgraded podman version made it an issue. Or, 2), the podman upgrade is adding the infra_image parameter. In any case, simply removing it should solve your immediate problem. Addressing it in the long-term, we need to find out where it gets added. I assume there are some environments that haven't been upgraded yet, do they already have the infra_image defined? We might just need to add a task in the upgrade playbooks to check for and ensure this parameter is absent. There's not really any reason (unless a user wanted to use their own pause image for $reasons) to have it defined at all - even in environments that are connected. So it might be fine for us to just automatically remove this param when we find it during the upgrade process. Adding in the upgrades DFG for comment and collaboration on that topic. 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.2 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:0209 |