File tree 1 file changed +6
-0
lines changed
tests/e2e/scenarios/bare-metal 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -54,8 +54,14 @@ for vm in 0 1 2; do
54
54
scp -o StrictHostKeyChecking=accept-new -i ${REPO_ROOT} /.build/.ssh/id_ed25519 root@${ip} :/var/log/etcd* ${ARTIFACTS} /vms/${vm_name} /logs/ || true
55
55
scp -o StrictHostKeyChecking=accept-new -i ${REPO_ROOT} /.build/.ssh/id_ed25519 root@${ip} :/var/log/kube* ${ARTIFACTS} /vms/${vm_name} /logs/ || true
56
56
scp -o StrictHostKeyChecking=accept-new -i ${REPO_ROOT} /.build/.ssh/id_ed25519 root@${ip} :/etc/kubernetes/manifests/* ${ARTIFACTS} /vms/${vm_name} /manifests/ || true
57
+
57
58
ssh -o StrictHostKeyChecking=accept-new -i ${REPO_ROOT} /.build/.ssh/id_ed25519 root@${ip} journalctl --no-pager -u kubelet 2>&1 > ${ARTIFACTS} /vms/${vm_name} /logs/kubelet.service || true
58
59
ssh -o StrictHostKeyChecking=accept-new -i ${REPO_ROOT} /.build/.ssh/id_ed25519 root@${ip} journalctl --no-pager -u kops-configuration 2>&1 > ${ARTIFACTS} /vms/${vm_name} /logs/kops-configuration.service || true
60
+
61
+ ssh -o StrictHostKeyChecking=accept-new -i ${REPO_ROOT} /.build/.ssh/id_ed25519 root@${ip} ip route 2>&1 > ${ARTIFACTS} /vms/${vm_name} /ip-route || true
62
+ ssh -o StrictHostKeyChecking=accept-new -i ${REPO_ROOT} /.build/.ssh/id_ed25519 root@${ip} ip addr 2>&1 > ${ARTIFACTS} /vms/${vm_name} /ip-addr || true
63
+ ssh -o StrictHostKeyChecking=accept-new -i ${REPO_ROOT} /.build/.ssh/id_ed25519 root@${ip} iptables --list-rules 2>&1 > ${ARTIFACTS} /vms/${vm_name} /iptables-rules || true
64
+ ssh -o StrictHostKeyChecking=accept-new -i ${REPO_ROOT} /.build/.ssh/id_ed25519 root@${ip} iptables -t nat --list-rules 2>&1 > ${ARTIFACTS} /vms/${vm_name} /iptables-nat-rules || true
59
65
done
60
66
61
67
# Dump the pod logs for all the pods in system namespaces
You can’t perform that action at this time.
0 commit comments