StarlingX Integration and packaging
Go to file
Felipe Sanches Zanoni 2b0c73a1c8 Improve Ceph status check
Improve the Ceph status check by calling the Ceph restful API using
curl instead of the Ceph CLI. Uses the Ceph CLI as a fallback when
the restful api is not working.

The Ceph CLI takes around 250 ms to reply to a request, while the
restful API takes around 35 ms for the same request. It reduces the
load when checking Ceph status.

To make rest API calls using curl, it needs the service url and the
restful key. Since it takes time and resources to acquire those
values, they are cached in the /var/run/ceph_hang directory. The
.ceph_mgr_restful_key keeps the restful API key and the
.ceph_mgr_service keeps the url to the service.

Test-Plan:
 Test coverage:
  - Read/parse osd flag noup with error string injection;
  - Read/parse Ceph osd tree with error string injection;
  - Read/parse Ceph status with error string injection;
  - Read/parse Ceph health detail with error string injection;
  - Fallback to Ceph CLI when restful API is not available;
  - Swact controllers;
  - Power cycle standby controller;
  - Power cycle active controller;
  - Power cycle compute/storage node with ceph monitor;
  - DOR testing.

 PASS: AIO-SX
 PASS: AIO-DX
 PASS: Standard 2+2
 PASS: Storage 2+2+2

Closes-bug: 2077673

Signed-off-by: Felipe Sanches Zanoni <Felipe.SanchesZanoni@windriver.com>
Change-Id: I635bb0dc8dc674ff92567f71be6305271a6f87e0
2024-11-04 10:52:07 +00:00
base Fix HA clock selection algorithm 2024-10-16 18:19:55 -03:00
bmc Merge "Remove CentOS/OpenSUSE build support" 2024-05-22 15:14:42 +00:00
centos-debian-compat Update integ debian package ver based on git 2023-03-01 18:53:50 +00:00
ceph/ceph Improve Ceph status check 2024-11-04 10:52:07 +00:00
config Dynamize Postgres Auth Method Definition 2024-09-26 20:04:41 +02:00
database/mariadb/debian Remove CentOS/OpenSUSE build support 2024-05-01 16:39:19 -04:00
devstack Relocated some packages to repo 'utilities' 2019-09-05 20:31:36 -04:00
doc Fix tox-docs failing sphinx 2023-08-29 16:52:04 -03:00
docker/python-docker/debian Remove CentOS/OpenSUSE build support 2024-05-01 16:39:19 -04:00
filesystem Remove CentOS/OpenSUSE build support 2024-05-01 16:39:19 -04:00
golang-github-dev fix golang-github-golang-jwt-jwt-dev url 2024-01-31 10:39:34 -05:00
gpu/gpu-operator Remove CentOS/OpenSUSE build support 2024-05-01 16:39:19 -04:00
grub Remove CentOS/OpenSUSE build support 2024-05-01 16:39:19 -04:00
kata-containers/debian Changing Kata-container files path. 2024-10-28 15:58:45 -03:00
kubernetes Set build size advisories 2024-09-26 13:26:58 -04:00
ldap Merge "Change ldapsetpasswd error message" 2024-06-03 16:24:57 +00:00
networking Correct support for gateway address checking in dual-stack 2024-09-09 10:30:31 -03:00
ostree Make sure the default driver is the in-tree drivers 2024-10-17 01:08:52 +00:00
python Debian: setuptools: fix CVE-2022-40897/CVE-2024-6345 2024-09-26 16:52:28 +08:00
releasenotes Switch to newer openstackdocstheme and reno versions 2020-06-04 14:28:48 +02:00
requests-toolbelt Remove CentOS/OpenSUSE build support 2024-05-01 16:39:19 -04:00
security Remove CentOS/OpenSUSE build support 2024-05-01 16:39:19 -04:00
storage-drivers/trident-installer/debian Remove CentOS/OpenSUSE build support 2024-05-01 16:39:19 -04:00
tools Fix crashdump could not generate after kernel upgrade 2024-11-02 00:11:19 +08:00
virt Remove CentOS/OpenSUSE build support 2024-05-01 16:39:19 -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
.pylintrc tox: fixed warnings 2023-09-06 17:54:55 -03:00
.yamllint Add .yamllint file 2021-09-09 19:05:36 +03:00
.zuul.yaml Update pylint test to use debian-bullseye nodeset 2024-08-23 12:33:23 -05:00
bindep.txt Fix pylint zuul jobs failing due to libvirt-python and pkgconfig 2019-07-04 14:14:39 -05:00
CONTRIBUTORS.wrs StarlingX open source release updates 2018-05-31 07:36:35 -07:00
debian_build_layer.cfg Add debian_build_layer.cfg file 2021-10-05 14:08:19 -04:00
debian_iso_image.inc Fix crashdump could not generate after kernel upgrade 2024-11-02 00:11:19 +08:00
debian_pkg_dirs Fix crashdump could not generate after kernel upgrade 2024-11-02 00:11:19 +08:00
debian_stable_docker_images.inc Disable n3000 container build 2024-07-03 10:43:52 -04:00
distroless_stable_docker_images.inc Remove Armada related packages from stx build 2023-09-27 18:58:13 +00: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
test-requirements.txt Update pylint test to use debian-bullseye nodeset 2024-08-23 12:33:23 -05:00
tox.ini Update pylint test to use debian-bullseye nodeset 2024-08-23 12:33:23 -05:00

integ

StarlingX Integration