Bug 1496859
Summary: | TestOnly: ipset comment extension does not work | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | martti.laaksonen |
Component: | kernel | Assignee: | Stefano Brivio <sbrivio> |
kernel sub component: | Netfilter | QA Contact: | yiche <yiche> |
Status: | CLOSED ERRATA | Docs Contact: | Ioanna Gkioka <igkioka> |
Severity: | medium | ||
Priority: | medium | CC: | abeljame1303, atragler, celinedioncdc, ethansmithethans, gonzo, heritageericsson, igkioka, jroland, kamstraus1591, network-qe, rkhan, sbrivio, shuali, sukulkar, todoleza, tomhiddlestonusatexas, tonyadam0202, wellwell38, yiche |
Version: | 7.4 | Keywords: | TestOnly |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | kernel-3.10.0-894.el7 | Doc Type: | Enhancement |
Doc Text: |
The *ipset* `comment` extension is now supported
Τhis update adds the *ipset* `comment` extension. Τhis enables you to add entries with a comment. For more information, see the *ipset (8)* man page.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2019-06-17 10:46:29 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: | |||
Bug Depends On: | 1557599 | ||
Bug Blocks: | 1709731 |
Description
martti.laaksonen
2017-09-28 16:20:41 UTC
What is the status of this? I'm having the exact same issue above with RHEL 7.4 and ipset v6.29 Jim, (In reply to Jim Roland, RHCE from comment #4) > What is the status of this? I'm having the exact same issue above with RHEL > 7.4 and ipset v6.29 This feature requires a substantial rework of the ipset kernel component which is currently being targeted for the RHEL 7.6 kernel. reproduce on 3.10.0-870.el7.x86_64: # ipset create foo hash:ip comment ipset v6.38: Argument `comment' is supported in the kernel module of the set type hash:ip starting from the revision 2 and you have installed revision 1 only. Your kernel is behind your ipset utility. verify on 3.10.0-894.el7.x86_64 ipset create foo hash:ip comment ipset add foo 192.168.1.1 comment "finally allow comment" ipset list Name: foo Type: hash:ip Revision: 4 Header: family inet hashsize 1024 maxelem 65536 comment Size in memory: 256 References: 0 Number of entries: 1 Members: 192.168.1.1 comment "finally I allow comment" With Fedora 28 kernel 4.17.14-202.fc28.x86_64 ipset v6.38, an error message appear but it seems to be correct. # ipset create foo hash:ip comment # ipset -L Name: foo Type: hash:ip Revision: 4 Header: family inet hashsize 1024 maxelem 65536 comment Size in memory: 88 References: 0 Number of entries: 0 Members: # ipset add foo 192.168.1.1/24 comment "My comment 1" ipset v6.38: Element cannot be added to the set: it's already added # ipset -L Name: foo Type: hash:ip Revision: 4 Header: family inet hashsize 1024 maxelem 65536 comment Size in memory: 213 References: 0 Number of entries: 1 Members: 192.168.1.1 comment "My comment 1" # ipset add foo 192.168.1.2/24 comment "My comment 2" ipset v6.38: Element cannot be added to the set: it's already added # ipset -L Name: foo Type: hash:ip Revision: 4 Header: family inet hashsize 1024 maxelem 65536 comment Size in memory: 338 References: 0 Number of entries: 2 Members: 192.168.1.1 comment "My comment 1" 192.168.1.2 comment "My comment 2" I am read your all article which you post for us. Thanks for giving an amazing post. https://tech-sujit.blogspot.com/ If you want a different search then go my website. Very great article. I read many articles on this blog but the information you give is very good and useful. https://krunkergame.co I visit this page regularly and recommend it to all of those who wanted to enhance their knowledge with ease. https://lolbeans-io.com According to the ipset man page, the comment extension was added in version 6.7 of ipset. Therefore, you may want to check if your system has a more recent version of ipset installed that supports the comment extension. https://fnf2.io/ It is possible that the chipset version in the system where you are experiencing the issue may not support the comment extension or there may be some configuration or installation issue. https://wordlewebsite.com Can try Version-Number ipset-6.29-1.el7.x86_64 https://driftboss.co Morning strolls in the fog, eating ice cream on the front porch, riding bikes, and afternoon excursions to towering cliffs with panoramic views of the Atlantic are just some of the simple joys that may be enjoyed here. https://phrazle.co |