-
Notifications
You must be signed in to change notification settings - Fork 670
default iprange clashes with DigitalOcean Private Networking #1036
Comments
Yes, it looks like the |
I have just created an instance in their London DC 1 and it came up on |
In the default New York DC 3 I get |
So it looks like 10.192.0.0/10 would work. |
So I've been pondering how to make such a change backward compatible. I reckon the best we can sensibly do (that is proportional to the issue), is to stick an advisory in the release notes telling users of the current default iprange that want to perform a rolling upgrade that they should specify the old range explicitly. They can roll out that change prior to the upgrade if they wish. And eventually, at an opportune time for a stop-the-world upgrade, they can remove the option again and thus switch to using the new default range. |
Agree this will work for users who are affected. |
As predicted, we learned that 10.192/10 clashes with GCE. We could, in the initial consensus stage, collect conflicting ranges from all hosts, then pick a range for IPAM that doesn't conflict with anyone we have heard from. This would not help the "add more hosts slowly" case. |
We'd need something more than basic paxos for this, wouldn't we? |
What's the 'picking' algorithm? Say that no private IP ranges are used by any of the nodes. Which IP range would we pick for IPAM? Seems to me that we'd still need a default IP allocation range :) And we should still choose that based on its (un)likeliness of clashing with ranges used by popular platforms/systems, to give us a fighting chance of coping with the 'add more hosts' case. |
If we union the information, it is not necessary to have any consensus. We will have heard from a quorum of peers and we can choose a range based on that information. The default, in the absence of conflicts, would be as shipped in 1.0, for backward compatibility. |
I don't think backward compatibility is a major concern here. As I noted above, we should still choose a range that is unlikely to clash, so that adding more hosts has a good chance of succeeding. |
Do we have any proposals on the table how to identify that range? |
Trial and error. |
Change default IP allocation range from 10.128/10 to 10.32/12 Closes #1036.
A user ran into
Further investigation by them revealed that
If confirmed then we may want to consider changing the default iprange to avoid this clash.
That unfortunately is a backward incompatible change. sigh
The text was updated successfully, but these errors were encountered: