-
Notifications
You must be signed in to change notification settings - Fork 457
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
(MODULES-6136) Add zone property of CT target. #852
Conversation
|
Thanks for submitting the PR @rwf14f . |
| @@ -220,6 +220,8 @@ installed. | |||
|
|
|||
| * ipvs: The ability to match IP Virtual Server packets. | |||
|
|
|||
| * ct_target: The ability to set connection tracking parameters for a packet or its associated connection. | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can remove the updates to the REFERENCE.md file.
Puppet stringify feature will add the updates to the file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've used puppet stringify to update the file, but if you want I can revert the change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thats great.Thank you.
|
@rwf14f Could you please rebase with the latest changes from master. So I can run the acceptance tests too. Thank you. |
Adds support for zone property of CT target.
fc79342
to
b406229
Compare
|
The testcases are failing on redhat6 platform.Could you please check the failures. |
|
That could be a problem. I believe the conntrack zones were introduced in kernel 2.6.34, Redhat 6 is still using 2.6.32 which makes this a feature which wouldn't be available on Redhat 6. Does the firewall module have a mechanism to exclude certain features for specific OS / kernel versions ? |
|
Hello @rwf14f , You can skip those specific tests from execution on redhat6. As an example, you can check firewall_attributes_ipv6_happy_path_spec. Please let us know if you need any help! Cheers! |
|
If I read firewall_attributes_ipv6_happy_path_spec correctly, this disables all IPv6 tests on RH5/6 and SLES. I don't think doing this for the IPv4 tests as well is a good idea, so I've separated the zone tests into its own describe block. As this is not covered by the standard travis tests, can you please run your full acceptance test suite to see if this works ? |
|
@rwf14f Sure.Ran the full test suite.And its failing on the following two OS Oracle7-64 and SLES 11-64,with the following error |
|
Can you send me the os facts for those OS (full hash please) ? |
|
@rwf14f Sure
|
|
The latest changes should prevent the CT target tests to run on Oracle and Suse Linux. |
|
@rwf14f It shows the same failure. Hopefully, that will work. Thank you. Could you please try the following variable host_inventory['facter']['os']['name'] |
|
I've updated the tests, I'm a bit puzzled about SLES though. According to the facts in #852 (comment), the family is Suse and the name is SLES, but all the tests use sles as family and in #852 (comment) Suse is used as name. Can you run the test suite again ? |
| @rwf14f All good.The test suites are running clean.Thank you for submitting the PR. |

Adds support for zone property of the CT target.