StarlingX High Availability/Process Monitoring/Service Management
Go to file
Steven Webster 6793f3840f Use controller-services service group for admin-ip
This commit resolves an issue seen when attempting to upgrade
/ patch from a previous StarlingX release to the current
StarlingX development load in which the distributed cloud
admin network feature is present.

1. Currently, the admin-services SM service group is created
   if the system is detected to be a subcloud.  This presents
   a problem during upgrade, because the <N> system has no
   concept of the admin-services group, while the upgraded
   <N+1> system does.  During upgrade when the system is
   swacted to the <N+1> system, an alarm will be raised as
   the <N> system has no admin-services group (designed to be
   an N+M redundancy model).

2. A potential solution to the above problem is to only provision
   the admin-services group if an operator has actually configured
   an admin interface / network after the full upgrade has completed.
   However, this presents the same sort of problem, as an
   interface-network association is done on a host-by-host basis,
   requiring a lock of each host to provision a new admin interface.
   Since there is no mechanism to provision a new SM service group
   at runtime, this leads to the same situation of one host being
   aware of the admin-services group, while the other does not.
   That is, a user might configure and admin inteface-network on
   host <X>, but the service group would not be present on host <Y>,
   leading to the same alarm.

The solution here is to do away with the new admin-services service
group, and leverage the existing controller-services group for the
admin-ip service.

Test-Plan:

- Ensure no alarms when upgrading / patching a subcloud implementing
  the admin network feature.

- Ensure a system utilizing the admin network can become online /
  in-sync.

- Swact between controllers utilizing the admin-ip SM service to
  ensure the floating IP is correctly assigned to the active
  controller (using the controller-services service group).

Regression:

- Install a DC system using the management network.  Create the
  admin interface, network on the subcloud and ensure a user can
  update the subcloud to use the admin network.

Story: 2010319
Task: 47278

Change-Id: Ic36e83622c6ab5d15fd537be69d3314cb675c724
Signed-off-by: Steven Webster <steven.webster@windriver.com>
2023-10-30 01:52:58 -04: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 Use controller-services service group for admin-ip 2023-10-30 01:52:58 -04: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 Fix github mirroring for this repo 2023-04-28 12:38:51 -04: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 starlingx/ha README improvement 2023-07-19 12:28:24 -03:00
bindep.txt starlingx/ha README improvement 2023-07-19 12:28:24 -03: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

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↩︎