Go to file
Sandhya Kalisetty d72da06a44 SM service logs are being duplicated into postgres.log
The logging configuration update for the SM service logs
is invalid and conflicts with the postgres logging
facility (local0), causing the SM logs to appear in
both sm-service.log and postgres.log. Reverting to
facility (local3) for SM service logs to fix the
issue and adding upgrade and rollback support for
the syslog changes introduced.
Change that introduced the bug - https://review.opendev.org/c/starlingx/ha/+/923772

Test Plan: Verified the changes on simplex and duplex configurations.

PASS: AIO-Simplex - Verified service logs are written to
                    sm-service.log.Verfied that service
                    logs are not seen in sm.log
                    and postgres.log
PASS: AIO-Duplex -  Verified service logs are written to
                    sm-service.log.
                    Verified that service logs are not in sm.log and
                    postgres.log
PASS: AIO-Duplex -  Verified that service logs are written to
                    sm-service.log file after a controlled swact and
                    not seen in sm.log and postgres.log
PASS: AIO-Duplex -  Verified that upgrade from 22.12 to 24.09 is
                    successful and the logs are written to
                    sm-services.log file
PASS: AIO-Duplex -  Verified that rollback from 24.09 to 22.12 is
                    successful and logs are written to sm.log file

Closes-Bug: 2083632
Change-Id: Ie7ac43335d40dbcbb965ba7820eb105e23ced392
Signed-off-by: Sandhya Kalisetty <sandhya.kalisetty@windriver.com>
2025-03-24 19:58:33 +00:00
2022-05-31 14:18:44 +00:00
2018-09-27 10:14:44 -07:00
2019-04-19 19:52:24 +00:00
2025-01-22 09:51:39 -05:00
2023-07-19 12:28:24 -03:00
2021-10-27 18:59:20 +00:00
2018-05-31 07:36:26 -07:00
2023-07-19 12:28:24 -03:00

ha

The starlingx/ha repository handles High Availability services1.

Its key component is the StarlingX Service Management (SM), which coordinates the StarlingX services.

This repository is not intended to be developed standalone, but rather as part of the StarlingX Source System, which is defined by the StarlingX manifest2.

References


  1. https://docs.starlingx.io/api-ref/ha↩︎

  2. https://opendev.org/starlingx/manifest.git↩︎

Description
StarlingX High Availability/Process Monitoring/Service Management
Readme 6.6 MiB
Languages
C 70.2%
Python 18.5%
Shell 7.6%
C++ 3.3%
Makefile 0.4%