Created attachment 1212552 [details]
Description of problem:
Events list return no events (when there should be some) and /var/log/central.log on controller node contains following errors:
ERROR ceilometer.coordination ToozConnectionError: Error while reading from socket: ('Connection closed by server.',)
Discussed with @pradk, who pointed me to issue with redis. I am not sure if it was fixed already, but I was not able to find such BZ and my current testing version has this issue.
Version-Release number of selected component (if applicable):
always (in given version)
Steps to Reproduce:
1. deploy overcloud
2. create flavor or do another action which produces an event (openstack volume create --size 1 testvol)
3. query ceilometer for events
no events, errors in central.log
get some events, no errors in /var/log/ceilometer/central.log
Workaround is to connect to controller node and do following steps:
# mkdir /var/run/redis
# chown redis /var/run/redis
# systemctl start redis
Today, I have deployed a couple of time OSP 10.0-20161018.1.el7ost and I haven't seen this.
I have tested the gnocchi metric computing dispatch that uses redis to spread the work across workers and everything was working fine.
There was an selinux issue that was causing redis to not start correctly. This has been fixed in openstack-selinux. So i think this should be resolved in latest build.
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, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.