A Python library for code common to TripleO CLI and TripleO UI.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Damien Ciabrini b48d0d5758 Clustercheck healthcheck with socat and ipv6 1 week ago
..
releasenotes/notes Revert "Revert "Fix a couple of Swift healthchecks"" 2 years ago
README.md Document healthcheck and container build issues 2 years ago
aodh-api Fix formatting options 4 years ago
aodh-evaluator Fix formatting options 4 years ago
aodh-listener Fix formatting options 4 years ago
aodh-notifier Fix formatting options 4 years ago
barbican-api Fix formatting options 4 years ago
barbican-keystone-listener Fix formatting options 4 years ago
barbican-worker Fix formatting options 4 years ago
ceilometer-agent-central Fix formatting options 4 years ago
ceilometer-agent-compute Fix ceilometer_agent_compute health check 3 years ago
ceilometer-agent-ipmi Fix formatting options 4 years ago
ceilometer-agent-notification Fix formatting options 4 years ago
cinder-api Fix formatting options 4 years ago
cinder-backup Fix formatting options 4 years ago
cinder-scheduler Fix formatting options 4 years ago
cinder-volume Fix formatting options 4 years ago
collectd Activate new healthchecks 4 years ago
common.sh Fix awk expression 12 months ago
cron Fix bashate and flake8 errors 3 years ago
etcd Fix etcd healthcheck 3 years ago
fluentd Bracket IPv6 address in ironic_inspector healthcheck 3 years ago
frr Frr image support 2 years ago
glance-api Bracket IPv6 address in ironic_inspector healthcheck 3 years ago
gnocchi-api Fix formatting options 4 years ago
gnocchi-metricd Fix formatting options 4 years ago
gnocchi-statsd Switch gnocchi-statsd HC to healthcheck_port 2 years ago
heat-api Fix formatting options 4 years ago
heat-api-cfn Fix formatting options 4 years ago
heat-engine Fix formatting options 4 years ago
horizon Fix formatting options 4 years ago
http-healthcheck.py Conditionally use python instead of cURL 2 years ago
ironic-api Fix formatting options 4 years ago
ironic-conductor Fix formatting options 4 years ago
ironic-inspector Remove ironic-inspector dnsmasq healthcheck 1 year ago
ironic-neutron-agent Add a healthcheck for ironic-neutron-agent 3 years ago
ironic-pxe Remove tftp healthcheck from ironic-pxe image 5 months ago
iscsid Activate new healthchecks 4 years ago
keystone Fix keystone healthcheck 4 years ago
manila-scheduler Fix formatting options 4 years ago
mariadb Clustercheck healthcheck with socat and ipv6 1 week ago
memcached Fix config parsing in memcached healthcheck 1 year ago
multipathd Activate new healthchecks 4 years ago
neutron-api Bracket IPv6 address in ironic_inspector healthcheck 3 years ago
neutron-dhcp Fix formatting options 4 years ago
neutron-l3 Fix formatting options 4 years ago
neutron-metadata Fix formatting options 4 years ago
neutron-ovs-agent Fix formatting options 4 years ago
neutron-sriov-agent Fix formatting options 4 years ago
nova-api Fix nova-api healthcheck 4 years ago
nova-compute Fix formatting options 4 years ago
nova-conductor Fix formatting options 4 years ago
nova-ironic Fix formatting options 4 years ago
nova-libvirt Fix nova-virtlogd container healthcheck 2 years ago
nova-metadata Fix formatting options 4 years ago
nova-scheduler Fix formatting options 4 years ago
nova-vnc-proxy Bracket IPv6 address in ironic_inspector healthcheck 3 years ago
octavia-api Fixup octavia-api healthcheck 3 years ago
octavia-health-manager healthcheck: List udp ports with ss 3 years ago
octavia-housekeeping Fix formatting options 4 years ago
octavia-worker Fix formatting options 4 years ago
ovn-bgp-agent ovn-bgp-agent image support 6 months ago
ovn-controller Fix formatting options 4 years ago
ovn-dbs Correct ovn-dbs health check 3 years ago
ovn-metadata Fix formatting options 4 years ago
panko-api Fix formatting options 4 years ago
placement-api placement: Add missing healthcheck for extracted service 4 years ago
qdrouterd Add health check script for qdrouterd 3 years ago
rabbitmq Move rabbitmq healthcheck to something more modern 1 year ago
redis Fix formatting options 4 years ago
swift-account-server Revert "Revert "Fix a couple of Swift healthchecks"" 2 years ago
swift-container-server Revert "Revert "Fix a couple of Swift healthchecks"" 2 years ago
swift-object-server Revert "Revert "Fix a couple of Swift healthchecks"" 2 years ago
swift-proxy Revert "Revert "Fix a couple of Swift healthchecks"" 2 years ago
swift-rsync Fix formatting options 4 years ago

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

Notes about changing healthchecks

Because healthchecks are provided via a package when building containers, you cannot rename or remove a health check in combination with a change to a, file in tripleo-common/container-images/. Changes need to be backwards and forwards compatible when updating healthchecks. You may also need to land a new healthcheck first and update the container build process in a subsequent change that lands later.