Bug 481162 - ISE When Deploying Config File via SSM
ISE When Deploying Config File via SSM
Product: Spacewalk
Classification: Community
Component: WebUI (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Devan Goodwin
Jesus M. Rodriguez
Depends On:
Blocks: space05
  Show dependency treegraph
Reported: 2009-01-22 09:57 EST by Devan Goodwin
Modified: 2009-09-17 03:09 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-09-17 03:09:27 EDT
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 Devan Goodwin 2009-01-22 09:57:59 EST
When deploying a config file to multiple systems via the System Set Manager, if one of these systems does not have the deploy action enabled the entire operation fails and an ISE appears in the web UI.

Steps to Reproduce:
1. Register two systems. (CentOS 5 in my case)
2. Enable deploy action on one of the systems.
3. Create a configuration channel with a single file.
4. Manually subscribe each system to the channel from their individual SDC Configuration tab.
5. View system list, select both systems, click "Update List" button.
6. Switch to System Set Manager, Configuration Tab > Deploy Files.
7. Select the file from the channel and click "Schedule File Deploy".
8. View confirmation screen, note that only the system with deploy enabled is in the list, click "Confirm File Deploy".

Actual results:

ISE. Stack trace looks like:

CPU Arch: i686-redhat-linux]]. The server will be unable to deploy config files until this capability is provided.
        at com.redhat.rhn.manager.action.ActionManager.createConfigActionForServers(ActionManager.java:393)
        at com.redhat.rhn.manager.action.ActionManager.createConfigAction(ActionManager.java:432)
        at com.redhat.rhn.frontend.action.configuration.ssm.ConfigConfirmSubmitAction.confirm(ConfigConfirmSubmitAction
        at com.redhat.rhn.frontend.action.configuration.ssm.ConfigConfirmSubmitAction.deploy(ConfigConfirmSubmitAction.
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:616)
        at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270)
        at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187)
        at org.apache.struts.actions.LookupDispatchAction.execute(LookupDispatchAction.java:150)
        at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
        at com.redhat.rhn.frontend.struts.RhnRequestProcessor.process(RhnRequestProcessor.java:82)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
        at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at com.redhat.rhn.frontend.servlets.AuthFilter.doFilter(AuthFilter.java:73)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)


Additional info:

It looks like the SSM is displaying the correct list of systems on the confirmation screen (i.e. with non-deploy enabled systems filtered out) but when it goes to actually perform the action it attempts to run on the entire list.
Comment 1 Devan Goodwin 2009-01-22 13:41:35 EST
Fixed in commit: 8eef26ed0e7d0aa0f4b6b98926a822c169a16c39
Comment 2 Jesus M. Rodriguez 2009-04-14 10:12:25 EDT
Spacewalk 0.5 released.
Comment 3 Miroslav Suchý 2009-09-17 03:09:27 EDT
Spacewalk 0.5 has been released for long time ago.

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