launch-node.py: restart interface
RAX nodes are exhibiting new behaviour of having ipv6 configured but not active. Restart eth0 to pick up the address in /etc/network/interfaces so the ping6's work Change-Id: I6b60bde34cc28ca60c5cbbb41de02cd89354cc32
This commit is contained in:
parent
58b4e4cdce
commit
4ed43d2754
@ -88,6 +88,10 @@ def bootstrap_server(server, key, name, volume_device, keep,
|
||||
|
||||
ssh_client = utils.ssh_connect(ip, 'root', ssh_kwargs, timeout=600)
|
||||
|
||||
# Something up with RAX images that they have the ipv6 interface in
|
||||
# /etc/network/interfaces but eth0 hasn't noticed yet; reload it
|
||||
ssh_client.ssh('ifdown eth0 && ifup eth0')
|
||||
|
||||
if server.public_v6:
|
||||
ssh_client.ssh('ping6 -c5 -Q 0x10 review.openstack.org '
|
||||
'|| ping6 -c5 -Q 0x10 wiki.openstack.org')
|
||||
|
Loading…
x
Reference in New Issue
Block a user