I'm on a devstack host with Octavia master. By running "openstack loadbalancer provider capability list amphora", I can see "compute_flavor" of type "flavor", so that I can specify a nova flavor in "--flavor-data" parameter when creating flavorprofile.

A full command line example: https://dpaste.com/4CB8GE2RN

---
Lingxian Kong
Senior Software Engineer
Catalyst Cloud


On Sun, Dec 6, 2020 at 8:23 AM Satish Patel <satish.txt@gmail.com> wrote:
Folks,

I am deployed Octavia and now trying to understand how does flavor
play there role using this guide
https://docs.openstack.org/octavia/latest/admin/flavors.html


In my octavia.conf i have statically defined nova flavor so when i
spin up LB it always use m1.amphora (UUID:
8651951f-e478-4efb-b298-cf3150d38472) which has 1vCPU/2GB memory.

# grep amp_flavor_id /etc/octavia/octavia.conf
amp_flavor_id = 8651951f-e478-4efb-b298-cf3150d38472

Question: how do I create or tell octavia to use multiple nova flavors
for example, I want 3 flavors

m1.amphora  - 1vCPU/2GB/20GB disk
m2.amphora  - 4vCPU/4GB/20GB disk
m3.amphora  - 8vCPU/8GB/40GB disk  (with HugePage and CPUpinning support)

I want my users to have the option to select whatever flavor they
like. how does that fit here?  I didn't find any document explaining
that feature to select your desired nova flavor. Did I miss something?