StarlingX Integration and packaging
Go to file
Andre Mauricio Zelak 600ad549b5 Use time traceable flag in HA clock selection
A new time traceable flag was added to pmc agent to store the current
time traceable status.

This flag replaces the utc_offset_traceable flag in the HA clock
selection algorithm and status command.

Test plan: HA clock selection algorithm
PASS: Verify the clock source which time isn't traceable is discarded
by the algorithm if ha_gm_timeTraceable is enabled.
PASS: Verify the clock source which time is traceable isn't discarded
by the algorithm if ha_gm_timeTraceable is enabled.

Regression: status command
PASS: Verify the response of status command shows the correct GM time
traceable.

The 'valid sources' command is used to get a list of interfaces which
the clock is matching the requirements. The response contains a space
separated list of interfaces, or "None" when not a single clock is
matching all the requirements.

Test plan: valid sources command
PASS: Verify that a space separated list of interface is returned when
one or more clocks match the requirements.
PASS: Verify that the string "None" is returned when not a single clock
match the requirements.

Now the GM time traceable check is enabled by default as it is an
important check for both T-GM and T-BC scenarios.

The GM time traceable check is controlled in configuration by using
the ha_gm_timeTraceable setting, and it can be disabled using the
value 0 (ha_gm_timeTraceable 0).

Test plan: default value
PASS Verify the check is performed by default.
PASS Verify the user can disable the check by configuration.

Bonus:

Fixed the behavior when none clock is matching the requirements and the
active clock source is disabled using the 'disable source <interface>'
command. The interface is must be disabled and a new clock source is
selected.

Test plan: none clock is matching the requirements
PASS: Verify that the active source can be disabled and a new one is
selected.
PASS: Verify that an attempt to disable the last active interface
fails and an appopriated message is given as response.
PASS: Verify that the interface with higher priority is selected after
re-enabling it.
PASS: Verify the active clock source doesn't change if another
interface is disabled.
PASS: Verify the active clock source doesn't change if another
interface is re-enabled.

Story: 2010723
Task: 48702

