Bug 565882 - cobbler still uses mod_python on F12
Summary: cobbler still uses mod_python on F12
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 0.8
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Justin Sherrill
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space13
TreeView+ depends on / blocked
 
Reported: 2010-02-16 16:08 UTC by Michael Mráka
Modified: 2010-11-26 15:17 UTC (History)
4 users (show)

Fixed In Version: spacewalk-backend-0.8.19-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-26 15:17:21 UTC
Embargoed:


Attachments (Terms of Use)

Description Michael Mráka 2010-02-16 16:08:44 UTC
Description of problem:
We moved away from mod_python (to mod_wsgi) on F12 but cobbler still uses mod_python.

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

How reproducible:
always

Steps to Reproduce:
1. install spacewalk 0.8
2. enable /server-info in /etc/httpd/conf/http.conf
3. visit http://spacewalk/server-info
  
Actual results:
Loaded Modules: mod_wsgi.c, mod_ssl.c, mod_python.c, ...
Server Version: Apache/2.2.14 (Unix) DAV/2 mod_python/3.3.1 Python/2.6.2 mod_ssl/2.2.14 OpenSSL/1.0.0-fips-beta4 mod_wsgi/2.5
...
Current Configuration:
In file: /etc/httpd/conf.d/cobbler.conf
  33: <Directory "/var/www/cobbler/svc/">
  35:   PythonHandler services
  36:   PythonDebug on
  37:   PythonPath "sys.path + ['/var/www/cobbler/svc/']"
    : </Directory>
...
In file: /etc/httpd/conf.d/cobbler.conf
  33: <Directory "/var/www/cobbler/svc/">
  34:   SetHandler mod_python
    : </Directory>

Expected results:
no mod_python

Additional info:

Comment 1 Justin Sherrill 2010-02-22 15:22:27 UTC
Commits in spacewalk that converted it to use mod_wsgi

7d05c99a080951a4c055648f6cd9ab4eae74c5ef


For us we still wanted to be able to use mod_python in RHEL 5, so this basically adds a wrapper that emulates mod_python.  It doesn't emulate it at 100%, so it may not work 100% for cobbler.

-Justin

Comment 2 Devan Goodwin 2010-06-18 11:30:01 UTC
Cobbler has been updated to use mod_wsgi as of 2.0.4. cobbler-web still using mod_python, this will be addressed, but I don't believe this is a factor for Spacewalk.

Comment 3 Felix Kaechele 2010-10-22 07:32:04 UTC
Any news on the cobbler-web mod_wsgi port?

Comment 4 Devan Goodwin 2010-10-22 12:07:48 UTC
Nothing yet, I had a start of a patch to switch the web UI to mod_wsgi as well but did not have time to complete it. I can provide if anyone would like to pick up the work.

Comment 5 Jan Pazdziora 2010-11-19 16:03:41 UTC
Mass-moving to space13.

Comment 6 Jan Pazdziora 2010-11-26 15:17:21 UTC
(In reply to comment #1)
> Commits in spacewalk that converted it to use mod_wsgi
> 
> 7d05c99a080951a4c055648f6cd9ab4eae74c5ef

Marking as done for spacewalk-backend-0.8.19-1.


Note You need to log in before you can comment on or make changes to this bug.