Imagine that two colleagues, Alice and Bob, issue a command to
launch a new virtual machine at approximately the same moment in
time. Both Alice’s and Bob’s virtual machines must be given an IP
address within the range of IP addresses granted to their
project. Let’s say that range is 192.168.20.0/28,
which would allow for a total of 16 IP addresses for virtual
machines [1]. At some point during the launch sequence of
these instances, Nova must assign one of those addresses to each
virtual machine.
How do we prevent Nova from assigning the same IP address to both virtual machines?
In this blog post, I’ll try to answer the above question and shed some light on issues that have come to light about the way in which OpenStack projects currently solve (and sometimes fail) to address this issue.
Demonstrating the …
[Read more]