Bug 1459620
| Summary: | [geo-rep]: Worker crashed with TypeError: expected string or buffer | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Aravinda VK <avishwan> |
| Component: | geo-replication | Assignee: | Aravinda VK <avishwan> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | mainline | CC: | amukherj, bugs, csaba, khiremat, rallan, rhinduja, rhs-bugs, storage-qa-internal |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | glusterfs-3.12.0 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1448386 | Environment: | |
| Last Closed: | 2017-09-05 17:33:35 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: | 1448386 | ||
| Bug Blocks: | |||
|
Description
Aravinda VK
2017-06-07 15:25:53 UTC
REVIEW: https://review.gluster.org/17489 (geo-rep: Fix ConfigInterface Template issue) posted (#1) for review on master by Aravinda VK (avishwan) COMMIT: https://review.gluster.org/17489 committed in master by Aravinda VK (avishwan) ------ commit 513984ad90531c53fcb7d6f0d581f198a6afcf93 Author: Aravinda VK <avishwan> Date: Tue Jun 6 17:59:59 2017 +0530 geo-rep: Fix ConfigInterface Template issue ConfigParser uses string Template to substitute the dynamic values for config. For some of the configurations, Geo-rep worker will not restart. Due to this conf object may have non string values. If val is not string in Template(val), then it fails with "TypeError: expected string or buffer" BUG: 1459620 Change-Id: I25b8bbc1df42f6f29e9563a55b3e27a228321c44 Signed-off-by: Aravinda VK <avishwan> Reviewed-on: https://review.gluster.org/17489 Smoke: Gluster Build System <jenkins.org> NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.org> Reviewed-by: Kotresh HR <khiremat> REVIEW: https://review.gluster.org/17503 (geo-rep: Fix string format issue caused due to #17489) posted (#1) for review on master by Aravinda VK (avishwan) COMMIT: https://review.gluster.org/17503 committed in master by Aravinda VK (avishwan) ------ commit 778ad0e2bbfe60db32df460590e0c3596fdf1aa5 Author: Aravinda VK <avishwan> Date: Mon Jun 12 11:05:27 2017 +0530 geo-rep: Fix string format issue caused due to #17489 With Patch #17489, values from Geo-rep config always represented as Unicode string, which is not compatible with rest of the code. Changed the format with this patch to fix the issue. BUG: 1459620 Change-Id: I935fca0d24f02e90757f688f92ef73fad9f9b8e1 Signed-off-by: Aravinda VK <avishwan> Reviewed-on: https://review.gluster.org/17503 NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.org> Smoke: Gluster Build System <jenkins.org> Reviewed-by: Kotresh HR <khiremat> This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.12.0, please open a new bug report. glusterfs-3.12.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://lists.gluster.org/pipermail/announce/2017-September/000082.html [2] https://www.gluster.org/pipermail/gluster-users/ |