Skip to content

Commit 132660e

Browse files
authored
base: remove ovn patch for skipping ct (#3140)
* base: remove ovn patch for skipping ct * ci: increase k8s network policy e2e timeout --------- Signed-off-by: 张祖建 <zhangzujian.7@gmail.com>
1 parent 6177d38 commit 132660e

File tree

3 files changed

+3
-12
lines changed

3 files changed

+3
-12
lines changed

.github/workflows/build-x86-image.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ jobs:
414414
- build-e2e-binaries
415415
- netpol-path-filter
416416
runs-on: ubuntu-22.04
417-
timeout-minutes: 60
417+
timeout-minutes: 90
418418
strategy:
419419
fail-fast: false
420420
matrix:
@@ -560,7 +560,7 @@ jobs:
560560
- build-e2e-binaries
561561
- netpol-path-filter
562562
runs-on: ubuntu-22.04
563-
timeout-minutes: 60
563+
timeout-minutes: 90
564564
strategy:
565565
fail-fast: false
566566
matrix:

dist/images/Dockerfile.base

+1-3
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ RUN cd /usr/src/ && git clone -b branch-22.03 --depth=1 https://github.com/ovn-o
5050
curl -s https://github.com/kubeovn/ovn/commit/54c478d38ec31c900d54d29c557bf414f5194baf.patch | git apply && \
5151
# patch.c: Avoid patch interface deletion & recreation during restart.
5252
curl -s https://github.com/kubeovn/ovn/commit/03a46942b9e14d77a23313c193fe062ccafa4769.patch | git apply && \
53-
# do not send traffic that not designate to svc to conntrack
54-
curl -s https://github.com/kubeovn/ovn/commit/44ee74998edfd85a40d4920045ae4c39e2ceff6e.patch | git apply && \
5553
# change hash type from dp_hash to hash with field src_ip
5654
curl -s https://github.com/kubeovn/ovn/commit/168a3f20579b720370f137c82c04cf3b1a9811e2.patch | git apply && \
5755
# set ether dst addr for dnat on logical switch
@@ -125,7 +123,7 @@ RUN --mount=type=bind,target=/packages,from=ovs-builder,source=/packages \
125123
ARG DEBUG=false
126124
RUN --mount=type=bind,target=/packages,from=ovs-builder,source=/packages \
127125
if [ "${DEBUG}" = "true" ]; then \
128-
apt update && apt install -y --no-install-recommends valgrind && \
126+
apt update && apt install -y --no-install-recommends gdb valgrind && \
129127
rm -rf /var/lib/apt/lists/* && \
130128
dpkg -i --ignore-depends=openvswitch-switch,openvswitch-common /packages/*.ddeb; \
131129
fi

pkg/controller/init.go

-7
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,6 @@ func (c *Controller) InitOVN() error {
3030
klog.Errorf("init load balancer failed: %v", err)
3131
return err
3232
}
33-
v4Svc, _ := util.SplitStringIP(c.config.ServiceClusterIPRange)
34-
if v4Svc != "" {
35-
if err := c.ovnLegacyClient.SetLBCIDR(v4Svc); err != nil {
36-
klog.Errorf("init load balancer svc cidr failed: %v", err)
37-
return err
38-
}
39-
}
4033
}
4134

4235
if err := c.initDefaultVlan(); err != nil {

0 commit comments

Comments
 (0)