Bug 2263226

Summary: [FFU 16.2 to 17.1] openstack overcloud system upgrade fails when pulling images from registry registry.redhat.io
Product: Red Hat OpenStack Reporter: Ollie Walsh <owalsh>
Component: openstack-tripleo-heat-templatesAssignee: Juan Badia Payno <jbadiapa>
Status: CLOSED ERRATA QA Contact: Archana Singh <arcsingh>
Severity: high Docs Contact:
Priority: high    
Version: 17.1 (Wallaby)CC: drosenfe, gregraka, jbadiapa, jhakimra, joflynn, jpretori, jsalibi, kgilliga, ldavidde, mariel, mburns, pnavarro, prgutier, ramishra
Target Milestone: z3Keywords: Triaged
Target Release: 17.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-14.3.1-17.1.20231103010828.el9ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: 2235621 Environment:
Last Closed: 2024-05-22 20:42:44 UTC Type: ---
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: 2235621    
Bug Blocks:    

Description Ollie Walsh 2024-02-07 17:30:27 UTC
Similar to https://bugzilla.redhat.com/show_bug.cgi?id=2235621, overcloud system upgrade fails when trying to pull collectd (if it's enabled) because the podman credentials were dropped by the leapp upgrade:

PLAY [Upgrade tasks for step 5] ************************************************
[WARNING]: conditional statements should not include jinja2 templating
delimiters such as {{ }} or {% %}. Found: '{{ playbook_dir }}/{{
_task_file_path }}' is exists
2024-02-07 16:50:14.574173 | 0a580a82-0100-4162-d5f6-000000000030 |     TIMING | include_tasks | controller-0 | 0:00:08.557199 | 0.05s
2024-02-07 16:50:14.645303 | f2aed3d6-facc-42f8-8411-a2a923ee09f3 |   INCLUDED | /home/cloud-admin/work/n659h67bh565h5b8h687h5b4h99h657h559h56dh57fh76hf7h88h5b8h548h58dh68chc8h687hf4hbbh684h5d4h85hfdh566h5b5hb9h87h55dh99q/playbooks/tripleo-ansible/Controller/upgrade_tasks_step5.yaml | controller-0
2024-02-07 16:50:14.668459 | 0a580a82-0100-4162-d5f6-000000000351 |       TASK | Create cinder image conversion directory
2024-02-07 16:50:14.728521 | 0a580a82-0100-4162-d5f6-000000000351 |    SKIPPED | Create cinder image conversion directory | controller-0
2024-02-07 16:50:14.728943 | 0a580a82-0100-4162-d5f6-000000000351 |     TIMING | Create cinder image conversion directory | controller-0 | 0:00:08.711970 | 0.06s
2024-02-07 16:50:14.737215 | 0a580a82-0100-4162-d5f6-000000000352 |       TASK | Mount cinder's image conversion NFS share
2024-02-07 16:50:14.838265 | 0a580a82-0100-4162-d5f6-000000000352 |    SKIPPED | Mount cinder's image conversion NFS share | controller-0
2024-02-07 16:50:14.838851 | 0a580a82-0100-4162-d5f6-000000000352 |     TIMING | Mount cinder's image conversion NFS share | controller-0 | 0:00:08.821801 | 0.10s
2024-02-07 16:50:14.847527 | 0a580a82-0100-4162-d5f6-000000000356 |       TASK | Force pull image collectd
2024-02-07 16:50:15.863003 | 0a580a82-0100-4162-d5f6-000000000356 |      FATAL | Force pull image collectd | controller-0 | error={"changed": false, "msg": "Failed to pull image registry.redhat.io/rhosp-rhel9/openstack-collectd:17.1.2"}
2024-02-07 16:50:15.863517 | 0a580a82-0100-4162-d5f6-000000000356 |     TIMING | Force pull image collectd | controller-0 | 0:00:09.846557 | 1.01s

parameter_defaults:
  ContainerImagePrepare:
  - push_destination: false
    set:
      tag: 17.1.2
      name_prefix: openstack-
      namespace: registry.redhat.io/rhosp-rhel9
  ContainerImagePrepareRhel8: &container_image_prepare_rhel8
  - push_destination: false
    set:
      tag: 17.1.2
      name_prefix: openstack-
      namespace: registry.redhat.io/rhosp-rhel9
    excludes:
    - collectd
    - nova-libvirt
  - push_destination: false
    set:
      tag: 17.1.2
      name_prefix: openstack-
      namespace: registry.redhat.io/rhosp-rhel8
    includes:
    - collectd
    - nova-libvirt
  ComputeRhel8ContainerImagePrepare: *container_image_prepare_rhel8
  ContainerImageRegistryCredentials:
    registry.redhat.io:
      <user>: <password>
  ContainerImageRegistryLogin: true

Comment 15 Juan Badia Payno 2024-05-13 10:37:28 UTC
*** Bug 2278881 has been marked as a duplicate of this bug. ***

Comment 22 errata-xmlrpc 2024-05-22 20:42:44 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 (Moderate: openstack-tripleo-heat-templates and tripleo-ansible update), 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/RHSA-2024:2736