ReviewBoard install on RHEL7, mod_wsgi and pyenv, any updated doc or process ?

21 views
Skip to first unread message

Laurent M.

unread,
Jun 17, 2020, 1:56:44 PM6/17/20
to Review Board Community
Good afternoon,

As much as the install on CentOs went fine, the one in RHEL is just finding issue after issues, this is becoming a nightmare.

I was wondering if anyone had it installed successfully and what version/setup/steps they were using.

This is a small recap of my experience until now:
- OS is RHEL 7.6.
- It comes with an old Python version 2.7.5 and a set of modules frozen in the distribution (can't upgrade them).
- Trying to install RB on it fail as half of the module are outdated (bad idea anyway to install it in the system python..)
- Install pyenv in one of the user environment, created a virtual env base of 2.7.5 and updated as it should with all requirements.
- Trying to use virtualenv-multiverse on the system python (to create the virtual env) fail as it is also complaining about old modules. And when it install, it break at execution with some 10 year old error message.
- Using only pyenv, switching to the user pyenv and installing RB in it, all went fine \o/, no error.

Now come the time to link it to apache....
- Apache in the repository is the 2.6 version. Installed and working and it will only be used for RB.
- Installed mod_wsgi from the repository.
- Try to run both and link them to RB and that's where it start. After hours of looking around, I found that:
--> The wsgi module from the repository is for python 3.4. Too bad that both the installed python and RB does not support it. (btw how do they expect to run a 3.4 mod with a system 2.7.5 and broken multiverse.....)
--> There is a 2.7 version but this is apache 2.6 and it does not like it.
--> Removing apache 2.6, installing apache 2.4 and the mod_wsgi. That should be good.

Well no. It still cannot find the right python environment and whatever I change I get either RB is taking a nap or a error 400 or error 500.

I went through the whole RB site instructions, stackexchange and RH doc. It just seems more and more confusing each time none is recommending the same setup (except get out of RH)
As much as installing RB went fine and was flawless, the integration to have it working is a nightmare (in my case).
It seems to that most of the issue now is with using apache+mod_wsgi with the pyenv.

What do you use to run the server ? Did I forgot something obvious ?
If anyone knows a step/configuration or process to have a successful installation on RH7.6 I would be interested,I can't imagine I'm the only one to have meet all theses issues.

Best regards.

L.MARECHAL


Reply all
Reply to author
Forward
0 new messages