[ovn-octavia-provider] Load Balancer remained with ACTIVE state even with PENDING_UPDATE listener
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Luis Tomas Bolivar |
Bug Description
Description of problem:
The Load Balancer remained with ACTIVE and ONLINE state even when the listener had provisioning_status PENDING_UPDATE and the pool was with ERROR, what made the load-balancer to be considered functional by Kuryr and a load-balancer member removal was attempt without success as pool was immutable:
2021-11-03 17:04:53.893 1 ERROR kuryr_kubernete
ols/302709f7-
2021-11-03 17:04:53.893 1 ERROR kuryr_kubernete
(shiftstack) [stack@undercloud-0 ~]$ openstack loadbalancer show 8d03213c-
+------
| Field | Value |
+------
| admin_state_up | True |
| created_at | 2021-11-02T05:21:15 |
| description | |
| flavor_id | None |
| id | 8d03213c-
| listeners | 39f36082-
| name | openshift-
| operating_status | ONLINE |
| pools | 302709f7-
| project_id | fd0d6a21436d4ff
| provider | ovn |
| provisioning_status | ACTIVE |
| updated_at | 2021-11-02T13:45:52 |
| vip_address | 172.30.237.127 |
| vip_network_id | f738aa91-
| vip_port_id | 72502dfe-
| vip_qos_policy_id | None |
| vip_subnet_id | 14d2bae5-
+------
(shiftstack) [stack@undercloud-0 ~]$ openstack loadbalancer listener show 39f36082-
+------
| Field | Value |
+------
| admin_state_up | True |
| connection_limit | -1 |
| created_at | 2021-11-02T05:21:44 |
| default_pool_id | 302709f7-
| default_
| description | |
| id | 39f36082-
| insert_headers | None |
| l7policies | |
| loadbalancers | 8d03213c-
| name | openshift-
| operating_status | ONLINE |
| project_id | fd0d6a21436d4ff
| protocol | TCP |
| protocol_port | 50051 |
| provisioning_status | PENDING_UPDATE |
| sni_container_refs | [] |
| timeout_client_data | 50000 |
| timeout_
| timeout_member_data | 50000 |
| timeout_tcp_inspect | 0 |
| updated_at | 2021-11-02T13:44:27 |
| client_
| client_
| client_
| allowed_cidrs | None |
+------
(shiftstack) [stack@undercloud-0 ~]$ openstack loadbalancer pool show 302709f7-
+------
| Field | Value |
+------
| admin_state_up | True |
| created_at | 2021-11-02T05:21:49 |
| description | |
| healthmonitor_id | |
| id | 302709f7-
| lb_algorithm | SOURCE_IP_PORT |
| listeners | 39f36082-
| loadbalancers | 8d03213c-
| members | 214e892a-
| name | openshift-
| operating_status | OFFLINE |
| project_id | fd0d6a21436d4ff
| protocol | TCP |
| provisioning_status | ERROR |
| session_persistence | None |
| updated_at | 2021-11-02T13:45:52 |
| tls_container_ref | None |
| ca_tls_
| crl_container_ref | None |
| tls_enabled | False |
+------
(shiftstack) [stack@undercloud-0 ~]$ openstack loadbalancer member list 302709f7-
+------
| id | name | project_id | provisioning_status | address | protocol_port | operating_status | weight |
+------
| 214e892a-
+------
Changed in neutron: | |
status: | New → In Progress |
Changed in neutron: | |
assignee: | nobody → Luis Tomas Bolivar (ltomasbo) |
Changed in neutron: | |
importance: | Undecided → High |
Reviewed: https:/ /review. opendev. org/c/openstack /ovn-octavia- provider/ +/823544 /opendev. org/openstack/ ovn-octavia- provider/ commit/ 4d01470f5e397bb 6de1b10db9f839f a72697ff6b
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 4d01470f5e397bb 6de1b10db9f839f a72697ff6b
Author: Luis Tomas Bolivar <email address hidden>
Date: Wed Jan 5 15:48:57 2022 +0100
Set listeners back to ACTIVE upon pool/member action failures
This patch ensure the listeners are set back from PENDING_UPDATE
to ACTIVE in case of member or pool update failure.
Closes-Bug: #1956745 c10859afb972d00 0328e23d614
Change-Id: I95860ae305c3d0