Bug 1601532
| Summary: | debian packages miss /etc/glusterfs/gsyncd.conf / breaks geo-replication / sate_file entry missing / unable to get statefile's name | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Christian Lohmaier <lohmaier+rhbz> |
| Component: | packaging | Assignee: | Kaleb KEITHLEY <kkeithle> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.1 | CC: | bugs, bugzilla, lohmaier+rhbz |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | glusterfs-4.1.2 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-07-25 18:44:29 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: | |||
forgot: also gluster-command-dirs need to be adjusted from /usr/local/sbin to /usr/sbin for the debian package I can confirm this for 4.0 as well, as well as that the fix re-enables the geo-replication (so many thanks christian). if the geo-rep master is a 3-replica all three replicas need the file. You'll have to give me a hint where you're seeing gluster-command-dirs=/usr/local/sbin. None of the files in any of the packages have /usr/local/sbin or gluster-command-dirs that I can find. line 145 for example, but there's more |
Description of problem: installing 4.1.1 packages on a debian 9 system results in broken geo-replication. Geo-replication sessions created with earlier versions (3.12 and earlier) no longer show up / gluster volume geo status gives: No active geo-replication session looking in log gives "state_file entry missing in config file" and trying to create a new one fails with "Please check gsync config file. Unable to get statefile's name" Turns out that the new gsyncd.conf template is not packaged. manually copying https://github.com/gluster/glusterfs/blob/v4.1.1/geo-replication/gsyncd.conf.in to /etc/glusterfs/gsyncd.conf (replacing @GLUSTERD_WORKDIR@ with /var/lib/glusterd) on both master and slave makes the geo-replication work again. I took the liberty to set severity to high, as a whole portion of gluster is not working anymore and since the fix is easy - just add the file to the package and everything will be fine.