Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some pages cant be reached #9658

Open
Uyunifier opened this issue Jan 21, 2025 · 2 comments · May be fixed by #9688
Open

Some pages cant be reached #9658

Uyunifier opened this issue Jan 21, 2025 · 2 comments · May be fixed by #9688
Labels
bug Something isn't working P2

Comments

@Uyunifier
Copy link

Uyunifier commented Jan 21, 2025

Problem description

Hi there,

i setup a fresh install of an uyuni container with podman.
I also setup my channels etc. Ive seen that some pages generate an "internal Server error".
Like the following: i created a channel and manually wanted to add packages

Another one is, when i added a group to an activation key, and want to navigate to groups (https://myserver/rhn/activationkeys/groups/List.do?tid=2)

Is there any fix for that?

Thx much.

Steps to reproduce

  1. create a channel
  2. try to manually add package to channel

another problem

  1. create activation key and a 2 groups
  2. add one of the groups to the activiation key
  3. visit the key groups page
    ...

Uyuni version

Information for package Uyuni-Server-release:
---------------------------------------------
Repository     : @System
Name           : Uyuni-Server-release
Version        : 2024.12-241000.225.1.uyuni5
Arch           : x86_64
Vendor         : obs://build.opensuse.org/systemsmanagement:Uyuni
Support Level  : unknown
Installed Size : 1.4 KiB
Installed      : Yes (automatically)
Status         : up-to-date
Source package : Uyuni-Server-release-2024.12-241000.225.1.uyuni5.src
Upstream URL   : https://www.uyuni-project.org/
Summary        : Uyuni Server
Description    : 
    Uyuni lets you efficiently manage physical, virtual,
    and cloud-based Linux systems. It provides automated and cost-effective
    configuration and software management, asset management, and system
    provisioning.

Uyuni proxy version (if used)

Useful logs

When adding packages:
uyuni-server:/ # tail -f /var/log/rhn/rhn_web_ui.log

  at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) ~[tomcat-util.jar:9.0.97] at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) ~[tomcat-util.jar:9.0.97] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) ~[tomcat-util.jar:9.0.97] at java.lang.Thread.run(Thread.java:840) ~[?:?] Caused by: java.lang.UnsupportedOperationException at java.util.ImmutableCollections.uoe(ImmutableCollections.java:142) ~[?:?] at java.util.ImmutableCollections$AbstractImmutableCollection.remove(ImmutableCollections.java:150) ~[?:?] at com.redhat.rhn.frontend.action.channel.manage.ChannelPackagesAddAction.execute(ChannelPackagesAddAction.java:136) ~[rhn.jar:?] at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) ~[struts.jar:1.2.9] ... 47 more

On group-page for keys
uyuni-server:/ # tail -f /var/log/rhn/rhn_web_ui.log

