Bug 1832148

Summary: [RFE][Octavia] Add a new flavor capability to the Amphora provider so it's posible to choose a specific nova-flavor
Product: Red Hat OpenStack Reporter: Mikel Olasagasti <molasaga>
Component: openstack-octaviaAssignee: Gregory Thiemonge <gthiemon>
Status: ASSIGNED --- QA Contact: Bruna Bonguardo <bbonguar>
Severity: high Docs Contact:
Priority: medium    
Version: 16.1 (Train)CC: beagles, cgoncalves, gthiemon, lpeer, majopela, scohen
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1381612    

Description Mikel Olasagasti 2020-05-06 08:06:58 UTC
For the Octavia Amphora provider, at present, it only supports "loadbalancer_topology" (SINGLE or ACTIVE_STANDBY). Would it be possible to add more flavor capabilities?, in this case the request is to add the capability were by we could select a specific nova-flavor.

Some use cases for this feature:

- If 90% of your Octavia LBs handle very little traffic, the could use a normal/small nova flavor, but the other 10% that handle lots of traffic and would need more resources, could use a nova flavor with higher CPU/RAM specs.

- In some cases OSP is using Host Aggregates via nova flavors, for example Prod and Prepro and for segregation reasons you need to run the LB for each environment in the same hypervisors(HA) as their pool members.

- If you had a case were you would like to deploy a small set of your loadbalancers with a specific configuration for example CPU-pinning, SR-IOV or DPDK for performance reasons, you would also make use of host aggregates and other flavor properties(mem_page_size, cpu_policy, etc).

Comment 1 Gregory Thiemonge 2020-05-06 14:22:28 UTC
Feature already implemented in upstream octavia, but tempest tests are needed for full support.