-
Notifications
You must be signed in to change notification settings - Fork 386
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
Fix strongSwan logging configuration #1184
Conversation
strongSwan logging configuration is reported as invalid in some OSes (e.g Ubuntu 16.04) when starting the strongSwan services. It is probably due to the strongSwan version change after the Antea Docker image is updated to use Ubuntu 20.04. This commit fixes the strongSwan logging configuration.
Thanks for your PR. The following commands are available:
|
Codecov Report
@@ Coverage Diff @@
## master #1184 +/- ##
==========================================
- Coverage 56.10% 56.02% -0.08%
==========================================
Files 106 106
Lines 11535 11535
==========================================
- Hits 6472 6463 -9
- Misses 4496 4502 +6
- Partials 567 570 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
LGTM
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.
so this format works in earlier releases too?
I think it is not about Antrea release, but strongSwan version used in our image, depended on the Ubuntu version. |
I did not try, but I remember not (must be the reason I used the previous format). |
Should only depend on the Ubuntu version we use to build the Antrea Docker image. But the person who reported the issue mentioned it only happened for certain Node configurations... |
Right. But I do not understand why our CI e2e tests passed with no failure. Do you have an idea? |
Ok I guess might be the IPsec services failed to start, but traffic goes through without IPsec. Let me think about how to check this. |
We know that IPsec coverage is broken: #1043. The |
@jianjuns My guess is this needs to be changed: https://github.com/vmware-tanzu/antrea/blob/88a8df32b482ae27252bdee3a1496a34cbcf5b0d/test/e2e/connectivity_test.go#L211-L214. I think it returns immediately because it thinks all Pods are ready, but it must be looking at pre-update Pods, and it does not realize the new Pods are crashing. |
You mean to check IPsec started correctly or not, or a better solution for Python3? I can look at the former. |
/skip-all |
We need a generic solution to make sure that the Antrea Agent Pods run correctly after the update to enable IPsec. Currently we do:
Apparently this is not enough to detect this case where the Pod crashes after a few seconds, so we need to improve it. We don't use the |
Seems to me we can either check the container status, or run IPsec command inside the antrea-ipsec container. |
I think the solution does not have to be tied to IPsec (or should not). So yes, maybe the solution is to spin for a couple seconds and make sure the Pods stay ready. |
@jianjuns , I found this issue yesterday as well. I changed |
@antoninbas , I have some ipv6 e2e test failure to solve. It is great if you can help on it. Thank you! |
@lzhecheng : this PR is to fix the ovs.conf error: #1191 |
strongSwan logging configuration is reported as invalid in some OSes (e.g Ubuntu 16.04) when starting the strongSwan services. It is probably due to the strongSwan version change after the Antea Docker image is updated to use Ubuntu 20.04. This commit fixes the strongSwan logging configuration.
strongSwan logging configuration is reported as invalid in some OSes (e.g Ubuntu 16.04) when starting the strongSwan services. It is probably due to the strongSwan version change after the Antea Docker image is updated to use Ubuntu 20.04. This commit fixes the strongSwan logging configuration.
strongSwan logging configuration is reported as invalid in some OSes (e.g Ubuntu 16.04) when starting the strongSwan services. It is probably due to the strongSwan version change after the Antea Docker image is updated to use Ubuntu 20.04. This commit fixes the strongSwan logging configuration.
strongSwan logging configuration is reported as invalid in some OSes (e.g Ubuntu 16.04) when starting the strongSwan services. It is probably due to the strongSwan version change after the Antea Docker image is updated to use Ubuntu 20.04. This commit fixes the strongSwan logging configuration.
strongSwan logging configuration is reported as invalid in some OSes (e.g Ubuntu 16.04) when starting the strongSwan services. It is probably due to the strongSwan version change after the Antea Docker image is updated to use Ubuntu 20.04. This commit fixes the strongSwan logging configuration.
strongSwan logging configuration is reported as invalid in some OSes
(e.g Ubuntu 16.04) when starting the strongSwan services. It is probably
due to the strongSwan version change after the Antea Docker image is
updated to use Ubuntu 20.04. This commit fixes the strongSwan logging
configuration.