Advertisement
Guest User

Untitled

a guest
Dec 9th, 2020
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. ()[root@overcloud-controller-bagwell-cloud-0 openstack]# bash -x healthcheck
  2. + . /usr/share/openstack-tripleo-common/healthcheck/common.sh
  3. ++ set -euo pipefail
  4. ++ : 0
  5. ++ '[' 0 -ne 0 ']'
  6. ++ exec
  7. ++ : 10
  8. ++ : curl-healthcheck
  9. ++ : '\n%{http_code}' '%{remote_ip}:%{remote_port}' '%{time_total}' 'seconds\n'
  10. ++ : /dev/null
  11. + process=gnocchi-statsd
  12. ++ get_config_val /etc/gnocchi/gnocchi.conf statsd port 8125
  13. ++ crudini --get /etc/gnocchi/gnocchi.conf statsd port
  14. + bind_port=8125
  15. + healthcheck_listen gnocchi-statsd 8125
  16. + process=gnocchi-statsd
  17. + shift 1
  18. + args=8125
  19. + ports=8125
  20. ++ pgrep -d , -f gnocchi-statsd
  21. + pids=8
  22. + lsof -n -w -P -a -p8 -iTCP:8125 -s TCP:LISTEN
  23. + echo 'There is no gnocchi-statsd process listening on ports 8125 in the container.'
  24. There is no gnocchi-statsd process listening on ports 8125 in the container.
  25. + exit 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement