Bug 593402 - Cobbler-web breaks /rpc/api over http (which breaks taskomatic)
Cobbler-web breaks /rpc/api over http (which breaks taskomatic)
Product: Spacewalk
Classification: Community
Component: Server (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Michael Mráka
Red Hat Satellite QA List
Depends On:
Blocks: space16
  Show dependency treegraph
Reported: 2010-05-18 14:05 EDT by Justin Sherrill
Modified: 2011-12-22 11:50 EST (History)
7 users (show)

See Also:
Fixed In Version: spacewalk-backend-1.6.12-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2011-12-22 11:50:52 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Justin Sherrill 2010-05-18 14:05:24 EDT
1.  Install spacewalk
2.  Install cobbler-web
3.  restart spacewalk
4.  see if taskomatic is up (It won't be)
5.  see if you can access http://localhost/rpc/api   via xmlrpc (You won't be able to).

We need to investigate why cobbler-web's http config is breaking spacewalk.
Comment 1 Jan Pazdziora 2010-11-19 11:05:44 EST
Mass-moving to space13.
Comment 2 Erik van Pienbroek 2010-11-23 08:00:23 EST
I think this is caused by the fact that both the cobbler_web.conf and zz-spacewalk-server.conf contain a <VirtualHost> section. The cobbler_web.conf specifies one for port 80 (<VirtualHost *:80>) while the zz-spacewalk-server.conf defines one for the default (it's just <VirtualHost>).

As the VirtualHost for port 80 (as defined in the cobbler_web.conf) has preference over the default VirtualHost (as defined in zz-spacewalk-server.conf) the rewrite engine doesn't get enabled for port 80. This results in breakage of the spacewalk rewrite rules which are mentioned in zz-spacewalk-www.conf.

A simple solution to this would be to adjust the cobbler_web.conf to something like this:

<VirtualHost *:80>

RewriteEngine on
RewriteOptions inherit



With this change spacewalk works fine again. A side effect of this is that apache complains on startup about the <VirtualHost> mentioned in zz-spacewalk-server.conf:
[Tue Nov 23 13:49:23 2010] [warn] _default_ VirtualHost overlap on port 80, the first has precedence
Comment 3 Miroslav Suchý 2011-04-11 03:34:19 EDT
We did not have time for this one during Spacewalk 1.4 time frame. Mass moving to Spacewalk 1.5.
Comment 4 Miroslav Suchý 2011-04-11 03:37:30 EDT
We did not have time for this one during Spacewalk 1.4 time frame. Mass moving to Spacewalk 1.5.
Comment 5 Jan Pazdziora 2011-07-20 07:52:57 EDT
Aligning under space16.
Comment 6 Clifford Perry 2011-08-05 09:00:52 EDT
We do not support cobbler-web installation on Spacewalk. Maybe we should investigate adding a conflicts statement into rpm spec file until someone implements code to make this work side-by-side correctly. 

Comment 7 Michael Mráka 2011-08-19 04:12:46 EDT
Put a conflict into rpm for now
commit fe6d334ff5bc86608b944fdc3300f115e78da54d
    593402 - cobbler-web is known to break our configuration
Comment 8 Milan Zázrivec 2011-12-22 11:50:52 EST
Spacewalk 1.6 has been released.

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