-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
[BUG] modules/ipset.py new_set Syntax error #61620
Comments
|
The above (closed) PR resolved this issue for me. #61621 |
The backport for this bug fix the into 3006.x branch evidently did not merge. |
@jasonborden I am able to find the fix in current 3007.x branch, suggest you look closer. Given the original date of this, 2023, it is definitively in 3007.x branch, and appears to be in the 3006.x branch too |
@dmurphy18 Can you please show me where? Also when I compare the commit history at of the 3006.x branch at https://github.com/saltstack/salt/commits/3006.x/salt/modules/ipset.py to the 3007.x branch at https://github.com/saltstack/salt/commits/3007.x/salt/modules/ipset.py I can only see the commit in the 3007.x branch. The 3006.x branch has some of the changes made in the patch, but the change at line 330 of salt/modules/ipset.py does not appear to be there. |
@jasonborden Checkout these in the 3006.x branch Line 317 in 3618966
Line 330 in 3618966
Line 480 in 3618966
Lines 486 to 517 in 3618966
Lines 544 to 546 in 3618966
Lines 582 to 583 in 3618966
Lines 622 to 623 in 3618966
The above lines appear to correspond with PR https://github.com/saltstack/salt/pull/65044/files changes. |
@dmurphy18 |
@jasonborden The lines look correct to me , even line 330, so solution is to open a new issue since this is closed, almost a year ago, explaining exactly the problem, showing lines etc. That would be better than continuing this conversation here on an old closed issue. |
Description
Running
salt-call -l debug ipset.new_set name=whitelist set_type="hash:net" comment=True counters=True
Gives error:
[ERROR ] salt.loaded.int.module.cmdmod:1305 output: ipset v7.5: Syntax error: unknown inet family ['/usr/sbin/ipset', 'create', 'whitelist', 'hash:net', 'counters', 'family', [...], 'inet', 'comment']
Setup
Default setup, no special configuration.
Please be as specific as possible and give set-up details.
Steps to Reproduce the behavior
Versions Report
The text was updated successfully, but these errors were encountered: