duplicated IP addresses across nodes are not accepted, preventing to handle NAT
When I try to add host with and duplicated IP (some of our host are NATed (RFC1918))
and I would to manage host with duplicated IP address and unique UUID with rudder.
Updated by Christophe Nowicki about 6 years ago
François ARMAND wrote:
It could be an other instance of http://www.rudder-project.org/redmine/issues/3924
Does comments on that ticket seems to feet your use case ?
What do you check :
1/ The IP address is unique ?
2/ The IP address is in the allowed network range ?
In our case all the the hosts have and unique UUID and the same IP address.
Updated by François ARMAND about 6 years ago
The UUID is not taken into account here.
So, to answer your question, we are checking the uniqueness of the IP address. If you have two nodes with exactly the same IP, CFEngine server won't be able to know what is the hostname of the node. Or all your node also have the same hostname ? If that is the case, I'm pretty sure we don't support that use case for now, I will need the help of a more ops guy to help understand it.
Well, there is one case that I think we missed: in the case of relay server (each relay server can talk to a local net), it is completly legit to have two nodes with the same ip and different hostname. So we should check the uniquness of the couple (ip, policy server id).
Updated by Nicolas CHARLES about 6 years ago
i guess it's too big a change of behaviour to be changed in a stable version (we are basically moving from : you can't have twice the same ip, which is convenient if you duplicated VMs and don't check their IP configuration) to you can have twice the same IP
Not that relay server where introduced in 2.8, so there can't be cases in 2.6 when duplicate ip would make sense
Updated by Vincent MEMBRÉ about 6 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.10.0~beta1, which was released today.
The release announcement: http://www.rudder-project.org/pipermail/rudder-announce/2014-March/000084.html
The full ChangeLog: http://www.rudder-project.org/foswiki/bin/view/System/Documentation:ChangeLog210
Download information: https://www.rudder-project.org/site/get-rudder/downloads/