Capture port deleted event associated to HM ServiceMonitor
When the port associated to a VM is deleted, if a ServiceMonitor
row is associated to that port an OVN SB event is triggered
in order to communicate that the ServiceMonitor entry is been
deleted. That event would allow us to update the status of
member/pool/LB according to the event.
This patch suscribes the driver agent to the DELETE events
for table ServiceMonitor on the OVN SB DB in order to
update the operating_status when the VM port is deleted.
Closes-Bug: #1989460
Change-Id: I9f8c5668c260a896f5c5848734854551c842db1e
(cherry picked from commit 30db5c88cefd153983c0193cdf250161fd10640c)
Reviewed: https:/ /review. opendev. org/c/openstack /ovn-octavia- provider/ +/859065 /opendev. org/openstack/ ovn-octavia- provider/ commit/ e6a03885c1d6df7 e458720c316589e c81517dab5
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit e6a03885c1d6df7 e458720c316589e c81517dab5
Author: Fernando Royo <email address hidden>
Date: Tue Sep 13 14:09:14 2022 +0200
Capture port deleted event associated to HM ServiceMonitor
When the port associated to a VM is deleted, if a ServiceMonitor
row is associated to that port an OVN SB event is triggered
in order to communicate that the ServiceMonitor entry is been
deleted. That event would allow us to update the status of
member/pool/LB according to the event.
This patch suscribes the driver agent to the DELETE events
for table ServiceMonitor on the OVN SB DB in order to
update the operating_status when the VM port is deleted.
Closes-Bug: #1989460 96f5c5848734854 551c842db1e 983c0193cdf2501 61fd10640c)
Change-Id: I9f8c5668c260a8
(cherry picked from commit 30db5c88cefd153