Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2222982

Summary: [OSP17.1][FFU] System update fails on compute node in mixed RHEL configuration.
Product: Red Hat OpenStack Reporter: Leonid Natapov <lnatapov>
Component: openstack-tripleo-heat-templatesAssignee: Juan Badia Payno <jbadiapa>
Status: CLOSED ERRATA QA Contact: Khomesh Thakre <kthakre>
Severity: high Docs Contact:
Priority: medium    
Version: 17.1 (Wallaby)CC: bshephar, jbadiapa, jpretori, jschluet, kgilliga, lsvaty, mburns, pgrist, slinaber, tkajinam
Target Milestone: gaKeywords: Triaged, Upgrades
Target Release: 17.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-14.3.1-1.20230519151019.el9ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-16 01:15:51 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 Leonid Natapov 2023-07-14 17:34:52 UTC
Description of problem:

FFU in mixed RHEL configuration,where we have compute nodes running RHEL8 with OSP17.1, fails on compute node.

It successfully passes on compute-0 and consistently fails on compute-1

The error messages is:
-------------------------

2023-07-14 16:16:54 | 2023-07-14 16:16:54.335828 | 525400e5-5d88-1f0e-c0d8-000000000684 |       TASK | Prepare new /etc/hosts
2023-07-14 16:16:54 | 2023-07-14 16:16:54.448869 | 525400e5-5d88-1f0e-c0d8-000000000684 |      FATAL | Prepare new /etc/hosts | compute-1 | error={"msg": "The task includes an option with an undefined variable. The error was: 'plan' is undefined. 'plan' is undefined\n\nThe error appears to be in '/usr/share/ansible/roles/tripleo_hosts_entries/tasks/main.yml': line 74, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Prepare new /etc/hosts\n  ^ here\n"}
2023-07-14 16:16:54 | 2023-07-14 16:16:54.450499 | 525400e5-5d88-1f0e-c0d8-000000000684 |     TIMING | tripleo_hosts_entries : Prepare new /etc/hosts | compute-1 | 0:02:13.613179 | 0.09s
2023-07-14 16:16:54 | 2023-07-14 16:16:54.800056 | 525400e5-5d88-1f0e-c0d8-000000000684 |         OK | Prepare new /etc/hosts | undercloud
2023-07-14 16:16:54 | 2023-07-14 16:16:54.801707 | 525400e5-5d88-1f0e-c0d8-000000000684 |     TIMING | tripleo_hosts_entries : Prepare new /etc/hosts | undercloud | 0:02:13.964386 | 0.46s
2023-07-14 16:16:54 | 
2023-07-14 16:16:54 | NO MORE HOSTS LEFT *************************************************************
2023-07-14 16:16:54 | 
2023-07-14 16:16:54 | PLAY RECAP *********************************************************************
2023-07-14 16:16:54 | compute-1                  : ok=74   changed=11   unreachable=0    failed=1    skipped=92   rescued=0    ignored=0   
2023-07-14 16:16:54 | undercloud                 : ok=21   changed=6    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0

Comment 2 Brendan Shephard 2023-07-17 04:36:19 UTC
Do you have a link to the CI job you're referring to?

Comment 19 errata-xmlrpc 2023-08-16 01:15:51 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 (Release of components for Red Hat OpenStack Platform 17.1 (Wallaby)), 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/RHEA-2023:4577