Bug 1713306 - Octavia amphora load balancers fail to create -- Flavor 65 could not be found
Summary: Octavia amphora load balancers fail to create -- Flavor 65 could not be found
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: puppet-octavia
Version: 15.0 (Stein)
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: beta
: 15.0 (Stein)
Assignee: Brent Eagles
QA Contact: Bruna Bonguardo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-05-23 11:13 UTC by Carlos Goncalves
Modified: 2020-01-21 16:54 UTC (History)
1 user (show)

Fixed In Version: puppet-octavia-14.4.1-0.20190531010416.59081dd.el8ost
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-09-21 11:22:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1830193 0 None None None 2019-05-23 11:15:22 UTC
OpenStack gerrit 643051 0 None MERGED Re-add amphora flavor management settings 2020-12-05 08:59:35 UTC
OpenStack gerrit 661844 0 None MERGED Re-add amphora flavor management settings 2020-12-05 08:59:34 UTC
Red Hat Product Errata RHEA-2019:2811 0 None None None 2019-09-21 11:22:48 UTC

Description Carlos Goncalves 2019-05-23 11:13:08 UTC
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.

Comment 5 Bruna Bonguardo 2019-07-29 10:14:55 UTC
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.

Comment 8 errata-xmlrpc 2019-09-21 11:22:28 UTC
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


Note You need to log in before you can comment on or make changes to this bug.