Bug 1053854 - Install /var/lib/glusterd/groups/virt by default
Summary: Install /var/lib/glusterd/groups/virt by default
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: build
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Niels de Vos
QA Contact:
URL:
Whiteboard:
: 985085 (view as bug list)
Depends On:
Blocks: 829734 1129592
TreeView+ depends on / blocked
 
Reported: 2014-01-15 20:33 UTC by Niels de Vos
Modified: 2014-11-11 08:27 UTC (History)
5 users (show)

Fixed In Version: glusterfs-3.6.0beta1
Clone Of:
Environment:
Last Closed: 2014-11-11 08:27:03 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Niels de Vos 2014-01-15 20:33:17 UTC
Description of problem:
/var/lib/glusterd/groups/virt is not installed by default, but that should be the case. It is provided as extras/groups-virt.example.

Version-Release number of selected component (if applicable):
current master

Expected results:
"make install" should correctly install this file, and the rpm packages should include it.

Comment 1 Anand Avati 2014-01-15 20:35:48 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)

Comment 2 Anand Avati 2014-01-16 14:20:48 UTC
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)

Comment 3 Anand Avati 2014-01-17 12:25:08 UTC
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)

Comment 4 Anand Avati 2014-01-21 14:48:50 UTC
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>

Comment 5 Kaleb KEITHLEY 2014-02-11 19:55:07 UTC
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)

Comment 6 Niels de Vos 2014-09-22 12:35:05 UTC
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/

Comment 7 Niels de Vos 2014-09-27 17:43:50 UTC
*** Bug 985085 has been marked as a duplicate of this bug. ***

Comment 8 Niels de Vos 2014-11-11 08:27:03 UTC
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


Note You need to log in before you can comment on or make changes to this bug.