Bug 2222428

Summary: Check mode fails when creating new firewall service
Product: Red Hat Enterprise Linux 9 Reporter: Rich Megginson <rmeggins>
Component: rhel-system-rolesAssignee: Rich Megginson <rmeggins>
Status: CLOSED ERRATA QA Contact: Jakub Haruda <jharuda>
Severity: unspecified Docs Contact: Gabi Fialová <gfialova>
Priority: unspecified    
Version: 9.3CC: djez, gfialova, jharuda, lmanasko, spetrosi, vdanek
Target Milestone: rcKeywords: Triaged
Target Release: 9.3Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: role:firewall
Fixed In Version: rhel-system-roles-1.22.0-0.16.el9 Doc Type: Bug Fix
Doc Text:
.Running the `firewall` RHEL System Role in check mode with non-existent services no longer fails Previously, running the `firewall` role in check mode with non-existent services would fail. This fix implements better compliance with Ansible best practices for check mode. As a result, non-existent services being enabled or disabled no longer fails the role in check mode. Instead, a warning prompts you to confirm that the service is defined in a previous playbook.
Story Points: ---
Clone Of:
: 2222433 (view as bug list) Environment:
Last Closed: 2023-11-07 08:29:49 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:    
Bug Blocks: 2222433    

Description Rich Megginson 2023-07-12 17:42:53 UTC
When creating and enabling a service, using check mode will fail since the service does not exist - should issue a warning that the service does not exist - see https://github.com/linux-system-roles/firewall/issues/146

Comment 11 errata-xmlrpc 2023-11-07 08:29:49 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 (rhel-system-roles bug fix and enhancement 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/RHEA-2023:6390

Comment 12 Red Hat Bugzilla 2024-03-07 04:25:59 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days