e9ba02ab5c
This commit complements the previous commit with same topic: https://review.opendev.org/c/starlingx/fault/+/815381 This particular commit improves the log inside the python script, considering others possible fails. Also, some verifications are added in fmDbUtils class wich calls the script. Test Plan: Log in (/var/log/platform.log): PASS: Log arguments error calling script. PASS: Log new database connection problems. PASS: Log Session commit problems. PASS: Log problems opening "/etc/fm/events.yaml" file. Log (in /var/log/fm-manager.log): PASS: Log Problems opening fm_db_sync_event_suppression.py file. PASS: Log problems running fm_db_sync_event_suppression.py. PASS: build and install package. Closes-bug: 1932324 Signed-off-by: fperez <fabrizio.perez@windriver.com> Change-Id: I913d6d1282bea346f87f73179f0738c0c17d7446