Loadbalancer provisioning_status is inconsistent between Octavia and Neutron Database during LB create failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
octavia |
In Progress
|
Undecided
|
Stephen Balukoff |
Bug Description
Loadbalancer provisioning_status is inconsistent between Octavia and Neutron Database during LB create failure.
On my devstack with master branch, when a load balancer is created, if amphora is unreachable to controller-worker, after the defined request_
where as in Octavia DB provisioning_status lies/stuck in PENDING_CREATE even after [haproxy_amphora] connection_
I see provisioning_status inconsistency always, if we create LB in tenant (like private, public) network.
10.1.0.8 is in private-subnet.
172.24.4.7 is in public-subnet.
stack@MouliDev:~$ neutron lbaas-loadbalan
+------
| id | name | vip_address | provisioning_status | provider |
+------
| 545c0327-
| c920f9de-
+------
stack@MouliDev:~$ mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 196
Server version: 5.5.50-
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> use octavia;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> select * from load_balancer;
+------
| project_id | id | name | description | provisioning_status | operating_status | enabled | topology | server_group_id | created_at | updated_at |
+------
| b16c6ba1f68345e
| b16c6ba1f68345e
+------
2 rows in set (0.00 sec)
mysql>
Expected result:
1. Loadbalancer provisioning_status should be consistent between Octavia and Neutron Database during LB create.
2. If load balancer create is failed then Octavia and Neutron Database should show provisioning_status as ERROR.
Changed in octavia: | |
assignee: | nobody → KRISHNA MOULI. TANKALA (mouli-tankala) |
Changed in octavia: | |
assignee: | KRISHNA MOULI. TANKALA (mouli-tankala) → selvakumar (selvakumar-s2) |
Changed in octavia: | |
assignee: | selvakumar (selvakumar-s2) → Stephen Balukoff (sbalukoff) |
I thought this issue should be fixed by https:/ /review. openstack. org/#/c/ 332704/.
When the creation flow revert, mark the lb to ERROR in DB.
Am i miss anything ?