Bug 1053854
| Summary: | Install /var/lib/glusterd/groups/virt by default | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Niels de Vos <ndevos> |
| Component: | build | Assignee: | Niels de Vos <ndevos> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | mainline | CC: | bugs, gluster-bugs, kkeithle, rcyriac, vbellur |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | glusterfs-3.6.0beta1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-11-11 08:27:03 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: | 829734, 1129592 | ||
|
Description
Niels de Vos
2014-01-15 20:33:17 UTC
REVIEW: http://review.gluster.org/6717 (build: Install /var/lib/glusterd/groups/virt by default) posted (#1) for review on master by Niels de Vos (ndevos) REVIEW: http://review.gluster.org/6717 (build: Install /var/lib/glusterd/groups/virt by default) posted (#2) for review on master by Niels de Vos (ndevos) REVIEW: http://review.gluster.org/6717 (build: Install /var/lib/glusterd/groups/virt by default) posted (#3) for review on master by Niels de Vos (ndevos) COMMIT: http://review.gluster.org/6717 committed in master by Vijay Bellur (vbellur) ------ commit fdc82748a1d1f063e3c11c840e6ec54ddf0fe0e1 Author: Niels de Vos <ndevos> Date: Wed Jan 15 14:22:44 2014 +0100 build: Install /var/lib/glusterd/groups/virt by default /var/lib/glusterd/groups/virt is not installed by default, but that should be the case. It is provided as extras/groups-virt.example. "make install" should correctly install this file, and the rpm packages should include it. Change-Id: I5284306cfc2882e3147bd72f496ad29db906fcb2 BUG: 1053854 Signed-off-by: Niels de Vos <ndevos> Reviewed-on: http://review.gluster.org/6717 Reviewed-by: Harshavardhana <harsha> Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Vijay Bellur <vbellur> Something's not right with the install of extras/group-virt.example into /var/lib/glusterd/group/virt.
If I check out a clean release-3.5 tree and do:
./autogen.sh && ./configure && make -C extras/LinuxRPM glusterrpms
this is what happens:
...
/usr/bin/mkdir -p '/home/kkeithle/src/gerrit/scratch-3.5/extras/LinuxRPM/rpmbuild/BUILDROOT/glusterfs-3git-1.fc20.x86_64/etc/glusterfs'^M
/usr/bin/install -c -m 644 glusterfs-logrotate gluster-rsyslog-7.2.conf gluster-rsyslog-5.8.conf logger.conf.example glusterfs-georep-logrotate group-virt.example '/home/kkeithle/src/gerrit/scratch-3.5/extras/LinuxRPM/rpmbuild/BUILDROOT/glusterfs-3git-1.fc20.x86_64/etc/glusterfs'^M
/usr/bin/mkdir -p '/home/kkeithle/src/gerrit/scratch-3.5/extras/LinuxRPM/rpmbuild/BUILDROOT/glusterfs-3git-1.fc20.x86_64/etc/glusterfs'^M
...
With the same set of changes made to the FedoraSCM glusterfs/glusterfs.spec, the build fails with:
...
RPM build errors:
Directory not found: /builddir/build/BUILDROOT/glusterfs-3.5.0-0.5.beta3.fc21.x86_64/var/lib/glusterd/groups
File not found: /builddir/build/BUILDROOT/glusterfs-3.5.0-0.5.beta3.fc21.x86_64/var/lib/glusterd/groups/virt
Child return code was: 1
...
(complete koji build log at http://kojipkgs.fedoraproject.org//work/tasks/8645/6518645/build.log (one example)
A beta release for GlusterFS 3.6.0 has been released. Please verify if the release solves this bug report for you. In case the glusterfs-3.6.0beta1 release does not have a resolution for this issue, leave a comment in this bug and move the status to ASSIGNED. If this release fixes the problem for you, leave a note and change the status to VERIFIED. Packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update (possibly an "updates-testing" repository) infrastructure for your distribution. [1] http://supercolony.gluster.org/pipermail/gluster-users/2014-September/018836.html [2] http://supercolony.gluster.org/pipermail/gluster-users/ *** Bug 985085 has been marked as a duplicate of this bug. *** 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.6.1, please reopen this bug report. glusterfs-3.6.1 has been announced [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://supercolony.gluster.org/pipermail/gluster-users/2014-November/019410.html [2] http://supercolony.gluster.org/mailman/listinfo/gluster-users |