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.
 
 
Zuul f27786254a Merge "Add neutron-rpc-server to the base neutron image" 1 week ago
..
releasenotes/notes Fix a couple of Swift healthchecks 8 months ago
README.md Document healthcheck and container build issues 7 months ago
aodh-api Fix formatting options 3 years ago
aodh-evaluator Fix formatting options 3 years ago
aodh-listener Fix formatting options 3 years ago
aodh-notifier Fix formatting options 3 years ago
barbican-api Fix formatting options 3 years ago
barbican-keystone-listener Fix formatting options 3 years ago
barbican-worker Fix formatting options 3 years ago
ceilometer-agent-central Fix formatting options 3 years ago
ceilometer-agent-compute Fix ceilometer_agent_compute health check 2 years ago
ceilometer-agent-ipmi Fix formatting options 3 years ago
ceilometer-agent-notification Fix formatting options 3 years ago
cinder-api Fix formatting options 3 years ago
cinder-backup Fix formatting options 3 years ago
cinder-scheduler Fix formatting options 3 years ago
cinder-volume Fix formatting options 3 years ago
collectd Add healthcheck script for Collectd 4 years ago
common.sh Add missing IPv6 support for healthcheck_port 1 month ago
cron Fix bashate and flake8 errors 2 years ago
etcd Fix etcd healthcheck 2 years ago
fluentd Bracket IPv6 address in ironic_inspector healthcheck 2 years ago
frr Frr image support 6 months ago
glance-api Bracket IPv6 address in ironic_inspector healthcheck 2 years ago
gnocchi-api Fix formatting options 3 years ago
gnocchi-metricd Fix formatting options 3 years ago
gnocchi-statsd Switch gnocchi-statsd HC to healthcheck_port 8 months ago
heat-api Fix formatting options 3 years ago
heat-api-cfn Fix formatting options 3 years ago
heat-engine Fix formatting options 3 years ago
horizon Fix formatting options 3 years ago
http-healthcheck.py Conditionally use python instead of cURL 7 months ago
ironic-api Fix formatting options 3 years ago
ironic-conductor Fix formatting options 3 years ago
ironic-inspector Remove ironic-inspector dnsmasq healthcheck 1 month ago
ironic-neutron-agent Add a healthcheck for ironic-neutron-agent 2 years ago
ironic-pxe Bracket IPv6 address in ironic_inspector healthcheck 2 years ago
iscsid Add healthcheck script for iSCSId 4 years ago
keystone Fix keystone healthcheck 3 years ago
manila-scheduler Fix formatting options 3 years ago
mariadb Make the clustercheck healthcheck work with socat 2 months ago
memcached Fix config parsing in memcached healthcheck 2 months ago
mistral-api Fix formatting options 3 years ago
mistral-engine Fix formatting options 3 years ago
mistral-event-engine Fix formatting options 3 years ago
mistral-executor Fix formatting options 3 years ago
multipathd Add healthcheck script for multipathd 4 years ago
neutron-api Bracket IPv6 address in ironic_inspector healthcheck 2 years ago
neutron-dhcp Fix formatting options 3 years ago
neutron-l3 Fix formatting options 3 years ago
neutron-metadata Fix formatting options 3 years ago
neutron-ovs-agent Fix formatting options 3 years ago
neutron-sriov-agent Fix formatting options 3 years ago
nova-api Fix nova-api healthcheck 3 years ago
nova-compute Fix formatting options 3 years ago
nova-conductor Fix formatting options 3 years ago
nova-ironic Fix formatting options 3 years ago
nova-libvirt Fix nova-virtlogd container healthcheck 1 year ago
nova-metadata Fix formatting options 3 years ago
nova-scheduler Fix formatting options 3 years ago
nova-vnc-proxy Bracket IPv6 address in ironic_inspector healthcheck 2 years ago
octavia-api Fixup octavia-api healthcheck 2 years ago
octavia-health-manager healthcheck: List udp ports with ss 2 years ago
octavia-housekeeping Fix formatting options 3 years ago
octavia-worker Fix formatting options 3 years ago
ovn-controller Fix formatting options 3 years ago
ovn-dbs Correct ovn-dbs health check 2 years ago
ovn-metadata Fix formatting options 3 years ago
panko-api Fix formatting options 3 years ago
placement-api placement: Add missing healthcheck for extracted service 3 years ago
qdrouterd Add health check script for qdrouterd 2 years ago
rabbitmq Move rabbitmq healthcheck to something more modern 2 months ago
redis Fix formatting options 3 years ago
swift-account-server Revert "Revert "Fix a couple of Swift healthchecks"" 7 months ago
swift-container-server Revert "Revert "Fix a couple of Swift healthchecks"" 7 months ago
swift-object-server Revert "Revert "Fix a couple of Swift healthchecks"" 7 months ago
swift-proxy Fix a couple of Swift healthchecks 8 months ago
swift-rsync Fix formatting options 3 years ago
zaqar-api Add new healthchecks for zaqar services 2 years ago
zaqar-socket Fix bashate and flake8 errors 2 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.