Bug 831145

Summary: ISE (or unchanged entitlements) when changing channel entitlements in the list of 500 displayed channels
Product: Red Hat Satellite 5 Reporter: Jiří Mikulka <jmikulka>
Component: WebUIAssignee: Tomas Lestach <tlestach>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Hutař <jhutar>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 550CC: cperry, dyordano, jhutar, mminar
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: spacewalk-setup-1.7.9-14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 831143 Environment:
Last Closed: 2012-09-21 09:16:48 UTC Type: Bug
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: 831143    
Bug Blocks: 818987    

Description Jiří Mikulka 2012-06-12 09:54:50 UTC
+++ This bug was initially created as a clone of Bug #831143 +++

Description of problem:
In WebUI one is unable to change count of channel entitlements for an organization when 500 channels is displayed (only in this case)! It results in ISE + traceback in /var/log/tomcat6/catalina.out and channel entitlements remain unchanged.

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

How reproducible:
always

Steps to Reproduce:
1. in WebUI - admin tab, select some organization, then click Subscriptions, Software Channel Entitlements
2. display 500 channels per page
3. change regular/flex entitlements of some channel and click Update Organization
4. ISE (or unchanged entitlements) should appear
  
Actual results:
ISE (or unchanged entitlements) appear + traceback in /var/log/tomcat6/catalina.out:

[TP-Processor7] ERROR com.redhat.rhn.frontend.servlets.SessionFilter - Error during transaction. Rolling back
java.lang.IllegalStateException: Parameter count exceeded allowed maximum: 512
	at org.apache.tomcat.util.http.Parameters.addParam(Parameters.java:335)
	at org.apache.tomcat.util.http.Parameters.processParameters(Parameters.java:456)
	at org.apache.tomcat.util.http.Parameters.processParameters(Parameters.java:365)
	at org.apache.catalina.connector.Request.parseParameters(Request.java:2593)
	at org.apache.catalina.connector.Request.getParameter(Request.java:1064)
	at org.apache.catalina.connector.RequestFacade.getParameter(RequestFacade.java:355)
	at com.redhat.rhn.frontend.servlets.EnvironmentFilter.addParameterizedMessages(EnvironmentFilter.java:112)
	at com.redhat.rhn.frontend.servlets.EnvironmentFilter.doFilter(EnvironmentFilter.java:105)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at com.redhat.rhn.frontend.servlets.SessionFilter.doFilter(SessionFilter.java:55)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at com.redhat.rhn.frontend.servlets.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:97)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
	at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
	at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
	at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
	at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
	at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
	at java.lang.Thread.run(Thread.java:736)


Expected results:
channel entitlements are set correctly

Additional info:

Comment 1 Jiří Mikulka 2012-06-20 12:36:17 UTC

*** This bug has been marked as a duplicate of bug 831143 ***

Comment 4 Tomas Lestach 2012-07-13 15:18:25 UTC
Yes, it's kind of tomcat regression ...
More info: https://access.redhat.com/knowledge/solutions/100383

spacewalk.git: d9de3d2a98ce8d1f637507cadd328b80936faf7a

Comment 6 Tomas Lestach 2012-07-17 09:52:04 UTC
*** Bug 840807 has been marked as a duplicate of this bug. ***

Comment 10 Clifford Perry 2012-09-21 09:16:48 UTC
This issue is resolved with the release of RHN Satellite 5.5. 

As of September 20th 2012, RHN Satellite 5.5 has been generally available. 

Release Notes and other 5.5 documentation can be found here:

 https://access.redhat.com/knowledge/docs/Red_Hat_Network_Satellite/

The associated Errata for the 5.5 release are:

5.5 Satellite GA Errata
 - http://rhn.redhat.com/errata/RHEA-2012-1296.html

5.5 Upgrade Errata
 - http://rhn.redhat.com/errata/RHEA-2012-1298.html

5.5 RHN Proxy GA Errata
 - http://rhn.redhat.com/errata/RHEA-2012-1297.html

5.5 RHN Tools GA Errata
 - http://rhn.redhat.com/errata/RHEA-2012-1299.html

Regards,
Clifford
- Engineering Manager, Satellite