Merge "Fix job book deletion issue in taskflow" into stable/wallaby

This commit is contained in:
Zuul
2024-01-23 16:11:34 +00:00
committed by Gerrit Code Review

View File

@@ -147,6 +147,7 @@ class DynamicLoggingConductor(impl_blocking.BlockingConductor):
if (not CONF.task_flow.jobboard_save_logbook and
job.state == states.COMPLETE):
LOG.debug("Job %s is complete. Cleaning up job logbook.", job.name)
if job.book:
try:
self._persistence.get_connection().destroy_logbook(
job.book.uuid)