Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: Redis doesn't shutdown properly when not bound on 0.0.0.0 or 127.0.0.1 Version-Release number of selected component (if applicable): rhel7 redis-2.8.19-1.el7.x86_64 How reproducible: always Steps to Reproduce: 1. start redis 2. systemctl stop redis 3.systemctl status -l redis Actual results: [root@openstack2 ~]# systemctl status -l redis redis.service - Redis persistent key-value database Loaded: loaded (/usr/lib/systemd/system/redis.service; enabled) Drop-In: /etc/systemd/system/redis.service.d └─limit.conf Active: failed (Result: exit-code) since Thu 2015-03-12 11:50:52 UTC; 7s ago Process: 20875 ExecStop=/usr/bin/redis-shutdown (code=exited, status=1/FAILURE) Process: 20858 ExecStart=/usr/bin/redis-server /etc/redis.conf --daemonize no (code=exited, status=0/SUCCESS) Main PID: 20858 (code=exited, status=0/SUCCESS) Mar 12 11:50:35 openstack2 systemd[1]: Starting Redis persistent key-value database... Mar 12 11:50:35 openstack2 systemd[1]: Started Redis persistent key-value database. Mar 12 11:50:52 openstack2 systemd[1]: Stopping Redis persistent key-value database... Mar 12 11:50:52 openstack2 redis-shutdown[20875]: Could not connect to Redis at 127.0.0.1:6379: Connection refused Mar 12 11:50:52 openstack2 systemd[1]: redis.service: control process exited, code=exited status=1 Mar 12 11:50:52 openstack2 systemd[1]: Stopped Redis persistent key-value database. Mar 12 11:50:52 openstack2 systemd[1]: Unit redis.service entered failed state. Expected results: redis.service - Redis persistent key-value database Loaded: loaded (/usr/lib/systemd/system/redis.service; enabled) Drop-In: /etc/systemd/system/redis.service.d └─limit.conf Active: inactive (dead) since Thu 2015-03-12 11:52:16 UTC; 2s ago Process: 20979 ExecStop=/usr/bin/redis-shutdown (code=exited, status=0/SUCCESS) Main PID: 20906 (code=exited, status=0/SUCCESS) Mar 12 11:51:38 openstack2 systemd[1]: Started Redis persistent key-value database. Mar 12 11:52:16 openstack2 systemd[1]: Stopping Redis persistent key-value database... Mar 12 11:52:16 openstack2 systemd[1]: Stopped Redis persistent key-value database.
redis-shutdown fails in configuration with multiple networks, will fix it. Thanks for reporting !
redis-2.8.19-2.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/redis-2.8.19-2.fc21
redis-2.8.19-2.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/redis-2.8.19-2.fc22
redis-2.8.19-2.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/redis-2.8.19-2.el7
Package redis-2.8.19-2.el7: * should fix your issue, * was pushed to the Fedora EPEL 7 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing redis-2.8.19-2.el7' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2015-1520/redis-2.8.19-2.el7 then log in and leave karma (feedback).
redis-2.8.19-2.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.
redis-2.8.19-2.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.
redis-2.8.19-2.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.