Bug 761809 (GLUSTER-77)

Summary: mod_glusterfs testing
Product: [Community] GlusterFS Reporter: Basavanagowda Kanur <gowda>
Component: libglusterfsclientAssignee: Raghavendra G <raghavendra>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: pre-2.0CC: gluster-bugs, gowda, vijay
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: RTNR Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Basavanagowda Kanur 2009-06-25 11:17:02 UTC
[Migrated from RT] - ticket 962 [http://support.gluster.com/rt/Ticket/Display.html?id=962]

Sat Apr 18 02:56:40 2009  	 amar - Ticket created  	 	 
version: glusterfs - 2.0.0pre43

Just doing apache 2.2 testing..

* README.txt is not 80columns aligned
* README.txt doesn't speak anything about rpm installs of apache (it
says to build apache from source again, which is not desired)

*

errors seen:
bash# make install > /dev/null
mod_glusterfs-build.c: In function 'mod_glfs_index_directory':
mod_glusterfs-build.c:2702: warning: initialization makes pointer from
integer without a cast
mod_glusterfs-build.c: In function 'mod_glfs_handler':
mod_glusterfs-build.c:3025: warning: initialization makes pointer from
integer without a cast
mod_glusterfs-build.c:3138: warning: cast to pointer from integer of
different size

[root@client04 2.2]# pwd
/tmp/amar-testing/glusterfs-2.0.0pre43/mod_glusterfs/apache/2.2


[root@client04 2.2]# apxs -n glusterfs -ia
/tmp/install/lib/glusterfs/2.0.0pre43/apache/2.2/mod_glusterfs.so
/usr/build/instdso.sh SH_LIBTOOL='/usr/build/libtool'
/tmp/install/lib/glusterfs/2.0.0pre43/apache/2.2/mod_glusterfs.so
/usr/modules
/usr/build/libtool --mode=install cp
/tmp/install/lib/glusterfs/2.0.0pre43/apache/2.2/mod_glusterfs.so
/usr/modules/
cp /tmp/install/lib/glusterfs/2.0.0pre43/apache/2.2/mod_glusterfs.so
/usr/modules/mod_glusterfs.so
Warning! dlname not found in /usr/modules/mod_glusterfs.so.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/modules/mod_glusterfs.so
[activating module `glusterfs' in /usr/conf/httpd.conf]

I could get the httpd to run with glusterfs and load glusterfs handle
when particular path was accessed. But it was not able to read any data.
seems the directory indexing is not supported too..


As there are still outstanding patches with libglusterfsclient, we can
mark mod_glusterfs as 'known issue', or we can exclude the whole dir
from release tarball.


-- 
Amar Tumballi


-- 
Amar Tumballi

--------------------------------------------------------------------------------
#   	Thu Apr 23 23:08:10 2009 	raghavendra - Correspondence added 

Amar,

with the patches I've sent to reviews, mod_glusterfs should be working
fine. I have been running tests (using siege) on my laptop, and there
seems to be no issues with data retrival. Will update about directory
indexing soon after testing it. Though I've tested only mod_glusterfs
for apache-2.2.11, ports to apache-1.3 and lighttpd-1.4.12 are also
sent to reviews. will be doing testing on apache-1.3 and lighttpd-1.4

regards,
Raghavendra.

Comment 1 Raghavendra G 2009-07-29 14:16:37 UTC
apache-2.2 has been tested. And since we will be having mod_glusterfs replaced by booster, I am closing the bug.