Description of problem: If glupy is disabled, BUILD_PYTHON_SITE_PACKAGES variable will be empty and cliutils will get installed in /gluster/cliutils instead of /usr/local/lib/python2.7/site-packages or /usr/lib/python2.7/site-packages directory. glustereventsd fails with following error ImportError: No module named cliutils
REVIEW: http://review.gluster.org/15305 (packaging/eventsapi: Make Python site-packages variable global) posted (#1) for review on master by Aravinda VK (avishwan)
COMMIT: http://review.gluster.org/15305 committed in master by Aravinda VK (avishwan) ------ commit f463c4615ba93e2ebe7eb12a2ebc13333ecaa016 Author: Aravinda VK <avishwan> Date: Wed Aug 24 14:02:08 2016 +0530 packaging/eventsapi: Make Python site-packages variable global Python site-packages path is assigned when glupy is enabled. Eventsapi will not work as expected if glupy is disabled using ./configure --disable-glupy. With this patch, all the Python variables are moved out of glupy and used inside it. systemd services will fail if we import gluster.cliutils python library which is installed in /usr/local/lib/python.2.7/site-packages or some other location. With this patch, Environment variable is added in systemd service file. BUG: 1369721 Change-Id: I9416240f03889e3bbcb4cd375e27c784fa9ca277 Signed-off-by: Aravinda VK <avishwan> Reviewed-on: http://review.gluster.org/15305 Smoke: Gluster Build System <jenkins.org> Reviewed-by: Kaleb KEITHLEY <kkeithle> Tested-by: Atin Mukherjee <amukherj> NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.org>
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.9.0, please open a new bug report. glusterfs-3.9.0 has been announced on the Gluster mailinglists [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://lists.gluster.org/pipermail/gluster-users/2016-November/029281.html [2] https://www.gluster.org/pipermail/gluster-users/