Bug 2222433

Summary: Check mode fails when creating new firewall service
Product: Red Hat Enterprise Linux 8 Reporter: Rich Megginson <rmeggins>
Component: rhel-system-rolesAssignee: Rich Megginson <rmeggins>
Status: CLOSED ERRATA QA Contact: David Jež <djez>
Severity: unspecified Docs Contact: Gabi Fialová <gfialova>
Priority: unspecified    
Version: 8.9CC: djez, gfialova, jharuda, lmanasko, rhel-cs-system-management-subsystem-qe, spetrosi, vdanek
Target Milestone: rcKeywords: Triaged
Target Release: 8.9   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: role:firewall
Fixed In Version: rhel-system-roles-1.22.0-0.16.el8 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: 2222428 Environment:
Last Closed: 2023-11-14 15:31:21 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: 2222428    
Bug Blocks:    

Description Rich Megginson 2023-07-12 17:55:39 UTC
+++ This bug was initially created as a clone of Bug #2222428 +++

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 9 errata-xmlrpc 2023-11-14 15:31:21 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:6946

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