update/sw-patch
Lindley Werner Soares Vieira 5aae3b75d9 Fix system raising alarm due to outdated file in memory
In DX system, during a forced reboot in the active controller, when the
host recovers, a 900.002 alarm is raised.
This happens because handle-install removes a flag file, but the next
service starts up in less than 200ms and the python garbage collector
was not able to remove the file from memory.

Solution: Force a garbage collector call after removing the file.

Test Plan:
    PASS: In DX, apply a patch, force reboot the active controller.
After the host was recovered, the 900.002 alarm should not be raised.

Closes-bug: 2037724
Closes-bug: 2037725

Change-Id: Idb92d2295c4330704d1ad8b1110477d64ee26583
Signed-off-by: Lindley Werner <Lindley.Vieira@windriver.com>
2023-09-29 09:25:48 -03:00
..
bin Update package extraction from CentOS for Debian 2022-09-13 10:44:38 -04:00
cgcs-patch Fix system raising alarm due to outdated file in memory 2023-09-29 09:25:48 -03:00
debian Debian: Add gir1.2-ostree-1.0 deb package 2023-03-28 19:09:31 +00:00
scripts Update test-patches restart script 2023-08-14 09:17:32 -07:00