Status: New
Owner: ----
New issue 595 by [email protected]: SSH does not respect preferred ip
family
http://code.google.com/p/ganeti/issues/detail?id=595
What software version are you running? Please provide the output of "gnt-
cluster --version" and "gnt-cluster version".
# gnt-cluster --version
gnt-cluster (ganeti v2.8.0) 2.8.0
# gnt-cluster version
Software version: 2.8.0
Internode protocol: 2080000
Configuration format: 2080000
OS api version: 20
Export interface: 0
VCS version: v2.8.0
What distribution are you using?
Debian GNU/Linux 7.1
What steps will reproduce the problem?
1. gnt-cluster init --primary-ip-version 4 <other options> <cluster_name>
2. gnt-node add example_node
Now, if master_node & example_node both have ipv6 enabled, an ipv6 ssh
connection is attempted first.
In case example_node has a restrictive firewall limiting ssh access to ipv4
ssh connections (because we configured the cluster to use only ipv4), these
connections will have to timeout before ssh tries the ipv4 name.
So, it would be nice, if the ssh command used '-4' in case of
primary-ip-version 4, same as in ipv6 mode using '-6', to avoid such
timeouts.
The attached 2-line patch against master, seems to solve this situation, at
least for us.
Thanks!
Attachments:
0001-Don-t-attemp-ipv6-ssh-in-case-of-ipv4-cluster.patch 710 bytes
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings