-
-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zone attribute change breaks compatibility with Oracle 8 & 9 (probably RHEL 8 & 9 as well) #298
Comments
This is a HUGE issue!!! Without this being fixed, it prevents you from using this cookbook [Using Rocky Linux 9.4] Especially if there is no workaround. |
I tried downgrading to v6.3.4 and it still fails. Any workaround? |
@breisig how are you applying v6.3.4? Also double check the Chef cache to see if the template it wants to apply actually contains the --zone option. |
What I did was download the firewall code from git and checkout the 6.3.4 branch and uploaded it to Chef. I installed a FRESH Rocky Linux 9.4 linux VM with the latest updates applied and bootstrapped the server with the following recipe
And it fails with the initial bootstrap of the server
And I still get the error. |
@breisig sorry for being pedantic, need to double/sanity check. When you bootstrap a VM, near the beginning, after possibly the installation of the client, you get a list of cookbooks and the versions that are being deployed/applied, please paste that into a comment. In version 6.3.4 of the firewall cookbook and earlier there is no |
Sorry, I should of seen this. The newer cookbook was still around which the recipe defaulted to use it. I deleted it and now it work wth 6.3.4, Again, this is just a workaround. |
@breisig it happens mate, that is why it is always a good idea to double/sanity check. Tbh after some looking at the code, I see the following that needs to be changed:
If I have time, I will try and submit a PR. |
🗣️ Foreword
The change to the cookbook in v6.3.5 by adding
--zone
options to allfirewall-cmd
commands, conflicts with the--direct
option and causes it to error out.👻 Brief Description
🥞 Cookbook version
6.3.5+
👩🍳 Chef-Infra Version
18.3.0
🎩 Platform details
Oracle Linux 8
Oracle Linux 9
Most likely:
RHEL 8
RHEL 9
Steps To Reproduce
Try and deploy firewall rules on Oracle Linux 8 or 9.
🚓 Expected behavior
No errors and running the same as v6.3.4
The text was updated successfully, but these errors were encountered: