Closed dougsland closed 1 week ago
cc @Yarboa @pbrilla-rh
@dougsland Can we close this issue due to Jira-19564? The code was merged https://github.com/nsednev/qm/blob/main/tests/ffi/tcp_max_syn_backlog/test.sh
@dougsland Can we close this issue due to Jira-19564? The code was merged https://github.com/nsednev/qm/blob/main/tests/ffi/tcp_max_syn_backlog/test.sh
@nsednev correct, let's close it. Thanks for your patch!
Related to #408
Please note this issue is SIMILAR but NOT equal of #370. The ticket 370 is about execute the sysctl inside a nested container environment and this one is about to execute the tests inside the QM partition. We need to test both scenarios to cover Risk Assessments cases.
Step 1 - Build and run the CentOS Auto VM.
Step 2 - Set SSH to be able to login into the VM and use as SECOND terminal
Step 3 - Execute the tests.
Lets start with some bash kung-fu to generate random numbers to be used in the tests
Execute these commands in the QM side (the numbers should keep changing randomly, as expected):
net.ipv4.tcp_max_syn_backlog = 219 <-- changed to 219 in the QM partition
net.ipv4.tcp_max_syn_backlog = 167 <-- changed to 167 in the QM partition
net.ipv4.tcp_max_syn_backlog = 812 <-- changed to 812 in the QM partition
In another window, keep executing in the HOST the same command to see if the the value has changed (it should NOT change):
net.ipv4.tcp_max_syn_backlog = 128 <-- kept 128 in the host
net.ipv4.tcp_max_syn_backlog = 128 <-- kept 128 in the host
net.ipv4.tcp_max_syn_backlog = 128 <-- kept 128 in the host
Done!
There is another way of double check this (as learned from @rhatdan), see if the namespace id for net is different from the HOST and QM (it should be different).
HOST
QM