Ticket #755 (closed task: fixed)

Opened 8 years ago

Last modified 8 years ago

Deploy our Trac and Moin setups with mod_wsgi

Reported by: lmacken Owned by: nobody
Priority: blocker Milestone:
Component: General Version:
Severity: Normal Keywords:
Cc: ricky, mdomsch, toshio, lmacken, mmcgrath Blocked By:
Blocking: Sensitive:


We're starting to use mod_wsgi for most of our TurboGears? applications in the app cluster. The only problem here is that mod_wsgi and mod_python do not play well together.

In an effort to deploy bodhi on app1, I hit an issue where curl http://localhost/updates wouldn't even return. Disabling mod_python (and moin and trac) on that box solved the problem.

We should migrate our existing hosted and moin deployments (and anything else that uses mod_python) over to use mod_wsgi.

Change History

comment:1 Changed 8 years ago by toshio

  • Cc mdomsch, toshio added

mirrormanager's mirrorlist_server would also be affected by this.

comment:2 Changed 8 years ago by mdomsch

mirrormanager/mirrors/server-scripts/mirrorlist_client.py is the only mod_python bit I've got, and it's quite small. If someone could point me at a mod_python -> mod_wsgi conversion HOWTO, I'd appreciate it.

comment:3 Changed 8 years ago by mdomsch

  • Cc lmacken, mmcgrath added


has my pass at a WSGI app for mirrorlist_client. Review by folks familiar with wsgi would be appreciated. Note - this is on mirrormanager branch mod_wsgi at the moment.

comment:4 Changed 8 years ago by ricky

Wow, you're fast :-). We'll probably look at testing it with mod_wsgi tomorrow. Would you mind renaming "app" to "application" though? I think mod_wsgi will look for that name.

comment:5 Changed 8 years ago by mdomsch

done and checked in. Note, this is also on the top of my 'security' branch, which has all the changes necessary for metalinks. So for _testing_ purposes, let's give this a run on pt9, but don't try putting this branch into production until I'm back from vacation, unless you want to deal with any breakage while I'm gone. :-)

comment:6 Changed 8 years ago by ricky

  • Status changed from new to closed
  • Resolution set to fixed

Trac is now deployed using mod_wsgi.

Note: See TracTickets for help on using tickets.