Description of problem: Amphora load balancers fail to create. The LB goes into ERROR. Checking the logs, it becomes clear that the reason is because the Nova flavor could not be found. 2019-05-23 10:12:12.525 19 WARNING octavia.controller.worker.controller_worker [-] Task 'octavia.controller.worker.tasks.lifecycle_tasks.LoadBalancerIDToErrorOnRevertTask' (72156771-1d27-4217-b5be-953aa3b34a33) transitioned into state 'REVERTED' from state 'REVERTING' with result 'None' 2019-05-23 10:12:12.529 19 WARNING octavia.controller.worker.controller_worker [-] Flow 'octavia-create-loadbalancer-flow' (3d91abe4-cf4b-47c5-b052-2a2bd0a48db0) transitioned into state 'REVERTED' from state 'RUNNING' 2019-05-23 10:12:12.530 19 ERROR oslo_messaging.rpc.server [-] Exception during message handling: octavia.common.exceptions.ComputeBuildException: Failed to build compute instance due to: Flavor 65 could not be found. (HTTP 400) (Request-ID: req-484a0ca8-82a0-4b2a-b58c-ed6425924823) Version-Release number of selected component (if applicable): RHOS_TRUNK-15.0-RHEL-8-20190520.n.2 How reproducible: 100% Steps to Reproduce: 1. Deploy OSP 15 with Octavia enabled 2. Create load balancer (provider: amphora) Actual results: Load balancer fails to create and goes into provisioning_status ERROR Expected results: Load balancer should have been created successfully.
Load Balancer created successfully. Verification steps: (overcloud) [stack@undercloud-0 ~]$ cat /etc/yum.repos.d/latest-installed 15-trunk -p RHOS_TRUNK-15.0-RHEL-8-20190725.n.1 (overcloud) [stack@undercloud-0 ~]$ rpm -qa | grep octavia octavia-amphora-image-x86_64-15.0-20190724.1.el8ost.noarch puppet-octavia-14.4.1-0.20190710190429.381f1a3.el8ost.noarch python3-octaviaclient-1.8.1-0.20190617070400.f3bb183.el8ost.noarch (tester) [stack@undercloud-0 ~]$ openstack loadbalancer create --name LB --vip-subnet-id f27959b1-bca7-4bd7-9ca7-7d1d683f8d98 +---------------------+--------------------------------------+ | Field | Value | +---------------------+--------------------------------------+ | admin_state_up | True | | created_at | 2019-07-29T09:35:54 | | description | | | flavor_id | None | | id | 062f92a1-96eb-4d72-9ac0-188824ead115 | | listeners | | | name | LB | | operating_status | OFFLINE | | pools | | | project_id | 2c6fa8d008cf40d18dc177797d735bd5 | | provider | amphora | | provisioning_status | PENDING_CREATE | | updated_at | None | | vip_address | 10.0.1.205 | | vip_network_id | eddc6c77-d9fd-4034-9b0a-58049ef87999 | | vip_port_id | 5543f842-823f-4c56-a787-edbb28c23b46 | | vip_qos_policy_id | None | | vip_subnet_id | f27959b1-bca7-4bd7-9ca7-7d1d683f8d98 | +---------------------+--------------------------------------+ (tester) [stack@undercloud-0 ~]$ openstack loadbalancer list +--------------------------------------+------+----------------------------------+-------------+---------------------+----------+ | id | name | project_id | vip_address | provisioning_status | provider | +--------------------------------------+------+----------------------------------+-------------+---------------------+----------+ | 062f92a1-96eb-4d72-9ac0-188824ead115 | LB | 2c6fa8d008cf40d18dc177797d735bd5 | 10.0.1.205 | ACTIVE | amphora | +--------------------------------------+------+----------------------------------+-------------+---------------------+----------+ (tester) [stack@undercloud-0 ~]$ openstack loadbalancer show LB +---------------------+--------------------------------------+ | Field | Value | +---------------------+--------------------------------------+ | admin_state_up | True | | created_at | 2019-07-29T09:35:54 | | description | | | flavor_id | None | | id | 062f92a1-96eb-4d72-9ac0-188824ead115 | | listeners | | | name | LB | | operating_status | ONLINE | | pools | | | project_id | 2c6fa8d008cf40d18dc177797d735bd5 | | provider | amphora | | provisioning_status | ACTIVE | | updated_at | 2019-07-29T09:37:55 | | vip_address | 10.0.1.205 | | vip_network_id | eddc6c77-d9fd-4034-9b0a-58049ef87999 | | vip_port_id | 5543f842-823f-4c56-a787-edbb28c23b46 | | vip_qos_policy_id | None | | vip_subnet_id | f27959b1-bca7-4bd7-9ca7-7d1d683f8d98 | +---------------------+--------------------------------------+ (overcloud) [stack@undercloud-0 ~]$ openstack loadbalancer amphora list +--------------------------------------+--------------------------------------+-----------+------------+---------------+------------+ | id | loadbalancer_id | status | role | lb_network_ip | ha_ip | +--------------------------------------+--------------------------------------+-----------+------------+---------------+------------+ | a0edee5a-61e8-4274-a82d-ad6fae6a0c6a | 062f92a1-96eb-4d72-9ac0-188824ead115 | ALLOCATED | STANDALONE | 172.24.2.80 | 10.0.1.205 | +--------------------------------------+--------------------------------------+-----------+------------+---------------+------------+ Moving the bug to VERIFIED.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2019:2811