2025-01-21 13:30:59,559 [ajp-nio-0:0:0:0:0:0:0:1-8009-exec-2] ERROR com.redhat.rhn.frontend.servlets.SessionFilter - Error during transaction. Rolling back
javax.servlet.ServletException: javax.servlet.jsp.JspException: java.lang.UnsupportedOperationException
        at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:651) ~[jasper.jar:9.0.97]
        at org.apache.jsp.WEB_002dINF.pages.activationkeys.groups.list_jsp._jspService(Unknown Source) ~[classes/:?]
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:67) ~[jasper.jar:9.0.97]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:623) ~[tomcat-servlet-4.0-api.jar:4.0.FR]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:199) ~[catalina.jar:9.0.97]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144) ~[catalina.jar:9.0.97]
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) ~[tomcat-websocket.jar:9.0.97]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168) ~[catalina.jar:9.0.97]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144) ~[catalina.jar:9.0.97]
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:641) ~[catalina.jar:9.0.97]
        at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:415) ~[catalina.jar:9.0.97]
        at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:347) ~[catalina.jar:9.0.97]
        at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:284) ~[catalina.jar:9.0.97]
        at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085) ~[struts.jar:1.2.9]
        at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398) ~[struts.jar:1.2.9]
        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241) ~[struts.jar:1.2.9]
        at com.redhat.rhn.frontend.struts.RhnRequestProcessor.process(RhnRequestProcessor.java:103) ~[rhn.jar:?]
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) ~[struts.jar:1.2.9]
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) ~[struts.jar:1.2.9]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:529) ~[tomcat-servlet-4.0-api.jar:4.0.FR]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:623) ~[tomcat-servlet-4.0-api.jar:4.0.FR]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:199) ~[catalina.jar:9.0.97]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144) ~[catalina.jar:9.0.97]
        at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) ~[tomcat-websocket.jar:9.0.97]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168) ~[catalina.jar:9.0.97]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144) ~[catalina.jar:9.0.97]
        at com.redhat.rhn.frontend.servlets.AuthFilter.doFilter(AuthFilter.java:112) ~[rhn.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168) ~[catalina.jar:9.0.97]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144) ~[catalina.jar:9.0.97]
        at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:142) ~[sitemesh.jar:?]
        at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:58) ~[sitemesh.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168) ~[catalina.jar:9.0.97]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144) ~[catalina.jar:9.0.97]
        at com.redhat.rhn.frontend.servlets.LocalizedEnvironmentFilter.doFilter(LocalizedEnvironmentFilter.java:71) ~[rhn.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168) ~[catalina.jar:9.0.97]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144) ~[catalina.jar:9.0.97]
        at com.redhat.rhn.frontend.servlets.EnvironmentFilter.doFilter(EnvironmentFilter.java:99) ~[rhn.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168) ~[catalina.jar:9.0.97]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144) ~[catalina.jar:9.0.97]
        at com.redhat.rhn.frontend.servlets.SessionFilter.doFilter(SessionFilter.java:59) ~[rhn.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168) ~[catalina.jar:9.0.97]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144) ~[catalina.jar:9.0.97]
        at com.redhat.rhn.frontend.servlets.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:98) ~[rhn.jar:?]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:168) ~[catalina.jar:9.0.97]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144) ~[catalina.jar:9.0.97]
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168) ~[catalina.jar:9.0.97]
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) ~[catalina.jar:9.0.97]
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482) ~[catalina.jar:9.0.97]
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) ~[catalina.jar:9.0.97]
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) ~[catalina.jar:9.0.97]
        at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:660) ~[catalina.jar:9.0.97]
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) ~[catalina.jar:9.0.97]
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346) ~[catalina.jar:9.0.97]
        at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:424) ~[tomcat-coyote.jar:9.0.97]
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) ~[tomcat-coyote.jar:9.0.97]
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:937) ~[tomcat-coyote.jar:9.0.97]
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1791) ~[tomcat-coyote.jar:9.0.97]
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) ~[tomcat-coyote.jar:9.0.97]
        at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1190) ~[tomcat-util.jar:9.0.97]
        at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) ~[tomcat-util.jar:9.0.97]
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) ~[tomcat-util.jar:9.0.97]
        at java.lang.Thread.run(Thread.java:840) ~[?:?]
