[openstack-dev] [Fuel] Assigning VIPs on network config serialization

Roman Prykhodchenko me at romcheg.me
Fri Oct 16 14:25:26 UTC 2015


Hi folks!

I’ve been discussing several bugs [1-3] with some folks and noticed that they share the same root cause which is that network serialization fails, if there’s not enough IP addresses in all available ranges of one of the available networks to assign them to all VIPs. There are several possible solutions for this issue:

a. Not assign addresses to VIPs is a network configuration is being serialized for API output.
A lot of external tools and modules, i. e., OSTF, rely on that information so this relatively small change in Nailgun will require big cross-components changes. Therefore this change can only be done as a feature but it seems to be the way this issue must be fixed.

b. Leave some VIPs without IP addresses
If network configuration is generated for API output it is possible to leave some VIPs without IP addresses assigned. This will only create more mess around Nailgun and bring more issues that it will resolve.

c. Check number of IP addresses wherever it is possible to "spoil" network configuration: when a role get’s assigned to a node, when network changes or network templates are applied.


The proposal is to follow [c] as a fast solution and file a blueprint for [a]. Opinions?


1 https://bugs.launchpad.net/fuel/+bug/1487996
2 https://bugs.launchpad.net/fuel/+bug/1500394
3 https://bugs.launchpad.net/fuel/+bug/1504572


- romcheg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20151016/8e684a6f/attachment.pgp>


More information about the OpenStack-dev mailing list