Comment 1 for bug 2006136

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to config (master)

Reviewed: https://review.opendev.org/c/starlingx/config/+/872700
Committed: https://opendev.org/starlingx/config/commit/51afe1ee79463ea9879380819f901520e1cf9bdd
Submitter: "Zuul (22348)"
Branch: master

commit 51afe1ee79463ea9879380819f901520e1cf9bdd
Author: Manoel Benedito Neto <email address hidden>
Date: Fri Feb 3 15:59:40 2023 -0300

    Add exception clause and logs for subcloud audit

    Added an except clause to log uncaught exceptions that may happen when
    _subcloud_audit function is called.

    Test Plan:
    PASS: In a DX DC system with AIO-SX subcloud offline, observe the log
          exception message and callstack traceback to be thrown on the
          /var/log/cert-mon.log file, as code execution proceeds to
          finally clause in do_subcloud_audit function.
    PASS: In a DX DC system with simplex subcloud online, force an invalid
          subcloud audit item to assume None value. Observe the log
          exception message and callstack traceback to be thrown in the
          /var/log/cert-mon.log file, as code execution proceeds to finally
          clause in do_subcloud_audit function.

    Closes-Bug: 2006136
    Signed-off-by: Manoel Benedito Neto <email address hidden>
    Change-Id: I3e92db11a9339a9637ea036b2c6522a47b4a803f