Bug 653889 - httpd is missing file for map KeyToSatId
Summary: httpd is missing file for map KeyToSatId
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Installation
Version: 1.2
Hardware: Unspecified
OS: Unspecified
low
urgent
Target Milestone: ---
Assignee: Jan Pazdziora (Red Hat)
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space12
TreeView+ depends on / blocked
 
Reported: 2010-11-16 11:53 UTC by Sandro Mathys
Modified: 2010-11-19 16:16 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-11-19 16:16:32 UTC
Embargoed:


Attachments (Terms of Use)
proposed patch, changing the path in the erroneus config file (574 bytes, patch)
2010-11-16 11:54 UTC, Sandro Mathys
no flags Details | Diff

Description Sandro Mathys 2010-11-16 11:53:05 UTC
Description of problem:
After an upgrade from spacewalk 1.1, httpd is missing the file /etc/rhn/satellite-httpd/conf/satidmap.pl

Version-Release number of selected component (if applicable):
http://koji.spacewalkproject.org/spacewalk/split/spacewalk-5E/server/spacewalk-5E-1.2/x86_64/os/

How reproducible:
Only tried upgrading once

Steps to Reproduce:
1. Upgrade following https://fedorahosted.org/spacewalk/wiki/HowToUpgrade
2. rhn-satellite start (part of the above howto)
3. Read printed output
  
Actual results:
Starting httpd: Syntax error on line 7 of /etc/rhn/satellite-httpd/conf/rhn/rhn_monitoring.conf:
RewriteMap: file for map KeyToSatId not found:/etc/rhn/satellite-httpd/conf/satidmap.pl
                                                           [FAILED]


Expected results:
Starting httpd:                                            [  OK  ]


Additional info:
# ls /etc/rhn/satellite-httpd/conf/satidmap.pl
ls: /etc/rhn/satellite-httpd/conf/satidmap.pl: No such file or directory

# yum provides */satidmap.pl | grep satidmap.pl
Filename    : /usr/share/rhn/satidmap.pl

Comment 1 Sandro Mathys 2010-11-16 11:54:20 UTC
Created attachment 460816 [details]
proposed patch, changing the path in the erroneus config file

Comment 2 Jan Pazdziora (Red Hat) 2010-11-16 12:25:14 UTC
The file /etc/rhn/satellite-httpd/conf/rhn/rhn_monitoring.conf in spacewalk-config-1.2.7-1.el5.noarch.rpm contains

RewriteMap KeyToSatId prg:/usr/share/rhn/satidmap.pl

Can you check that you have spacewalk-config updated, and why it does not have the correct content?

Comment 3 Jan Pazdziora (Red Hat) 2010-11-16 12:38:35 UTC
Upon upgrade the new config file was stored in /etc/rhn/satellite-httpd/conf/rhn/rhn_monitoring.conf.rpmnew since the OP had some changes in the original rhn_monitoring.conf file.

I've not updated HowToUpgrade, noting to check .rpmnew files.

This is really NOTABUG but let's move to ON_QA to recheck.

Comment 4 Jan Pazdziora (Red Hat) 2010-11-19 16:16:32 UTC
With Spacewalk 1.2 released, marking as CLOSED CURRENTRELEASE.

https://www.redhat.com/archives/spacewalk-list/2010-November/msg00111.html


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