Bug 1341121
| Summary: | [geo-rep]: If the session is renamed, geo-rep configuration are not retained | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Saravanakumar <sarumuga> | 
| Component: | geo-replication | Assignee: | Saravanakumar <sarumuga> | 
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.7.11 | CC: | avishwan, bugs, csaba, khiremat, rcyriac, rhinduja, storage-qa-internal | 
| Target Milestone: | --- | Keywords: | ZStream | 
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | glusterfs-3.7.12 | Doc Type: | If docs needed, set a value | 
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1341108 | Environment: | |
| Last Closed: | 2016-06-28 12:19:23 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: | 1340383, 1340853, 1341108 | ||
| Bug Blocks: | 1311817 | ||
| 
        
          Description
        
        
          Saravanakumar
        
        
        
        
        
          2016-05-31 10:10:55 UTC
        
       REVIEW: http://review.gluster.org/14566 (geo-rep: update peers section in gsyncd conf) posted (#1) for review on release-3.7 by Saravanakumar Arumugam (sarumuga) REVIEW: http://review.gluster.org/14566 (geo-rep: update peers section in gsyncd conf) posted (#2) for review on release-3.7 by Saravanakumar Arumugam (sarumuga) COMMIT: http://review.gluster.org/14566 committed in release-3.7 by Aravinda VK (avishwan) ------ commit 4d73205fee5bf99527c78ef6838b14e3a2fdd4e3 Author: Saravanakumar Arumugam <sarumuga> Date: Mon May 30 17:34:24 2016 +0530 geo-rep: update peers section in gsyncd conf Problem: Once Slave volume uuid is involved as part of a geo-rep session, it is possible to create the same geo-rep session with different (slave)host. But, it reflects default values for geo-rep configuration values originally configured for old geo-rep session. Reason is, slave host is used while saving config options in gsyncd.conf. With new slave host, it is not possible to retrieve those config values. Solution: Remove slave host related information from gsyncd.conf and have only master volume and slave volume as part of peers section. Also, during upgrade from old geo-rep session, update peers section to reflect only master volume and slave volume. Change-Id: I7debf35a09a28d030b706b0c3e5d82c9b0467d0e BUG: 1341121 Reviewed-on: http://review.gluster.org/#/c/14558/ Signed-off-by: Saravanakumar Arumugam <sarumuga> Reviewed-on: http://review.gluster.org/14566 Smoke: Gluster Build System <jenkins.com> NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.com> Reviewed-by: Aravinda VK <avishwan> 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.7.12, please open a new bug report. glusterfs-3.7.12 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] https://www.gluster.org/pipermail/gluster-devel/2016-June/049918.html [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user |