Caused by: java.lang.UnsupportedOperationException
        at java.util.ImmutableCollections.uoe(ImmutableCollections.java:142) ~[?:?]
        at java.util.ImmutableCollections$AbstractImmutableList.sort(ImmutableCollections.java:261) ~[?:?]
        at com.redhat.rhn.frontend.taglibs.list.DataSetManipulator.sort(DataSetManipulator.java:129) ~[rhn.jar:?]
        at com.redhat.rhn.frontend.taglibs.list.ListTag.doAfterBodyRenderListBegin(ListTag.java:755) ~[rhn.jar:?]
        at com.redhat.rhn.frontend.taglibs.list.ListTag.doAfterBody(ListTag.java:780) ~[rhn.jar:?]
        at org.apache.jsp.WEB_002dINF.pages.common.fragments.activationkeys.groups_jspf._jspx_meth_rl_005flist_005f0(Unknown Source) ~[classes/:?]
        at org.apache.jsp.WEB_002dINF.pages.common.fragments.activationkeys.groups_jspf._jspx_meth_c_005fwhen_005f0(Unknown Source) ~[classes/:?]
        at org.apache.jsp.WEB_002dINF.pages.common.fragments.activationkeys.groups_jspf._jspx_meth_c_005fchoose_005f0(Unknown Source) ~[classes/:?]
        at org.apache.jsp.WEB_002dINF.pages.common.fragments.activationkeys.groups_jspf._jspx_meth_rl_005flistset_005f0(Unknown Source) ~[classes/:?]
        at org.apache.jsp.WEB_002dINF.pages.common.fragments.activationkeys.groups_jspf._jspService(Unknown Source) ~[classes/:?]
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:67) ~[jasper.jar:9.0.97]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:623) ~[tomcat-servlet-4.0-api.jar:4.0.FR]
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:199) ~[catalina.jar:9.0.97]
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144) ~[catalina.jar:9.0.97]
        at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:641) ~[catalina.jar:9.0.97]
        at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:517) ~[catalina.jar:9.0.97]
        at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:460) ~[catalina.jar:9.0.97]
        at org.apache.taglibs.standard.tag.common.core.ImportSupport.acquireString(ImportSupport.java:301) ~[taglibs-standard-impl.jar:1.2.5]
        at org.apache.taglibs.standard.tag.common.core.ImportSupport.doEndTag(ImportSupport.java:155) ~[taglibs-standard-impl.jar:1.2.5]
        at org.apache.jsp.WEB_002dINF.pages.activationkeys.groups.list_jsp._jspx_meth_c_005fimport_005f0(Unknown Source) ~[classes/:?]
        ... 61 more
2025-01-21 13:30:59,589 [RHN Message Dispatcher] ERROR com.redhat.rhn.frontend.events.TraceBackAction - Unable to configure a mailer: The request object has been recycled and is no longer associated with this facade
java.lang.IllegalStateException: The request object has been recycled and is no longer associated with this facade
        at org.apache.catalina.connector.RequestFacade.checkFacade(RequestFacade.java:856) ~[catalina.jar:9.0.97]
        at org.apache.catalina.connector.RequestFacade.getMethod(RequestFacade.java:561) ~[catalina.jar:9.0.97]
        at javax.servlet.http.HttpServletRequestWrapper.getMethod(HttpServletRequestWrapper.java:125) ~[tomcat-servlet-4.0-api.jar:4.0.FR]
        at com.redhat.rhn.frontend.events.TraceBackEvent.toText(TraceBackEvent.java:53) ~[rhn.jar:?]
        at com.redhat.rhn.frontend.events.BaseMailAction.execute(BaseMailAction.java:43) ~[rhn.jar:?]
        at com.redhat.rhn.common.messaging.ActionExecutor.run(ActionExecutor.java:68) ~[rhn.jar:?]
        at com.redhat.rhn.common.messaging.MessageDispatcher.run(MessageDispatcher.java:93) ~[rhn.jar:?]
        at java.lang.Thread.run(Thread.java:840) ~[?:?]

Additional information

No response

@Uyunifier Uyunifier added bug Something isn't working P5 labels Jan 21, 2025
@rjmateus
Copy link
Member

@cbbayburt I think this is related to the issues on the imutable lists you have solved. Could you have a look?

@cbbayburt
Copy link
Contributor

@rjmateus probably some other instance of the same issue popping up. I'll have a look tomorrow.

@parlt91 parlt91 added P2 and removed P5 labels Jan 22, 2025
@cbbayburt cbbayburt linked a pull request Jan 27, 2025 that will close this issue
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P2
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants