The global amount of Octavia loadbalancers is constrained by the size of lb-mgmt-subnet

Bug #1770956 reported by Nir Magnezi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Nir Magnezi

Bug Description

Description of problem:
=======================
Octavia creates Amphorae (service VMs) under an operator configured project (tenant). In TripleO, we currently use 'service' project by default.
Each Amphora instance has its own tap device in a shared management subnet named lb-mgmt-subnet. That subnet is concealed under the 'service' project and cannot be accessed by non-privileged users.

TripleO creates that subnet during the Octavia deployment process. Currently, it is created as a class B subnet with allocation_pools that essentially limit the number of address in that subnet to 150.
Which means, globally for a given OpenStack deployment:
- 150 Amphorae ==> 150 Loadbalancers if the Amphora topology is SINGLE
- 150 Amphorae ==> 75 Loadbalancers if the Amphora topology is ACTIVE_STANDBY

Here's how it currently looks (snipped):

+-------------------+--------------------------------------+
| Field | Value |
+-------------------+--------------------------------------+
| allocation_pools | 192.168.199.50-192.168.199.200 |
| cidr | 192.168.199.0/24 |
| created_at | 2018-05-07T09:14:36Z |
| enable_dhcp | True |
| gateway_ip | 192.168.199.1 |
| ip_version | 4 |
| name | lb-mgmt-subnet |
+-------------------+--------------------------------------+

Version-Release number of selected component (if applicable):
=============================================================
OSP13 2018-05-10.3 openstack-tripleo-common-8.6.1-9

How reproducible:
=================
100%

Steps to Reproduce:
1. Deploy OpenStack with Octavia via TripleO
2.
3.

Actual results:
===============
As mentioned above.

Expected results:
=================
We should have a much larger subnet such as class B, so the global amount of Octavia loadbalancers won't constrained to a very low number.

Revision history for this message
Nir Magnezi (nmagnezi) wrote :
Revision history for this message
Nir Magnezi (nmagnezi) wrote :

Minor correction to the 'Description of problem': class C instead of class B.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (master)

Fix proposed to branch: master
Review: https://review.openstack.org/568089

Changed in tripleo:
assignee: nobody → Nir Magnezi (nmagnezi)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

Fix proposed to branch: master
Review: https://review.openstack.org/568138

Changed in tripleo:
milestone: none → rocky-2
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-heat-templates (master)

Change abandoned by Nir Magnezi (<email address hidden>) on branch: master
Review: https://review.openstack.org/568138

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/568138
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=5a28efc27da47782a10c5ba8450ee0e90527d908
Submitter: Zuul
Branch: master

commit 5a28efc27da47782a10c5ba8450ee0e90527d908
Author: Nir Magnezi <email address hidden>
Date: Sun May 13 22:21:47 2018 +0300

    Make lb-mgmt-subnet a class B subnet

    TripleO creates that subnet during the Octavia deployment process.
    Currently, it is created as a class C subnet with allocation_pools
    that essentially limit the number of address in that subnet to 150.

    This patch enhances the lb-mgmt-subnet to be class B so the global
    amount of Octavia loadbalancers won't be constrained to a very low
    number.

    Related-Bug: #1770956

    Change-Id: I3465dd9e2f95983a3f3a5dcd85f50781044fd6ec

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (master)

Reviewed: https://review.openstack.org/568089
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=aa226f970bfff360471f070ab151ce820735efcd
Submitter: Zuul
Branch: master

commit aa226f970bfff360471f070ab151ce820735efcd
Author: Nir Magnezi <email address hidden>
Date: Sun May 13 16:34:44 2018 +0300

    Make lb-mgmt-subnet a class B subnet

    TripleO creates that subnet during the Octavia deployment process.
    Currently, it is created as a class C subnet with allocation_pools
    that essentially limit the number of address in that subnet to 150.

    This patch enhances the lb-mgmt-subnet to be class B so the global
    amount of Octavia loadbalancers won't be constrained to a very low
    number.

    Closes-Bug: #1770956

    Depends-On: I3465dd9e2f95983a3f3a5dcd85f50781044fd6ec
    Change-Id: I41b98f7782f055533bf7dd61e2d73ded2829c895

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-common 9.1.0

This issue was fixed in the openstack/tripleo-common 9.1.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.