Bug 1364877

Summary: Source install: configure script should check for python-devel package and rpcbind
Product: [Community] GlusterFS Reporter: Prashanth Pai <ppai>
Component: glupyAssignee: Kaleb KEITHLEY <kkeithle>
Status: CLOSED EOL QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: mainlineCC: atumball, bugs
Target Milestone: ---Keywords: EasyFix, StudentProject, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-07-15 07:44:32 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 Prashanth Pai 2016-08-08 05:57:12 UTC
Description of problem:

On Fedora 24, running ./configure script does not (check or) ask for python-devel package as requirement.

If one goes ahead with compilation after running ./configure script, it'll fail with following error:

 glupy.c:13:20: fatal error: Python.h: No such file or directory
 #include <Python.h>
                    ^
compilation terminated.
Makefile:608: recipe for target 'glupy.lo' failed

Compilation will continue normally on installing python-devel RPM package which provides Python.h

./Configure script should warn about absence of Python.h file OR skip building glupy if python-devel is absent.

Comment 1 Prashanth Pai 2016-08-08 06:01:29 UTC
Further, confgiure script should also check for presence of rpcbind.

[root@f24 ~]# service glusterd start
Reloading systemd:                                         [  OK  ]
Starting glusterd (via systemctl):  Failed to start glusterd.service: Unit rpcbind.service not found.
                                                           [FAILED]
[root@f24 ~]# service glusterd status
● glusterd.service - GlusterFS, a clustered file-system server
   Loaded: loaded (/usr/local/lib/systemd/system/glusterd.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2016-08-08 11:02:03 IST; 27min ago
 Main PID: 1128 (code=exited, status=15)

Aug 08 11:01:17 f24 export-brick2-data[1157]: epoll.h 1
Aug 08 11:01:17 f24 export-brick2-data[1157]: xattr.h 1
Aug 08 11:01:17 f24 export-brick2-data[1157]: st_atim.tv_nsec 1
Aug 08 11:01:17 f24 export-brick2-data[1157]: package-string: glusterfs 3.8.1
Aug 08 11:02:03 f24 systemd[1]: Stopping GlusterFS, a clustered file-system server...
Aug 08 11:02:03 f24 systemd[1]: glusterd.service: Main process exited, code=exited, status=15/n/a
Aug 08 11:02:03 f24 systemd[1]: Stopped GlusterFS, a clustered file-system server.
Aug 08 11:02:03 f24 systemd[1]: glusterd.service: Unit entered failed state.
Aug 08 11:02:03 f24 systemd[1]: glusterd.service: Failed with result 'exit-code'.
Aug 08 11:29:35 f24 systemd[1]: [/usr/local/lib/systemd/system/glusterd.service:12] Path '-${prefix}/etc/sysconfig/gl

Comment 2 Yaniv Kaul 2019-04-18 09:52:50 UTC
Kaleb, any intention to handle this, delegate to an intern, or shall we close-wontfix this?

Comment 3 Amar Tumballi 2019-07-15 07:44:32 UTC
glupy is removed from codebase now.