commit ebc3f735e50aab5cf23eaa67b907687a4ce49b43
Author: Carlos Goncalves <email address hidden>
Date: Sat Nov 18 10:21:43 2017 +0000
Update pool member operating status for haproxy
Collection of stats is a period task for which the HAProxy driver also
returns member statuses, including 'status' field which maps to
MemberV2.operating_status. Updating such field in neutron-lbaas DB
ensures the stored operational status is up-to-date. Subsequently, the
operating status of pools, listeners and load balancers can also be
correctly reported to users upon querying in for the load balancer
status tree API.
This fixes cases where a pool member becomes offline in the dataplane
but is not observed in neutron-lbaas. If a member turns back online
again, its operating status will be updated too.
Partial-Bug: #1548774
Change-Id: Ief872b0463002b4e339f8eab71b37a4225d461cc
(cherry picked from commit 80a086695d11aa65251889671a3d729f62779c80)
Reviewed: https:/ /review. openstack. org/525355 /git.openstack. org/cgit/ openstack/ neutron- lbaas/commit/ ?id=ebc3f735e50 aab5cf23eaa67b9 07687a4ce49b43
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit ebc3f735e50aab5 cf23eaa67b90768 7a4ce49b43
Author: Carlos Goncalves <email address hidden>
Date: Sat Nov 18 10:21:43 2017 +0000
Update pool member operating status for haproxy
Collection of stats is a period task for which the HAProxy driver also operating_ status. Updating such field in neutron-lbaas DB
returns member statuses, including 'status' field which maps to
MemberV2.
ensures the stored operational status is up-to-date. Subsequently, the
operating status of pools, listeners and load balancers can also be
correctly reported to users upon querying in for the load balancer
status tree API.
This fixes cases where a pool member becomes offline in the dataplane
but is not observed in neutron-lbaas. If a member turns back online
again, its operating status will be updated too.
Partial-Bug: #1548774
Change-Id: Ief872b0463002b 4e339f8eab71b37 a4225d461cc 5251889671a3d72 9f62779c80)
(cherry picked from commit 80a086695d11aa6