Bug 2310795

Summary: FFU 16.2 --> 17.1 Failing reloading custom nftable ruleset files due to undefined attribute
Product: Red Hat OpenStack Reporter: Juan Badia Payno <jbadiapa>
Component: tripleo-ansibleAssignee: Lukas Bezdicka <lbezdick>
Status: CLOSED ERRATA QA Contact: Joe H. Rahme <jhakimra>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 17.1 (Wallaby)CC: arcsingh, bshephar, dhughes, jpretori, jslagle, jstransk, lbezdick, mariel, mburns, pweeks
Target Milestone: z4Keywords: Triaged
Target Release: 17.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tripleo-ansible-3.3.1-17.1.20240918093754.8debef3.el8ost tripleo-ansible-3.3.1-17.1.20240918100824.8debef3.el9ost Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-11-21 09:42:36 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 Juan Badia Payno 2024-09-09 07:53:16 UTC
Doing the a overcloud upgrade the following error was seen:

2024-08-06 13:00:59,780 p=850352 u=stack n=ansible | 2024-08-06 13:00:59.779811 | 1110c985-b930-00bc-07cb-00000000ffb2 |      FATAL | Reload custom nftables ruleset files | compute-0 | error={"msg": "The conditional check '(nft_ruleset is defined and nft_ruleset is changed) or (nftables_flushed is defined and nftables_flushed.rc == 0)' failed. The error was: error while evaluating conditional ((nft_ruleset is defined and nft_ruleset is changed) or (nftables_flushed is defined and nftables_flushed.rc == 0)): 'dict object' has no attribute 'rc'\n\nThe error appears to be in '/usr/share/ansible/roles/tripleo_nftables/tasks/run.yml': line 23, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n# This prevents accidental lock-outs.\n- name: Reload custom nftables ruleset files\n  ^ here\n"}

Comment 22 errata-xmlrpc 2024-11-21 09:42:36 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 (RHOSP 17.1.4 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:9974