OSP16 | Collectd Sensubility | sensubility fails on parsing current container-health-check Getting error message in sensubility.log ---------------------------------------- [ERROR] Failed to spawn check scheduler. [error: unexpected end of JSON input] [ERROR] Failed to spawn check scheduler. [error: unexpected end of JSON input] [ERROR] Failed to spawn check scheduler. [error: unexpected end of JSON input] [ERROR] Failed to spawn check scheduler. [error: unexpected end of JSON input] Currently the conf file looks like this: ---------------------------------------- [default] log_level=WARNING [sensu] connection=amqp://sensu:sensu.lab.eng.rdu2.redhat.com//sensu subscriptions=overcloud-cinder-api,overcloud-cinder-scheduler,overcloud-cinder-volume,overcloud-glance-api,overcloud-haproxy,overcloud-heat-api,overcloud-heat-api-cfn,overcloud-heat-engine,overcloud-horizon,overcloud-keystone,overcloud-memcached,overcloud-qdr,overcloud-neutron-server,overcloud-nova-api,overcloud-nova-conductor,overcloud-nova-metadata,overcloud-nova-scheduler,overcloud-pacemaker,overcloud-swift-proxy client_name=controller-0.internalapi.redhat.local client_address=172.17.1.33 keepalive_interval=20 tmp_base_dir=/var/tmp/collectd-sensubility-checks shell_path=/usr/bin/sh worker_count=2 checks={"check-container-health":{"command":"output=\"\"\nwhile read line ; do\n i=$(echo $line | awk '//{gsub(/:/, \"\", $0); print $5}')\n log=$(echo $line | awk '{split($0,a,/:\\s+Error:\\s+/); print a[2]}')\n log=${log:0:-1}\n output+=\" ; ${i}: ${log}\"\ndone < <(egrep \"^[a-zA-Z]{3}\\s+[0-9]{2}\\s+[0-9\\:]{8}\\s+.*\\s+.*:\\s+[Ee]rror\\:\" /var/log/collectd/healthchecks.log)\ntruncate -s0 /var/log/collectd/healthchecks.log\nif [ ! -z \"${output}\" ]; then\n echo ${output:3} && exit 2;\nfi\n","handlers":[],"interval":10,"occurrences":3,"refresh":90,"standalone":true}} [amqp]
Upstream build: https://cbs.centos.org/koji/buildinfo?buildID=30022
issue solved. no errors described in the bug appear in the log. sensubility works correctly except wrong health check that causes to error appear in uchiwa. Will open a new BZ about it. This one is verified.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Red Hat OpenStack Platform 16.1 bug fix and enhancement advisory), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2020:4284
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days