Bug 399301 - Review Request: glusterfs - Cluster File System
Summary: Review Request: glusterfs - Cluster File System
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-26 10:35 UTC by Matthias Saou
Modified: 2013-01-18 15:35 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-02-03 20:20:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matthias Saou 2007-11-26 10:35:05 UTC
Spec URL: http://thias.fedorapeople.org/review/glusterfs/glusterfs.spec
SRPM URL: http://thias.fedorapeople.org/review/glusterfs/glusterfs-1.3.7-4.src.rpm
Description:
GlusterFS is a clustered file-system capable of scaling to several
peta-bytes. It aggregates various storage bricks over Infiniband RDMA
or TCP/IP interconnect into one large parallel network file
system. GlusterFS is one of the most sophisticated file system in
terms of features and extensibility.  It borrows a powerful concept
called Translators from GNU Hurd kernel. Much of the code in GlusterFS
is in userspace and easily manageable.

Comment 1 Gwyn Ciesla 2007-12-06 03:09:38 UTC
SPECS differ:
4c4
< Release: 6%{?dist}
---
> Release: 4%{?dist}
12d11
< Patch1: glusterfs-1.3.7-fstab-vol.patch
104d102
< %patch1 -p1 -b .fstab-vol
172d169
< %dir /var/log/glusterfs/
193,196d189
< * Mon Dec  3 2007 Matthias Saou <http://freshrpms.net/> 1.3.7-6
< - Re-add the /var/log/glusterfs directory in the client sub-package (required).
< - Include custom patch to support vol= in fstab for -n glusterfs client option.
< 

Error building with new spec:
glusterfs-1.3.7-fstab-vol.patch: No such file or directory

Comment 2 Matthias Saou 2007-12-10 09:45:23 UTC
Yeah, the package has been updated a few times. Just look in the directory and
you'll find the newer source rpms as well as that patch :
http://thias.fedorapeople.org/review/glusterfs/

Comment 3 Gwyn Ciesla 2007-12-10 12:35:48 UTC
Ah, much better.  This builds.

rpmlint:

Clean for SRPM.

glusterfs-client.i386: W: no-documentation
The package contains no documentation (README, doc, etc).
You have to include documentation files.

glusterfs-client.i386: W: log-files-without-logrotate /var/log/glusterfs
This package contains files in /var/log/ without adding logrotate
configuration for them.

glusterfs-devel.i386: W: no-documentation
The package contains no documentation (README, doc, etc).
You have to include documentation files.

glusterfs-devel.i386: W: no-dependency-on glusterfs
glusterfs-libs.i386: W: obsolete-not-provided glusterfs-common
If a package is obsoleted by a compatible replacement, the obsoleted package
must also be provided in order to provide clean upgrade paths and not cause
unnecessary dependency breakage.  If the obsoleting package is not a compatible
replacement for the old one, leave out the provides.

glusterfs-server.i386: W: log-files-without-logrotate /var/log/glusterfs
This package contains files in /var/log/ without adding logrotate
configuration for them.

glusterfs-server.i386: W: incoherent-subsys /etc/init.d/glusterfsd $prog
The filename of your lock file in /var/lock/subsys/ is incoherent
with your actual init script name. For example, if your script name
is httpd, you have to use 'httpd' as the filename in your subsys directory.
It is also possible that rpmlint gets this wrong, especially if the init
script contains nontrivial shell variables and/or assignments.  These
cases usually manifest themselves when rpmlint reports that the subsys name
starts a with '$'; in these cases a warning instead of an error is reported
and you should check the script manually.

glusterfs-server.i386: W: incoherent-subsys /etc/init.d/glusterfsd $prog
The filename of your lock file in /var/lock/subsys/ is incoherent
with your actual init script name. For example, if your script name
is httpd, you have to use 'httpd' as the filename in your subsys directory.
It is also possible that rpmlint gets this wrong, especially if the init
script contains nontrivial shell variables and/or assignments.  These
cases usually manifest themselves when rpmlint reports that the subsys name
starts a with '$'; in these cases a warning instead of an error is reported
and you should check the script manually.

glusterfs-server.i386: W: incoherent-subsys /etc/init.d/glusterfsd $prog
The filename of your lock file in /var/lock/subsys/ is incoherent
with your actual init script name. For example, if your script name
is httpd, you have to use 'httpd' as the filename in your subsys directory.
It is also possible that rpmlint gets this wrong, especially if the init
script contains nontrivial shell variables and/or assignments.  These
cases usually manifest themselves when rpmlint reports that the subsys name
starts a with '$'; in these cases a warning instead of an error is reported
and you should check the script manually.