Change-Id: I64193575a995e520d36460c0ebb8dd452fa8c2b8
Signed-off-by: Andre Mauricio Zelak <andre.zelak@windriver.com>
2023-09-06 15:09:14 -03:00
base Use time traceable flag in HA clock selection 2023-09-06 15:09:14 -03:00
bmc/Redfishtool Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
centos-debian-compat Update integ debian package ver based on git 2023-03-01 18:53:50 +00:00
ceph/ceph Fix use of ceph_mgr_lifecycle_days variable 2023-07-05 13:50:44 +00:00
config Merge "Adjust puppet haproxy and firewall dependencies" 2023-06-20 13:06:14 +00:00
database Port stx-mariadb base image to stx-debian 2022-12-15 15:20:20 -03:00
devstack Relocated some packages to repo 'utilities' 2019-09-05 20:31:36 -04:00
doc Switch to newer openstackdocstheme and reno versions 2020-06-04 14:28:48 +02:00
docker/python-docker Update debian package versions to use git commits 2023-03-01 11:27:50 -05:00
filesystem Fix lint errors identified by Zuul pylint job 2023-03-15 12:07:17 +00:00
golang-github-dev Fix lint errors identified by Zuul pylint job 2023-03-15 12:07:17 +00:00
gpu/gpu-operator Debian: Do not install gpu-operator into ISO 2022-09-21 14:25:50 +00:00
grub grub2/grub-efi: fix CVE-2022-2601/CVE-2022-3775 2023-06-01 06:08:44 -04:00
kubernetes Upversion chartmuseum from 0.12.0 to 0.13.0 2023-08-08 09:59:54 -03:00
ldap Update error message for ldapsetpasswd 2023-03-28 16:54:07 +00:00
logging/logrotate/centos Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
networking Remove openvswitch-switch-dpdk from stx-ovs image 2023-07-18 17:36:01 +00:00
ostree initramfs-ostree: Support the driver switch in install 2023-06-25 02:29:20 -04:00
python python3.9: Add timeout regrtest 2023-04-12 08:29:08 -03:00
releasenotes Switch to newer openstackdocstheme and reno versions 2020-06-04 14:28:48 +02:00
requests-toolbelt Add auto-versioning to starlingx/integ packages 2020-06-24 09:48:28 +08:00
security shim: remove the FILES_GITREVCOUNT temporarily 2023-03-17 10:37:31 +08:00
storage-drivers Upgrade Trident to 23.04.0 version. 2023-06-13 11:27:30 +00:00
tools kdump-tools: disable AER to fix kdump hung issue 2022-12-17 08:38:58 +08:00
virt Subdirectories 'virt/qemu virt/libvirt ' relocated to repo 'virt' 2023-04-12 15:23:10 -04:00
.gitignore Add Docker Registry Token Server 2019-01-08 11:42:04 -05:00
.gitreview OpenDev Migration Patch 2019-04-19 19:52:31 +00:00
.yamllint Add .yamllint file 2021-09-09 19:05:36 +03: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:35 -07:00
LICENSE StarlingX open source release updates 2018-05-31 07:36:35 -07:00
README.rst Followup opendev cleanup and test jobs 2019-04-21 09:23:19 -05:00
bindep.txt Fix pylint zuul jobs failing due to libvirt-python and pkgconfig 2019-07-04 14:14:39 -05:00
centos_build_layer.cfg Build layering, add layer build config file and srpm and tarball lst 2019-10-21 09:24:22 +08:00
centos_extra_downloads.lst Move mellanox userspace from integ repo 2020-05-06 19:58:38 -04:00
centos_guest_image.inc Subdirectory kernel relocated to new repo starlingx/kernel 2020-04-11 13:08:18 -04:00
centos_guest_image_rt.inc Subdirectory kernel relocated to new repo starlingx/kernel 2020-04-11 13:08:18 -04:00
centos_iso_image.inc Config file changes to remove 'virt/qemu virt/libvirt ' 2023-04-12 15:21:49 -04:00
centos_pkg_dirs Config file changes to remove 'virt/qemu virt/libvirt ' 2023-04-12 15:21:49 -04:00
centos_pkg_dirs_installer Config file changes for packages being relocated to repo 'compile' 2019-09-05 20:28:59 -04:00
centos_pkg_dirs_rt Move mellanox userspace from integ repo 2020-05-06 19:58:38 -04:00
centos_srpms_3rdparties.lst networking: Update keepalived from 1.3.5 to 2.1.5 2021-11-12 12:12:16 -05:00
centos_srpms_centos.lst CentOS: tzdata: upversion to 2022a 2022-07-12 14:01:21 -04:00
centos_stable_docker_images.inc Update debian_stable_docker_images.inc to reflect libvirt relocation 2023-04-18 12:46:48 -04:00
centos_stable_wheels.inc Add libvirt module to stable wheels for image build 2019-04-04 22:54:04 -04:00
centos_tarball-dl.lst Merge "Upgrade Trident to 22.07.0 version." 2022-10-19 17:43:53 +00:00
debian_build_layer.cfg Add debian_build_layer.cfg file 2021-10-05 14:08:19 -04:00
debian_iso_image.inc Drop the userspace tool kpatch for livepatch 2023-06-05 22:20:18 -04:00
debian_pkg_dirs Drop the userspace tool kpatch for livepatch 2023-06-05 22:20:18 -04:00
debian_stable_docker_images.inc Update debian_stable_docker_images.inc to reflect libvirt relocation 2023-04-18 12:46:48 -04:00
distroless_stable_docker_images.inc Remove Intel plugin image builder scripts from distroless dir 2023-04-28 13:14:39 +00:00
pylint.rc Updating the pylint tox target to reflect its targets 2021-11-04 10:22:24 -05:00
test-requirements.txt Add default test framework 2018-06-11 13:45:22 -05:00
tox.ini Fix zuul failures for setuptools and pbr 2023-07-17 19:17:08 +00:00

README.rst

integ

StarlingX Integration