tripleo-common/healthcheck
Christian Schwede a60453eaa0 Improve Swift healthchecks
This patch adds checks for the replicators.

It also removes some unused or invalid code from other checks. Checking
modification time of the recon files is not enough, these might also be
changed by other Swift processes and are not a good indicator for stuck
processes.

Co-Authored-By: Christian Schwede <cschwede@redhat.com>
Co-Authored-By: Emilien Macchi <emilien@redhat.com>

Change-Id: Ib15f1ec4766bf4d64a2860422c230e4d514bc224
(cherry picked from commit 0862fcf98f)
2019-11-15 12:54:51 +01:00
..
releasenotes/notes IPv6 healthcheck fixes for nova-vnc-proxy 2018-12-17 08:22:23 +01:00
README.md Fix formatting options 2018-09-11 17:15:11 +02:00
aodh-api Fix formatting options 2018-09-11 17:15:11 +02:00
aodh-evaluator Fix formatting options 2018-09-11 17:15:11 +02:00
aodh-listener Fix formatting options 2018-09-11 17:15:11 +02:00
aodh-notifier Fix formatting options 2018-09-11 17:15:11 +02:00
barbican-api Fix formatting options 2018-09-11 17:15:11 +02:00
barbican-keystone-listener Fix formatting options 2018-09-11 17:15:11 +02:00
barbican-worker Fix formatting options 2018-09-11 17:15:11 +02:00
ceilometer-agent-central Fix formatting options 2018-09-11 17:15:11 +02:00
ceilometer-agent-compute Fix ceilometer_agent_compute health check 2019-11-12 12:42:16 +00:00
ceilometer-agent-ipmi Fix formatting options 2018-09-11 17:15:11 +02:00
ceilometer-agent-notification Fix formatting options 2018-09-11 17:15:11 +02:00
cinder-api Fix formatting options 2018-09-11 17:15:11 +02:00
cinder-backup Fix formatting options 2018-09-11 17:15:11 +02:00
cinder-scheduler Fix formatting options 2018-09-11 17:15:11 +02:00
cinder-volume Fix formatting options 2018-09-11 17:15:11 +02:00
collectd Activate new healthchecks 2018-03-07 10:44:59 +01:00
common.sh Improve Swift healthchecks 2019-11-15 12:54:51 +01:00
cron New health check for cron containers 2019-04-10 10:38:07 +02:00
etcd Activate new healthchecks 2018-03-07 10:44:59 +01:00
fluentd Fix formatting options 2018-09-11 17:15:11 +02:00
glance-api Fix formatting options 2018-09-11 17:15:11 +02:00
gnocchi-api Fix formatting options 2018-09-11 17:15:11 +02:00
gnocchi-metricd Fix formatting options 2018-09-11 17:15:11 +02:00
gnocchi-statsd Fix formatting options 2018-09-11 17:15:11 +02:00
heat-api Fix formatting options 2018-09-11 17:15:11 +02:00
heat-api-cfn Fix formatting options 2018-09-11 17:15:11 +02:00
heat-engine Fix formatting options 2018-09-11 17:15:11 +02:00
horizon Fix formatting options 2018-09-11 17:15:11 +02:00
ironic-api Fix formatting options 2018-09-11 17:15:11 +02:00
ironic-conductor Fix formatting options 2018-09-11 17:15:11 +02:00
ironic-inspector Add Ironic inspector health checks 2018-08-28 09:05:19 +00:00
ironic-pxe Fix ironic-pxe healthcheck. 2018-11-27 09:35:05 +00:00
iscsid Activate new healthchecks 2018-03-07 10:44:59 +01:00
keystone Fix keystone healthcheck 2019-01-16 22:12:23 +01:00
manila-scheduler Fix formatting options 2018-09-11 17:15:11 +02:00
mariadb Fix formatting options 2018-09-11 17:15:11 +02:00
memcached Silent memcached healthcheck 2019-03-27 08:51:15 +01:00
mistral-api Fix formatting options 2018-09-11 17:15:11 +02:00
mistral-engine Fix formatting options 2018-09-11 17:15:11 +02:00
mistral-event-engine Fix formatting options 2018-09-11 17:15:11 +02:00
mistral-executor Fix formatting options 2018-09-11 17:15:11 +02:00
multipathd Activate new healthchecks 2018-03-07 10:44:59 +01:00
neutron-api Fix formatting options 2018-09-11 17:15:11 +02:00
neutron-dhcp Fix formatting options 2018-09-11 17:15:11 +02:00
neutron-l3 Fix formatting options 2018-09-11 17:15:11 +02:00
neutron-metadata Fix formatting options 2018-09-11 17:15:11 +02:00
neutron-ovs-agent Fix formatting options 2018-09-11 17:15:11 +02:00
neutron-sriov-agent Fix formatting options 2018-09-11 17:15:11 +02:00
nova-api Fix nova-api healthcheck 2018-11-12 09:21:45 +01:00
nova-compute Fix formatting options 2018-09-11 17:15:11 +02:00
nova-conductor Fix formatting options 2018-09-11 17:15:11 +02:00
nova-consoleauth Fix formatting options 2018-09-11 17:15:11 +02:00
nova-ironic Fix formatting options 2018-09-11 17:15:11 +02:00
nova-libvirt Fix formatting options 2018-09-11 17:15:11 +02:00
nova-metadata Fix formatting options 2018-09-11 17:15:11 +02:00
nova-placement Fix formatting options 2018-09-11 17:15:11 +02:00
nova-scheduler Fix formatting options 2018-09-11 17:15:11 +02:00
nova-vnc-proxy IPv6 healthcheck fixes for nova-vnc-proxy 2018-12-17 08:22:23 +01:00
octavia-api Fixup octavia-api healthcheck 2019-10-02 15:29:16 +00:00
octavia-health-manager healthcheck: List udp ports with ss 2019-09-14 22:06:45 +00:00
octavia-housekeeping Fix formatting options 2018-09-11 17:15:11 +02:00
octavia-worker Fix formatting options 2018-09-11 17:15:11 +02:00
opendaylight-api Merge "Make ODL healthcheck IPv6 compatible" 2018-09-28 03:57:38 +00:00
ovn-controller Fix formatting options 2018-09-11 17:15:11 +02:00
ovn-dbs Correct ovn-dbs health check 2019-04-16 13:40:29 +02:00
ovn-metadata Fix formatting options 2018-09-11 17:15:11 +02:00
panko-api Fix formatting options 2018-09-11 17:15:11 +02:00
placement-api placement: Add missing healthcheck for extracted service 2019-01-21 10:13:22 +00:00
rabbitmq Fix formatting options 2018-09-11 17:15:11 +02:00
redis Fix formatting options 2018-09-11 17:15:11 +02:00
sahara-api Add bashate in gate jobs and fix existing errors 2018-09-17 11:36:57 +02:00
sahara-engine Fix formatting options 2018-09-11 17:15:11 +02:00
sensu-client Fix formatting options 2018-09-11 17:15:11 +02:00
swift-account-replicator Improve Swift healthchecks 2019-11-15 12:54:51 +01:00
swift-account-server Improve Swift healthchecks 2019-11-15 12:54:51 +01:00
swift-container-replicator Improve Swift healthchecks 2019-11-15 12:54:51 +01:00
swift-container-server Improve Swift healthchecks 2019-11-15 12:54:51 +01:00
swift-object-replicator Improve Swift healthchecks 2019-11-15 12:54:51 +01:00
swift-object-server Improve Swift healthchecks 2019-11-15 12:54:51 +01:00
swift-proxy Improve Swift healthchecks 2019-11-15 12:54:51 +01:00
swift-rsync Fix formatting options 2018-09-11 17:15:11 +02:00
tacker Fix formatting options 2018-09-11 17:15:11 +02:00
zaqar-api Add new healthchecks for zaqar services 2019-05-01 14:40:11 +00:00
zaqar-socket Add new healthchecks for zaqar services 2019-05-01 14:40:11 +00:00

README.md

Health check commands

The scripts in this directory are meant to implement the container-healthcheck blueprint. They are written to be compatible with the Docker HEALTHCHECK api.

The scripts expect to source /usr/share/tripleo-common/healthcheck/common.sh. If you want to run scripts without installing to that file, you can set the HEALTHCHECKS_DIR environment variable, e.g:

    $ export HEALTHCHECKS_DIR=$PWD
    $ ./heat-api
    {"versions": [{"status": "CURRENT", "id": "v1.0", "links": [{"href": "http://192.168.24.1:8004/v1/", "rel": "self"}]}]}
    300 192.168.24.1:8004 0.002 seconds