Bug 633051

Summary: Cannot modify the spacewalk configuration page (admin -> spacewalk configuration)
Product: [Community] Spacewalk Reporter: Balazs Zachar <balazs.zachar>
Component: WebUIAssignee: Justin Sherrill <jsherril>
Status: CLOSED NOTABUG QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: low    
Version: 1.1CC: cperry
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-05 14:13:47 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 723481    
Attachments:
Description Flags
related lines of the tomcat log none

Description Balazs Zachar 2010-09-12 15:56:01 UTC
Created attachment 446772 [details]
related lines of the tomcat log

Description of problem:
I have tried to enable the Enable Monitoring Scout checkbox but I got an Internal Server error message

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


How reproducible:
Just try to update ANY tab in the Spacewalk configuration menu.


Related tomcat logs attached

Comment 1 Justin Sherrill 2010-09-13 14:33:39 UTC
From the logs, it looks like your sudo is not setup correctly.  

It should contain the following:


## RHN specifics ##
Cmnd_Alias CONFIG_RHN = /usr/sbin/rhn-sat-restart-silent,\
                        /usr/bin/rhn-config-satellite.pl,\
                        /usr/bin/rhn-satellite-activate,\
                        /usr/bin/rhn-bootstrap,\
                        /usr/bin/rhn-load-ssl-cert.pl,\
                        /usr/bin/rhn-ssl-tool,\
                        /etc/rc.d/np.d/step Monitoring install,\
                        /etc/rc.d/np.d/step MonitoringScout install,\
                        /etc/rc.d/np.d/step Monitoring uninstall,\
                        /etc/rc.d/np.d/step MonitoringScout uninstall,\
                        /sbin/service Monitoring restart,\
                        /sbin/service MonitoringScout restart,\
                        /sbin/service taskomatic restart

# The CONFIG_RHN commands are required for reconfiguration of a
# running RHN Satellite.  They should be enabled for proper operation
# of the RHN Satellite.
apache  ALL=(root)      NOPASSWD: CONFIG_RHN
tomcat  ALL=(root)      NOPASSWD: CONFIG_RHN



Does this work for you?

Comment 2 Balazs Zachar 2010-09-13 14:54:11 UTC
Hi,

You are right! Sorry about the BUG report.

I overwrote the sudoers file of the spacewalk server with a common linux configuration channel.


Thanks for the help,
Balazs

Comment 3 Jan Pazdziora (Red Hat) 2010-10-27 08:32:34 UTC
Mass-aligning under space12, so that we don't lose track of this bugzilla. This however does not mean that we plan (will be able to) address this bug in Spacewalk 1.2.

Comment 4 Jan Pazdziora (Red Hat) 2010-11-19 16:03:57 UTC
Mass-moving to space13.

Comment 5 Miroslav Suchý 2011-04-11 07:32:36 UTC
We did not have time for this one during Spacewalk 1.4 time frame. Mass moving to Spacewalk 1.5.

Comment 6 Miroslav Suchý 2011-04-11 07:36:51 UTC
We did not have time for this one during Spacewalk 1.4 time frame. Mass moving to Spacewalk 1.5.

Comment 7 Jan Pazdziora (Red Hat) 2011-07-20 11:50:34 UTC
Aligning under space16.