aboutsummaryrefslogtreecommitdiff
path: root/tests/get_logs.sh
diff options
context:
space:
mode:
authorMark Goddard <mark@stackhpc.com>2019-07-13 10:45:18 +0100
committerRadosław Piliszek <radoslaw.piliszek@gmail.com>2019-09-19 11:07:02 +0200
commit8e40629161a329a22022d38b3cb48dea66121b36 (patch)
tree741bdc37b61894bcceba437b769b66b0e8d2dc56 /tests/get_logs.sh
parente2f511b7d9991b3b402ebd802a8f218e99077d18 (diff)
downloadkolla-ansible-8e40629161a329a22022d38b3cb48dea66121b36.tar.gz
kolla-ansible-8e40629161a329a22022d38b3cb48dea66121b36.zip
CI: Use VXLAN overlay network
VXLAN is necessary to run HA in CI (due to floating VIP address handled by keepalived). It also turned out to be required to have private IPv6 address assignments. This patch is based on linux bridge rather than OVS to avoid problems with OVS deployed in containers. This patch enables haproxy in multinode jobs. Includes saving of linux networking details. Makes DASHBOARD_URL agree with OS_AUTH_URL - properly uses the pre-upgrade value for testing. Co-authored-by: Radosław Piliszek <radoslaw.piliszek@gmail.com> Depends-on: https://review.opendev.org/683068 Depends-on: https://review.opendev.org/682957 Change-Id: I66888712da80c3d6f84ee4949762961664d3adea
Diffstat (limited to 'tests/get_logs.sh')
-rw-r--r--tests/get_logs.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/get_logs.sh b/tests/get_logs.sh
index f0cc7f500..7a5f6441d 100644
--- a/tests/get_logs.sh
+++ b/tests/get_logs.sh
@@ -30,6 +30,26 @@ copy_logs() {
mount > ${LOG_DIR}/system_logs/mount.txt
env > ${LOG_DIR}/system_logs/env.txt
+ (set -x
+ ip a
+ ip l
+ ip r
+ ping -c 4 ${KOLLA_INTERNAL_VIP_ADDRESS}) &> ${LOG_DIR}/system_logs/ip.txt
+
+ (set -x
+ iptables -t raw -v -n -L
+ iptables -t mangle -v -n -L
+ iptables -t nat -v -n -L
+ iptables -t filter -v -n -L) &> ${LOG_DIR}/system_logs/iptables.txt
+
+ (set -x
+ ip6tables -t raw -v -n -L
+ ip6tables -t mangle -v -n -L
+ ip6tables -t nat -v -n -L
+ ip6tables -t filter -v -n -L) &> ${LOG_DIR}/system_logs/ip6tables.txt
+
+ ss -putona > ${LOG_DIR}/system_logs/ss.txt
+
if [ `command -v dpkg` ]; then
dpkg -l > ${LOG_DIR}/system_logs/dpkg-l.txt
fi