-
Notifications
You must be signed in to change notification settings - Fork 369
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
E2E Test Case TestPodTrafficShaping
Failed on Photon 3
#1516
Comments
Token Bucket Filter (TBF) does not seem to be available in Photon OS: https://github.com/vmware/photon/blob/master/SPECS/linux/config-esx#L1310 However it is required by the bandwidth plugin: https://github.com/containernetworking/plugins/blob/ccd872bd7a834e0948758cc039a90721d817a8ed/plugins/meta/bandwidth/ifb_creator.go#L116 At the very least we should:
|
Maybe @ZhangYW18 could you do the following on one of the Photon Nodes:
|
@tnqn pointed out to me that the issue has already been reported to the Photon OS team. It seems that it is actually the So on the Antrea side, we indeed just need to include this information in the OS documentation and disable this test for Photon. |
OK, you can check the TEST_OS env variable to disable this test on Photon. It's valued
|
Egress traffic shaping is not supported because of a missing Kernel module (ifb), which is required by the bandwitdh CNI plugin. This change also updates TestPodTrafficShaping to skip the test if some of the required Kernel modules for traffic shaping are missing. Fixes antrea-io#1516
Egress traffic shaping is not supported because of a missing Kernel module (ifb), which is required by the bandwitdh CNI plugin. This change also updates TestPodTrafficShaping to skip the test if some of the required Kernel modules for traffic shaping are missing. Fixes #1516
@antoninbas do you know if the Photon OS have a plan to add the missing module? Or do we have some workaround? Could users add it manually? |
@inforly I believe the Photon team intends to enable IFB in the kernel, but it seems that it hasn't been done yet. Maybe you could reach out to them directly on Github? I am not Photon expert, but I believe you can modify the config file and build your own kernel. |
Got it, thank you very much! |
Matrix compatibility test job runs weekly, and the E2E test running under Photon 3 fails on
TestPodTrafficShaping
test case in recent two weeks:The text was updated successfully, but these errors were encountered: