When the worker calculates the delta for plugging/unplugging subnets,
it need to check the provisioning_status of the members. But in
amphorav1, this status comes from the LB DB object that is passed to
taskflow. If the provisioning_status is modified by another task
(MarkMemberPendingDeleteInDb), the LB object is not updated.
We need to reload it from the DB to get the current status of the
members.
Note: this patch is for stable branches only as the amphorav1 driver was
removed during the Bobcat cycle
Closes-Bug: #2027967
Change-Id: Iea0ffee1a7307b0852c5a9faf31739c96e76a7ee
(cherry picked from commit 8b196bb3bb)
(cherry picked from commit 68a3379cda)
(cherry picked from commit 13070bd173)
(cherry picked from commit 0b07b39816)
7 lines
197 B
YAML
7 lines
197 B
YAML
---
|
|
fixes:
|
|
- |
|
|
Fixed a bug in amphorav1, the subnet of a member that was being deleted was
|
|
not immediately unplugged from the amphora, but only during the next update
|
|
of the members.
|