StarlingX High Availability/Process Monitoring/Service Management
Go to file
Kyale, Eliud b65eb7b2f6 Add PTHREAD_PRIO_PROTECT to sm mutexes
- rename mutexes from generic name '_mutex'
- create common util functions for initializing and destroying mutexes
- add mutex initialize/finalize functions
  and run them in sm_main_process_initialize
- update copyright info to 2023

Test plan:

PASS - AIO-DX: iso install
PASS - AIO-DX: verify ha swact
PASS - AIO-DX: failover swact test

PASS - AIO-DX: run pi_stress (rt-tests)
               to confirm priority inheritance POSIX attribute is working
-------------------------------------------------------------------
sysadmin@localhost:~$ sudo pi_stress --uniprocessor --duration=10s
Starting PI Stress Test
Number of thread groups: 3
Duration of test run: 10 seconds
Number of inversions per group: unlimited
     Admin thread SCHED_FIFO priority 4
3 groups of 3 threads will be created
      High thread SCHED_FIFO priority 3
       Med thread SCHED_FIFO priority 2
       Low thread SCHED_FIFO priority 1
Current Inversions: 992034
Stopping test
Total inversion performed: 992038
Test Duration: 0 days, 0 hours, 0 minutes, 11 seconds
-------------------------------------------------------------------

PASS - AIO-DX: valgrind helgrind
                * test for inconsistence lock ordering
                * test race conditions
                  [ detected outside scope of jira ]
                * test for deadlocks

Task: 47503
Story: 2010609

Signed-off-by: Kyale, Eliud <Eliud.Kyale@windriver.com>
Change-Id: Ic77f08ca7c3a687b1cc219ac9cba5711979206e8
2023-03-02 20:49:17 +00:00
api-ref/source Switch to newer openstackdocstheme and reno versions 2020-06-04 14:27:03 +02:00
devstack Remove sm-watchdog service since NFS is now stable 2022-08-19 19:57:43 +00:00
doc Fix tox-docs failing sphinx 2022-05-31 14:18:44 +00:00
releasenotes Switch to newer openstackdocstheme and reno versions 2020-06-04 14:27:03 +02:00
service-mgmt Add PTHREAD_PRIO_PROTECT to sm mutexes 2023-03-02 20:49:17 +00:00
service-mgmt-api Update debian package versions to use git commits 2023-02-10 10:14:48 -08:00
service-mgmt-client Update debian package versions to use git commits 2023-02-10 10:14:48 -08:00
service-mgmt-tools Merge "Add admin network support to SM" 2023-02-16 21:02:00 +00:00
stx-ocf-scripts Update debian package versions to use git commits 2023-02-10 10:14:48 -08:00
.gitignore [Doc] OpenStack API Reference Guide 2018-09-27 10:14:44 -07:00
.gitreview OpenDev Migration Patch 2019-04-19 19:52:24 +00:00
.zuul.yaml Update zuul jobs from python2 to python3 2023-02-07 20:20:57 +00:00
CONTRIBUTORS.wrs StarlingX open source release updates 2018-05-31 07:36:26 -07:00
LICENSE StarlingX open source release updates 2018-05-31 07:36:26 -07:00
README.rst Followup opendev cleanup and test jobs 2019-04-21 14:31:33 -05:00
bindep.txt Update zuul jobs from python2 to python3 2023-02-07 20:20:57 +00:00
centos_build_layer.cfg Build layering, add layer build config file 2019-10-21 10:53:26 +08:00
centos_dev_wheels.inc Add sm-client-wheels to tarball 2019-11-14 10:55:52 -05:00
centos_iso_image.inc Config file changes to add 'stx-ocf-scripts ' after relocation from 'stx-upstream' 2019-09-04 15:59:21 -04:00
centos_pkg_dirs Remove version from sm folder 2019-09-26 14:11:31 -05:00
centos_stable_wheels.inc Add sm-client-wheels to tarball 2019-11-14 10:55:52 -05:00
debian_build_layer.cfg Add debian_build_layer.cfg file 2021-10-05 14:33:19 -04:00
debian_iso_image.inc Debian: fa: update debian_iso_image.inc 2022-11-16 12:01:26 +08:00
debian_pkg_dirs Add debian_pkg_dirs for ha 2021-10-27 18:59:20 +00:00
github_sync.trigger Verify upload to GitHub mirror with a new commit 2020-02-04 11:54:18 -05:00
pylint.rc Update zuul jobs from python2 to python3 2023-02-07 20:20:57 +00:00
test-requirements.txt Fix zuul errors due to changes in dependencies 2021-04-26 11:41:59 -04:00
tox.ini Fix zuul pep8 failures related to bugbear 2023-02-14 16:47:42 +00:00

README.rst

ha

StarlingX Service Management