Bug 961856

Summary: [FEAT] Add Glupy, a python bindings meta xlator, to GlusterFS project
Product: [Community] GlusterFS Reporter: Ram Raja <rraja>
Component: unclassifiedAssignee: Vijay Bellur <vbellur>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: mainlineCC: gluster-bugs, jclift, rraja
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-16 18:21:52 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:

Description Ram Raja 2013-05-10 15:04:58 UTC
Description of problem:
Add Glupy, a python bindings meta xlator, to GlusterFS project. For further information see here: http://www.linuxjournal.com/content/extending-glusterfs-python

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

How reproducible:
N/A

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Anand Avati 2013-05-10 15:07:24 UTC
REVIEW: http://review.gluster.org/4906 (glupy: Importing Jeff's glupy project into glusterfs) posted (#6) for review on master by Ramana Raja (rraja)

Comment 2 Anand Avati 2013-05-10 15:26:16 UTC
REVIEW: http://review.gluster.org/4906 (glupy: Importing Jeff's glupy project into glusterfs) posted (#7) for review on master by Ramana Raja (rraja)

Comment 3 Anand Avati 2013-05-10 21:15:38 UTC
COMMIT: http://review.gluster.org/4906 committed in master by Anand Avati (avati) 
------
commit 1e62ff42dfcf84ded563f710cb8da92fa0f41936
Author: Ram Raja <rraja>
Date:   Tue Apr 30 00:38:04 2013 +0530

    glupy: Importing Jeff's glupy project into glusterfs
    
    Change-Id: I3891ef6eaf6ede7c8cbedc3298ce2501a69b2b05
    BUG: 961856
    Original-author: Jeff Darcy <jdarcy>
    Signed-off-by: Ram Raja <rraja>
    Reviewed-on: http://review.gluster.org/4906
    Reviewed-by: Justin Clift <jclift>
    Tested-by: Justin Clift <jclift>

Comment 4 Anand Avati 2013-05-13 20:23:51 UTC
COMMIT: http://review.gluster.org/4907 committed in master by Anand Avati (avati) 
------
commit 68712c33b4c792449e7d49ae348f96f97175bbd9
Author: Ram Raja <rraja>
Date:   Tue Apr 30 00:47:56 2013 +0530

    glupy patch by Ram, Justin: Add/Modify fops, structure types, utility fns
    
    Extend the following fops with Python:
      * open
      * readv
      * writev
      * opendir
      * readdir
      * readdirp
      * stat
      * fstat
      * statfs
      * setxattr
      * getxattr
      * fsetxattr
      * fgetxattr
      * removexattr
      * fremovexattr
      * link
      * unlink
      * readlink
      * symlink
      * mkdir
      * rmdir
    
    Add fd_t, inode_t and iatt_t structure types.
    
    Modify loc_t structure type; Alter the data types of the following
    attributes - inode, parent, gfid, pargfid.
    
    Modify uuid2str function, which returns a string equivalent for a ctype
    object representing a gfid, to make use of python's 'uuid' module for
    accurate representation of uuids.
    
    by Justin Clift:
               Adjust debug-trace.py to work with Python 2.6
    
               Work around 'zero length field name in format' bug in
               negative.py's uuid2str function
    
               Fix indentation errors in negative.py, glupy.h,
               glupy.c, gluster.py
    
    Change-Id: If0fcfb2866e21c0380a973f8ffab9ea7b6a4cd5d
    BUG: 961856
    Signed-off-by: Ram Raja <rraja>
    Reviewed-on: http://review.gluster.org/4907
    Reviewed-by: Jeff Darcy <jdarcy>
    Reviewed-by: Justin Clift <jclift>
    Tested-by: Justin Clift <jclift>

Comment 5 Anand Avati 2013-05-14 20:11:27 UTC
REVIEW: http://review.gluster.org/5007 (configure.ac: build glupy with python2.7) posted (#2) for review on master by Kaleb KEITHLEY (kkeithle)

Comment 6 Anand Avati 2013-05-14 22:29:16 UTC
REVIEW: http://review.gluster.org/5007 (configure.ac: build glupy with installed python) posted (#3) for review on master by Kaleb KEITHLEY (kkeithle)

Comment 7 Anand Avati 2013-05-15 12:42:38 UTC
REVIEW: http://review.gluster.org/5007 (configure.ac: build glupy with installed python) posted (#4) for review on master by Kaleb KEITHLEY (kkeithle)

