From 040e5f2ce0cd41a716b4ccfc0333194cc8f8601e Mon Sep 17 00:00:00 2001 From: Julia Kreger Date: Tue, 28 Jul 2020 06:25:34 -0700 Subject: [PATCH] Log IPv6 configuration status for tinycore We're seeing some job failures with IPv6 when tinycore is getting pulled in for rackspace hosts. The underlying issue appears to be that we don't have an IPv6 route in the kernel. First step, get more data. Change-Id: I5b478893a2f114bdbeee53af5f44dc8139b02c52 --- tinyipa/build_files/bootlocal.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tinyipa/build_files/bootlocal.sh b/tinyipa/build_files/bootlocal.sh index b87297a..7b1a274 100755 --- a/tinyipa/build_files/bootlocal.sh +++ b/tinyipa/build_files/bootlocal.sh @@ -54,7 +54,14 @@ configure_dhcp_network() { /sbin/udhcpc -b -p ${pidfile} -i ${interface} -s /opt/udhcpc.script >> /var/log/udhcpc.log 2>&1 done echo "Completed DHCP client restart" - ip addr && true + echo "Outputting IP and Route information" + ip addr || true + ip route || true + ip -6 route || true + echo "Logging IPv4 sysctls" + sysctl -a |grep ipv4 || true + echo "Logging IPv6 sysctls" + sysctl -a |grep ipv6 || true } # Configure networking, use custom udhcpc script to handle MTU option