From 5ff4db6ffea2ee464b2be1a0f2d8a735e8f31d12 Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Thu, 4 Apr 2024 01:15:53 +0900 Subject: [PATCH] Debug Signed-off-by: Akihiro Suda --- .github/workflows/main.yaml | 12 ++++++++++++ docker-compose.yaml | 1 + 2 files changed, 13 insertions(+) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 0153f22..11c011a 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -58,6 +58,18 @@ jobs: make up sleep 30 ./hack/test-smoke.sh + - name: "Debug" + if: failure() + run: | + podman exec usernetes_node_1 journalctl --since="1 day ago" + - name: "Debug 2" + if: failure() + run: | + podman exec usernetes_node_1 sh -euxc "tail -n 1000 /var/log/containers/kube-apiserver-*" + - name: "Debug 3" + if: failure() + run: | + podman exec usernetes_node_1 sh -euxc "tail -n 1000 /var/log/containers/etcd*" multi-node: name: "Multi node (emulated using LXD)" diff --git a/docker-compose.yaml b/docker-compose.yaml index 2152813..52ef9e4 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -33,6 +33,7 @@ services: U7S_HOST_IP: ${U7S_HOST_IP} sysctls: - net.ipv4.ip_forward=1 + - net.ipv4.tcp_tw_reuse=1 # In addition, `net.ipv4.conf.default.rp_filter` # has to be set to 0 (disabled) or 2 (loose) # in the daemon's network namespace.