From aeb0fae83bc618068cd171a129c932b3e2a61226 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Thu, 18 Jul 2013 18:51:14 +0000 Subject: [PATCH] Test for IPv6 DSCP related issues. * launch/launch-node.py: Sometimes we get a broken server from a provider, probably actually a broken compute node behind the scenes, which fails to send IPv6 packets with a DSCP > 3. Test that we can send DSCP 0x10 packets to at least one IPv6-connected host and get a response, or else discard the server. Change-Id: I379589d74f9e5892e3fda85bd267567038b6c2c9 --- launch/launch-node.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/launch/launch-node.py b/launch/launch-node.py index efd23325c0..5e32625c39 100755 --- a/launch/launch-node.py +++ b/launch/launch-node.py @@ -79,6 +79,9 @@ def bootstrap_server(server, admin_pass, key, cert, environment, name, ssh_client = utils.ssh_connect(ip, 'root', ssh_kwargs, timeout=600) + ssh_client.ssh('ping6 -c5 -Q 0x10 review.openstack.org ' + '|| ping6 -c5 -Q 0x10 wiki.openstack.org') + ssh_client.scp(os.path.join(SCRIPT_DIR, '..', 'install_puppet.sh'), 'install_puppet.sh') ssh_client.ssh('bash -x install_puppet.sh')