From 7eff416c2598fdd027a6355fbbf995890f73f618 Mon Sep 17 00:00:00 2001 From: Julian Sommer <115516918+juliansommer@users.noreply.github.com> Date: Wed, 19 Aug 2026 12:06:09 +1000 Subject: [PATCH] fix: collect IPsec and OVN datapath logs in the nightly e2e bundle The nightly collected only spinifex-* journal units, so a cross-chassis black-hole could not be attributed to IPsec SA establishment versus SB port binding. ovn-controller, ovn-northd and ovs-vswitchd log to files rather than journald, so they were absent from the bundle entirely. Adds the openvswitch-ipsec.service journal per node, mirroring e2e.yml, and pulls /var/log/ovn and /var/log/openvswitch off each node. --- .github/workflows/e2e-nightly.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/e2e-nightly.yml b/.github/workflows/e2e-nightly.yml index a6d440484..6c5327eea 100644 --- a/.github/workflows/e2e-nightly.yml +++ b/.github/workflows/e2e-nightly.yml @@ -342,6 +342,14 @@ jobs: | tar -C "${ARTIFACT_DIR}/vm-console-node${idx}" -xf - 2>/dev/null ssh "${SSH_OPTS[@]}" tf-user@${IP} 'sudo journalctl -u "spinifex-*" --no-pager --output=short-iso --since "60 min ago"' \ > "${ARTIFACT_DIR}/spinifex-journal-node${idx}.log" 2>/dev/null + ssh "${SSH_OPTS[@]}" tf-user@${IP} 'sudo journalctl -u openvswitch-ipsec.service --no-pager --output=short-iso --since "60 min ago"' \ + > "${ARTIFACT_DIR}/openvswitch-ipsec-node${idx}.log" 2>/dev/null + # ovn-controller and ovs-vswitchd log to files, never to journald: + # without these a cross-chassis black-hole cannot be attributed to + # IPsec versus SB port binding. + mkdir -p "${ARTIFACT_DIR}/ovs-logs-node${idx}" + ssh "${SSH_OPTS[@]}" tf-user@${IP} 'sudo tar -C /var/log -cf - ovn openvswitch 2>/dev/null || true' \ + | tar -C "${ARTIFACT_DIR}/ovs-logs-node${idx}" -xf - 2>/dev/null done cat "${ARTIFACT_DIR}"/spinifex-journal-node*.log \