From 2207f45d9d50612ced8e75e8a3e8979597f30d85 Mon Sep 17 00:00:00 2001 From: Jeff Peeler Date: Mon, 13 Jul 2015 13:40:22 -0400 Subject: [PATCH] Disable ipv6 in gate Saw the error below in gerrit logs: "Failed to connect to 2610:28:3090:3001:5054:ff:feb9:6ae0: Network is unreachable" when trying to access fedorapeople.org. Change-Id: I96603948560bc7ea259235cf3b304b2e64ceb5ab --- tests/setup_gate.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/setup_gate.sh b/tests/setup_gate.sh index 43b4e41b85..9bb7b5f95e 100755 --- a/tests/setup_gate.sh +++ b/tests/setup_gate.sh @@ -11,4 +11,8 @@ group_str="jenkins ALL=(:dockerroot) NOPASSWD: ALL" sudo grep -x "$group_str" /etc/sudoers > /dev/null || sudo bash -c "echo \"$group_str\" >> /etc/sudoers" sudo chown root:dockerroot /var/run/docker.sock +# disable ipv6 until we're sure routes to fedora mirrors work properly +sudo sh -c 'echo "net.ipv6.conf.all.disable_ipv6 = 1" >> /etc/sysctl.conf' +sudo /usr/sbin/sysctl -p + echo "Completed $0."