Added abort logs for debugging

master
Ken Subratie 2023-05-23 13:41:19 -04:00
parent 9b7c2e215a
commit 523e8b2100
1 changed files with 2 additions and 0 deletions

View File

@ -1157,6 +1157,7 @@ class Topology(ControllerModule):
net_ovl.adjacency_list.update_edge(new_conn_edge)
def _cleanup_expired_incomplete_edge(self, cbt: CBT):
self.logger.debug("Abort CBT %s", cbt)
olid = cbt.request.params.get("OverlayId", None)
if not olid:
self.logger.warning("No overlay ID found in expired CBT")
@ -1169,6 +1170,7 @@ class Topology(ControllerModule):
self.free_cbt(cbt)
def _abort_handler_remote_action(self, cbt: CBT):
self.logger.debug("Aborting RemoteAction CBT %s", cbt)
rem_act = cbt.request.params
olid = rem_act.overlay_id
net_ovl = self._net_ovls[olid]