Browse Source

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
changes/36/743536/1
Julia Kreger 1 week ago
parent
commit
040e5f2ce0
1 changed files with 8 additions and 1 deletions
  1. +8
    -1
      tinyipa/build_files/bootlocal.sh

+ 8
- 1
tinyipa/build_files/bootlocal.sh View File

@@ -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


Loading…
Cancel
Save