-
Notifications
You must be signed in to change notification settings - Fork 373
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
[IPsec] Apply a patch to upgrade Python2 code in ovs ovs-monitor-ipsec #1046
Conversation
Thanks for your PR. The following commands are available:
These commands can only be run by members of the vmware-tanzu organization. |
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.
Thanks for the patch. But 2 things:
- if you refer to a commit on your fork like this one, make sure you are never going to amend / remove that commit, or the reference will become invalid
- I do not believe we should consider IPsec functionality is broken #1043 "fixed" until we make sure that the e2e tests for IPsec can detect such issues in the future
Edit: I also left a review comment for your OVS PR (openvswitch/ovs#331) after taking a look at the patch.
f018031
to
cbb3243
Compare
Make sense. I updated the commit link. The new one is on the branch which is not going to merge. |
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.
Please rebase master, as I made changes to this file when I updated Antrea to use Ubuntu 20.04 and OVS 2.13.1. In particular the if version_get "$OVS_VERSION" "2.13.0"
statement is no longer needed and has been removed.
build/images/ovs/apply-patches.sh
Outdated
# OVS ovs-monitor-ipsec is Python2 code but others have upgraded to Python3. Before upstream updates, | ||
# here ovs-monitor-ipsec should be modified. |
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.
suggest this comment instead:
The OVS ovs-monitor-ipsec script has a Python3 shebang but still includes some Python2-specific code. Until the patch which fixes the script is merged upstream, we apply it here, or Antrea IPsec support will be broken.
It is a workaround before upstream/ovs code update in ovs-monitor-ipsec.
cbb3243
to
2438ecd
Compare
Thanks for your PR. The following commands are available:
|
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. Please ensure that the commit sha stays valid until this is merged upstream and we can pick up the patch from there. Also update #1043 to indicate that the issue with the ovs-monitor-ipsec daemon was fixed, but we still need to fix the e2e tests to catch issues with IPsec functionality.
/test-all |
It is a workaround before upstream/ovs code update in ovs-monitor-ipsec.
It is a workaround before upstream/ovs code update in ovs-monitor-ipsec.
It is a workaround before upstream/ovs code update in ovs-monitor-ipsec.