Bug 1231032
| Summary: | redis fails to start when db is 0 bytes | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Fabio Massimo Di Nitto <fdinitto> | |
| Component: | resource-agents | Assignee: | Fabio Massimo Di Nitto <fdinitto> | |
| Status: | CLOSED ERRATA | QA Contact: | Asaf Hirshberg <ahirshbe> | |
| Severity: | urgent | Docs Contact: | ||
| Priority: | urgent | |||
| Version: | 7.1 | CC: | agk, ahirshbe, cfeist, cluster-maint, djansa, jherrman, mnovacek, tlavigne | |
| Target Milestone: | rc | Keywords: | ZStream | |
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | resource-agents-3.9.5-47.el7 | Doc Type: | Bug Fix | |
| Doc Text: |
When a cluster node fails, the /var/lib/redis/dump.rdb database file in some cases changes its size to 0 bytes. Previously, when this happened, the Redis Open Clustering Framework (OCF) resource agent did not start correctly. This update ensures that in the described situation, Redis automatically clears the corrupted database file and resynchronizes the remaining Redis instances in the cluster. As a result, Redis starts as expected.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1231034 1250073 (view as bug list) | Environment: | ||
| Last Closed: | 2015-11-19 04:48:11 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1231034, 1250073 | |||
|
Description
Fabio Massimo Di Nitto
2015-06-12 04:51:48 UTC
upstream patch posted https://github.com/ClusterLabs/resource-agents/pull/623 I have verified that the patch from comment #1 is included in redis resource agent in resource-agents-3.9.5-50.el7.x86_64. [root@virt-150 ~]# rpm -q resource-agents resource-agents-3.9.5-50.el7.x86_64 [root@virt-150 ~]# wget -O redis.patched \ https://raw.githubusercontent.com/davidvossel/\ resource-agents/88d7714680418ba00446354aa9d5060090719ca9/heartbeat/redis [root@virt-150 ~]# diff redis.patched /usr/lib/ocf/resource.d/heartbeat/redis [root@virt-150 ~]# echo $? 0 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. https://rhn.redhat.com/errata/RHBA-2015-2190.html |