glusterfs-server.i386: W: incoherent-init-script-name glusterfsd
The init script name should be the same as the package name in lower case,
or one with 'd' appended if it invokes a process by that name.


Comment 4 Matthias Saou 2007-12-10 13:15:15 UTC
Hmm, I'm not sure what copy/pasting rpmlint messages brings us...
- Docs : they're in the libs package which is required by both the client and
server packages in order to not duplicate them.
- Log rotation : the server doesn't support log rotation, so it's not possible
to include a logrotate entry for now, and I think it's the same for the client
(feel free to check)
- Devel doesn't require the "main" package, because there is no such package...
it does properly require the libs sub-package.
- Obsoletes isn't provided because nothing is known to require the old name.
- Incoherent subsys and init script name are false positives.

I'm glad someone takes the time to look at the package, but I'd appreciate even
more if it wasn't just to report superficial rpmlint warnings. If you could
manually write what you think is wrong and needs fixing, I would really appreciate.

Comment 5 Gwyn Ciesla 2007-12-10 14:13:08 UTC
My point in including the rpmlint output was simply to fulfill the first MUST in
the ReviewGuidelines, which I belive to be valuable.  As long as there's a
rational reason for ignoring an rpmlint warning, I'm OK with doing it, as long
as it's documented in the review bug, and it is, so that's fine with me.

More very shortly. . . 

Comment 6 Gwyn Ciesla 2007-12-10 15:15:58 UTC
Everything else looks great upon full review.

APPROVED.

Comment 7 Matthias Saou 2007-12-10 15:56:02 UTC
FYI, the next release will implement log rotation upon SIGHUP, so I'll add that
to the package when I'll update it. I'll also try to include better docs, but it
isn't that easy, since upstream relies heavily upon their wiki.

Thanks for the review!

New Package CVS Request
=======================
Package Name: glusterfs
Short Description: Cluster File System
Owners: thias
Branches: F-7 F-8 EL-4 EL-5
InitialCC:
Cvsextras Commits: yes

Comment 8 Gwyn Ciesla 2007-12-10 16:08:19 UTC
> FYI, the next release will implement log rotation upon SIGHUP, so I'll add that
> to the package when I'll update it. I'll also try to include better docs, but it
> isn't that easy, since upstream relies heavily upon their wiki.

I can see where that would complicate things. :)

> Thanks for the review!

Very welcome.

Comment 9 Kevin Fenzi 2007-12-10 16:55:45 UTC
Are the EL branches useful here? RHEL doesn't ship with FUSE at all, so can this
package even build there?


Comment 10 Matthias Saou 2007-12-10 17:07:07 UTC
(In reply to comment #9)
> Are the EL branches useful here? RHEL doesn't ship with FUSE at all, so can this
> package even build there?

Oops, very good remark indeed. But the server side might be useful on RHEL, as
it doesn't require fuse. The best solution would probably be to build the RHEL
packages with the client sub-package disabled by default, and include a rebuild
option to enable it (for people who, like me, have their own RHEL fuse kernel
module package). Does it sound like a plan?

Comment 11 Gwyn Ciesla 2007-12-10 17:20:26 UTC
Sounds reasonable to me.

Comment 12 Kevin Fenzi 2007-12-10 17:33:37 UTC
oh, I missed that the server package doesn't need fuse.
Yeah, that sounds very reasonable, just wanted to make sure the EL branches
would be useful. 

cvs done.

Comment 13 Gwyn Ciesla 2007-12-20 13:02:51 UTC
A. Very useful,. using it myself now from my review builds.

B. Any plans to build it in Fedora? :)

Comment 14 Matthias Saou 2008-02-03 20:20:03 UTC
I've rebuilt glusterfs on all requested branches. The tricky ones were :
 * Both EL, for which I added the "--without client" rebuild option.
 * EL-4 in which python is too old, so I added the "--without python" option.

Maybe I'll poke upstream about the fact that it would have been much easier for
me if the features just got disabled if the requirements aren't met, as it's
currently required to explicitly pass configure options to disable the features
when such is the case.

Comment 15 Kaleb KEITHLEY 2013-01-18 13:29:20 UTC
Package Change Request
======================
Package Name: glusterfs
New Branches: 
Owners: kkeithle
InitialCC: matthias,jonathansteffan

Change owner to kkeithle. Matthias Saou (thias) has released ownership to allow me to take over ownership.

http://fedoraproject.org/wiki/Package_SCM_admin_requests#Package_Change_Requests_for_existing_packages says ownership changes can me made through the package database web interface, but where? Or by opening an Admin request, but how?

Comment 16 Gwyn Ciesla 2013-01-18 15:34:48 UTC
Use pkgdb.


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