From bc3ab13ef7a43bf49d6dd044999e266e87258138 Mon Sep 17 00:00:00 2001 From: zhangzujian Date: Mon, 25 Jul 2022 16:29:27 +0800 Subject: [PATCH] avoid patch interface deletion & recreation during restart --- dist/images/Dockerfile.base | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dist/images/Dockerfile.base b/dist/images/Dockerfile.base index 6ff0e3d57f6..5616662c012 100644 --- a/dist/images/Dockerfile.base +++ b/dist/images/Dockerfile.base @@ -28,6 +28,8 @@ RUN dpkg -i /usr/src/python3-openvswitch*.deb /usr/src/libopenvswitch*.deb RUN cd /usr/src/ && git clone -b v22.03.1 --depth=1 https://github.com/ovn-org/ovn.git && \ cd ovn && \ + # avoid patch interface deletion & recreation during restart + curl -s https://github.com/kubeovn/ovn/commit/48c615300047adcda36535029b04ed30b69ca4c2.patch | git apply && \ # do not send traffic that not designate to svc to conntrack curl -s https://github.com/kubeovn/ovn/commit/d26ae4de0ab070f6b602688ba808c8963f69d5c4.patch | git apply && \ # change hash type from dp_hash to hash with field src_ip