Comment 8 Anand Avati 2013-05-15 14:46:22 UTC
REVIEW: http://review.gluster.org/5007 (configure.ac: build glupy with installed python) posted (#5) for review on master by Kaleb KEITHLEY (kkeithle)

Comment 9 Anand Avati 2013-05-15 15:42:57 UTC
REVIEW: http://review.gluster.org/5013 (configure.ac: allow glupy to build using python 2.7) posted (#1) for review on master by Ramana Raja (rraja)

Comment 10 Anand Avati 2013-05-15 18:27:59 UTC
REVIEW: http://review.gluster.org/5013 (configure.ac: allow glupy to build using python 2.7) posted (#2) for review on master by Ramana Raja (rraja)

Comment 11 Anand Avati 2013-05-15 18:30:56 UTC
REVIEW: http://review.gluster.org/5007 (configure.ac: build glupy with installed python) posted (#6) for review on master by Kaleb KEITHLEY (kkeithle)

Comment 12 Anand Avati 2013-05-16 01:54:39 UTC
REVIEW: http://review.gluster.org/5007 (configure.ac: build glupy with installed python) posted (#7) for review on master by Kaleb KEITHLEY (kkeithle)

Comment 13 Anand Avati 2013-05-16 14:09:52 UTC
REVIEW: http://review.gluster.org/5007 (configure.ac: build glupy with installed python) posted (#8) for review on master by Kaleb KEITHLEY (kkeithle)

Comment 14 Anand Avati 2013-05-16 18:02:04 UTC
REVIEW: http://review.gluster.org/5007 (configure.ac: build glupy with installed python) posted (#9) for review on master by Kaleb KEITHLEY (kkeithle)

Comment 15 Anand Avati 2013-05-17 11:21:39 UTC
REVIEW: http://review.gluster.org/5007 (configure.ac: build glupy with installed python) posted (#10) for review on master by Kaleb KEITHLEY (kkeithle)

Comment 16 Anand Avati 2013-05-17 11:27:04 UTC
REVIEW: http://review.gluster.org/5007 (configure.ac: build glupy with installed python) posted (#11) for review on master by Kaleb KEITHLEY (kkeithle)

Comment 17 Anand Avati 2013-05-19 13:13:31 UTC
COMMIT: http://review.gluster.org/5007 committed in master by Vijay Bellur (vbellur) 
------
commit 10fbae681e072dd6359bf7a8c56e93c541c83b0b
Author: Kaleb S. KEITHLEY <kkeithle>
Date:   Tue May 14 16:07:03 2013 -0400

    configure.ac: build glupy with installed python
    
    IOW with more than just python2.6. Python2.7 is certainly what's on
    the vast majority of non-RHEL systems that are out there. Also our
    rpm.t regression test will build on epel-5 under mock; RHEL5 has
    Python2.4.
    
    Change-Id: I09c95c1fb6b3498e910ad239c4f0af7f786c3700
    BUG: 961856
    Signed-off-by: Kaleb S. KEITHLEY <kkeithle>
    Reviewed-on: http://review.gluster.org/5007
    Reviewed-by: Jeff Darcy <jdarcy>
    Tested-by: Gluster Build System <jenkins.com>

Comment 18 Anand Avati 2013-05-26 18:11:21 UTC
REVIEW: http://review.gluster.org/5093 (configure.ac: add build option for glupy) posted (#1) for review on master by Ramana Raja (rraja)

Comment 19 Anand Avati 2013-05-29 05:38:13 UTC
COMMIT: http://review.gluster.org/5093 committed in master by Anand Avati (avati) 
------
commit b0540090648a7670ef52e6733d127656f5aca5ed
Author: Ram Raja <rraja>
Date:   Sun May 26 21:55:23 2013 +0530

    configure.ac: add build option for glupy
    
    Check whether Python.h, glupy dependency, is installed in the system.
     ('Python.h' part of python-devel or python-dev package.)
    
    Allow following build options:
     --enable-glupy   build glupy; If dependencies are not met, abort
                      configure script run with error.
    
     --disable-glupy  don't build glupy even if dependencies are met.
    
     default          build glupy; If dependencies are not met, don't build
                      glupy and allow configure script run with warning.
    
    glupy-specific dependencies:
     python2.x, python-devel/python-dev package
    
    Change-Id: Ia495dd00cac7d12ad76645c8576a0adc0cb5d590
    BUG: 961856
    Signed-off-by: Ram Raja <rraja>
    Reviewed-on: http://review.gluster.org/5093
    Reviewed-by: Kaleb KEITHLEY <kkeithle>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Anand Avati <avati>