Redis fails to start on controllers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Unassigned |
Bug Description
Redis fails to start on controllers in all TripleO jobs. This breaks ceilometer and gnocchi, making them to overload logs with reconnection tries and make logs huge size.
http://
34211:M 18 Feb 07:38:39.243 # Opening Unix socket: bind: No such file or directory
Feb 18 07:18:37 localhost systemd: Started Redis persistent key-value database.
Feb 18 07:18:37 localhost systemd: Starting Redis persistent key-value database...
Feb 18 07:18:37 localhost systemd: redis.service: main process exited, code=exited, status=1/FAILURE
Feb 18 07:18:37 localhost redis-shutdown: Could not connect to Redis at 192.168.24.16:6379: Connection refused
Feb 18 07:18:37 localhost systemd: redis.service: control process exited, code=exited status=1
Feb 18 07:18:37 localhost systemd: Unit redis.service entered failed state.
Feb 18 07:18:37 localhost systemd: redis.service failed.
/etc/redis.conf:
daemonize yes
pidfile /var/run/
port 6379
tcp-backlog 511
bind 192.168.24.16
unixsocket /var/run/
unixsocketperm 755
timeout 0
tcp-keepalive 0
loglevel notice
logfile /var/log/
syslog-enabled no
databases 16
save 900 1
save 300 10
save 60 10000
stop-writes-
rdbcompression yes
rdbchecksum yes
dbfilename dump.rdb
dir /var/lib/redis/
masterauth zBnyqkYQAXRyBbu
slave-serve-
slave-read-only yes
repl-timeout 60
repl-disable-
repl-backlog-size 1mb
repl-backlog-ttl 3600
slave-priority 100
min-slaves-to-write 0
min-slaves-max-lag 10
requirepass zBnyqkYQAXRyBbu
maxclients 10000
appendonly no
appendfilename appendonly.aof
appendfsync everysec
no-appendfsync-
auto-aof-
auto-aof-
client-
client-
client-
hz 10
aof-rewrite-
Changed in tripleo: | |
status: | New → Triaged |
importance: | Undecided → High |
This has been caused by a recent redis update in the dependency repo to 3.2.7-1 [1], which misses the fixes from version 3.2.4-2 [2], namely:
- Install tmpfiles and /run/redis for legacy configurations
We need an updated redis package with the fix.
[1] http:// cbs.centos. org/koji/ buildinfo? buildID= 15444 cbs.centos. org/koji/ buildinfo? buildID= 13831
[2] http://