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

Job execution display broken for some jobs #4684

Closed
RolandVExp opened this issue Apr 3, 2019 · 2 comments · Fixed by #4906
Closed

Job execution display broken for some jobs #4684

RolandVExp opened this issue Apr 3, 2019 · 2 comments · Fixed by #4906
Assignees
Labels
Milestone

Comments

@RolandVExp
Copy link

RolandVExp commented Apr 3, 2019

Describe the bug
When I try to display some job execution reports, I get a "loading..." that stay forever in the report section.
I tried to see what's wrong with developer tools and I found that an ajax request to http://myhost/execution/ajaxExecState/12329 returns a 500 status code.

Here is the detailed trace when I hit this url :

Error 500: Internal Server Error
URI
/execution/ajaxExecState/12329
Class
org.grails.web.json.JSONException
Message
JSONObject["localhost"] not found.
Trace
    Line | Method
->>  260 | get                 in org.grails.web.json.JSONObject
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
|    179 | doCall              in rundeck.services.workflow.StateMapping$_stepStatesForNode_closure3
|    176 | stepStatesForNode . in rundeck.services.workflow.StateMapping
|     37 | doCall              in rundeck.services.workflow.StateMapping$_summarize_closure1
|     36 | summarize . . . . . in rundeck.services.workflow.StateMapping
|    364 | requestStateSummary in rundeck.services.WorkflowService
|    399 | ajaxExecState . . . in rundeck.controllers.ExecutionController
|    223 | invoke              in org.grails.core.DefaultGrailsControllerClass$MethodHandleInvoker
|    188 | invoke . . . . . .  in org.grails.core.DefaultGrailsControllerClass
|     90 | handle              in org.grails.web.mapping.mvc.UrlMappingsInfoHandlerAdapter
|    967 | doDispatch . . . .  in org.springframework.web.servlet.DispatcherServlet
|    901 | doService           in     ''
|    970 | processRequest . .  in org.springframework.web.servlet.FrameworkServlet
|    861 | doGet               in     ''
|    846 | service . . . . . . in     ''
|    865 | handle              in org.eclipse.jetty.servlet.ServletHolder
|   1655 | doFilter . . . . .  in org.eclipse.jetty.servlet.ServletHandler$CachedChain
|    215 | doFilter            in org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter
|   1642 | doFilter . . . . .  in org.eclipse.jetty.servlet.ServletHandler$CachedChain
|     96 | run                 in org.springframework.security.web.jaasapi.JaasApiIntegrationFilter$1
|    422 | doAs . . . . . . .  in javax.security.auth.Subject
|    105 | doFilter            in org.springframework.security.web.jaasapi.JaasApiIntegrationFilter
|   1642 | doFilter . . . . .  in org.eclipse.jetty.servlet.ServletHandler$CachedChain
|     55 | doFilterInternal    in org.springframework.boot.web.filter.ApplicationContextHeaderFilter
|   1642 | doFilter . . . . .  in org.eclipse.jetty.servlet.ServletHandler$CachedChain
|     67 | doFilterInternal    in org.rundeck.grails.plugins.securityheaders.RundeckSecurityHeadersFilter
|   1642 | doFilter . . . . .  in org.eclipse.jetty.servlet.ServletHandler$CachedChain
|    317 | doFilter            in org.springframework.security.web.FilterChainProxy$VirtualFilterChain
|    127 | invoke . . . . . .  in org.springframework.security.web.access.intercept.FilterSecurityInterceptor
|     91 | doFilter            in     ''
|    331 | doFilter . . . . .  in org.springframework.security.web.FilterChainProxy$VirtualFilterChain
|    114 | doFilter            in org.springframework.security.web.access.ExceptionTranslationFilter
|     64 | doFilter . . . . .  in grails.plugin.springsecurity.web.UpdateRequestContextHolderExceptionTranslationFilter
|    331 | doFilter            in org.springframework.security.web.FilterChainProxy$VirtualFilterChain
|     54 | doFilterInternal .  in grails.plugin.springsecurity.web.filter.GrailsHttpPutFormContentFilter
|    331 | doFilter            in org.springframework.security.web.FilterChainProxy$VirtualFilterChain
|     54 | doFilter . . . . .  in grails.plugin.springsecurity.web.filter.GrailsAnonymousAuthenticationFilter
|    331 | doFilter            in org.springframework.security.web.FilterChainProxy$VirtualFilterChain
|    158 | doFilter . . . . .  in org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter
|    331 | doFilter            in org.springframework.security.web.FilterChainProxy$VirtualFilterChain
|    170 | doFilter . . . . .  in org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter
|    331 | doFilter            in org.springframework.security.web.FilterChainProxy$VirtualFilterChain
|     96 | run . . . . . . . . in org.springframework.security.web.jaasapi.JaasApiIntegrationFilter$1
|    422 | doAs                in javax.security.auth.Subject
|    105 | doFilter . . . . .  in org.springframework.security.web.jaasapi.JaasApiIntegrationFilter
|    331 | doFilter            in org.springframework.security.web.FilterChainProxy$VirtualFilterChain
|    200 | doFilter . . . . .  in org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter
|    331 | doFilter            in org.springframework.security.web.FilterChainProxy$VirtualFilterChain
|     64 | doFilter . . . . .  in grails.plugin.springsecurity.web.authentication.logout.MutableLogoutFilter
|    331 | doFilter            in org.springframework.security.web.FilterChainProxy$VirtualFilterChain
|    105 | doFilter . . . . .  in org.springframework.security.web.context.SecurityContextPersistenceFilter
|    331 | doFilter            in org.springframework.security.web.FilterChainProxy$VirtualFilterChain
|     58 | doFilter . . . . .  in grails.plugin.springsecurity.web.SecurityRequestHolderFilter
|    331 | doFilter            in org.springframework.security.web.FilterChainProxy$VirtualFilterChain
|    214 | doFilterInternal .  in org.springframework.security.web.FilterChainProxy
|    177 | doFilter            in     ''
|   1642 | doFilter . . . . .  in org.eclipse.jetty.servlet.ServletHandler$CachedChain
|     77 | doFilterInternal    in org.grails.web.servlet.mvc.GrailsWebRequestFilter
|   1642 | doFilter . . . . .  in org.eclipse.jetty.servlet.ServletHandler$CachedChain
|     67 | doFilterInternal    in org.grails.web.filters.HiddenHttpMethodFilter
|   1642 | doFilter . . . . .  in org.eclipse.jetty.servlet.ServletHandler$CachedChain
|    533 | doHandle            in org.eclipse.jetty.servlet.ServletHandler
|    146 | handle . . . . . .  in org.eclipse.jetty.server.handler.ScopedHandler
|    548 | handle              in org.eclipse.jetty.security.SecurityHandler
|    132 | handle . . . . . .  in org.eclipse.jetty.server.handler.HandlerWrapper
|    257 | nextHandle          in org.eclipse.jetty.server.handler.ScopedHandler
|   1595 | doHandle . . . . .  in org.eclipse.jetty.server.session.SessionHandler
|    255 | nextHandle          in org.eclipse.jetty.server.handler.ScopedHandler
|   1317 | doHandle . . . . .  in org.eclipse.jetty.server.handler.ContextHandler
|    203 | nextScope           in org.eclipse.jetty.server.handler.ScopedHandler
|    473 | doScope . . . . . . in org.eclipse.jetty.servlet.ServletHandler
|   1564 | doScope             in org.eclipse.jetty.server.session.SessionHandler
|    201 | nextScope . . . . . in org.eclipse.jetty.server.handler.ScopedHandler
|   1219 | doScope             in org.eclipse.jetty.server.handler.ContextHandler
|    144 | handle . . . . . .  in org.eclipse.jetty.server.handler.ScopedHandler
|    132 | handle              in org.eclipse.jetty.server.handler.HandlerWrapper
|    531 | handle . . . . . .  in org.eclipse.jetty.server.Server
|    352 | handle              in org.eclipse.jetty.server.HttpChannel
|    260 | onFillable . . . .  in org.eclipse.jetty.server.HttpConnection
|    281 | succeeded           in org.eclipse.jetty.io.AbstractConnection$ReadCallback
|    102 | fillable . . . . .  in org.eclipse.jetty.io.FillInterest
|    118 | run                 in org.eclipse.jetty.io.ChannelEndPoint$2
|    333 | runTask . . . . . . in org.eclipse.jetty.util.thread.strategy.EatWhatYouKill
|    310 | doProduce           in     ''
|    168 | tryProduce . . . .  in     ''
|    126 | run                 in     ''
|    366 | run . . . . . . . . in org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread
|    762 | runJob              in org.eclipse.jetty.util.thread.QueuedThreadPool
|    680 | run . . . . . . . . in org.eclipse.jetty.util.thread.QueuedThreadPool$2
^    748 | run                 in java.lang.Thread

My Rundeck detail

  • Rundeck version: [3.0.13]
  • install type: [deb]
  • OS Name/version: [debian 9]
  • DB Type/version: [mysql]

To Reproduce
Steps to reproduce the behavior:

  1. Click on recent job execution
    You'll find the son file matching the job execution on the rundeck server here : 12329.state.json.zip

Expected behavior
The report should be displayed.

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Chrome
  • Version [73]

Additional context
Some jobs execution are working fine

.

@RolandVExp
Copy link
Author

I've updated to version 3.0.22 and the issue is still the same.

@gschueler gschueler added the bug label May 15, 2019
@gschueler gschueler self-assigned this May 15, 2019
gschueler added a commit that referenced this issue Jun 4, 2019
gschueler added a commit that referenced this issue Jun 7, 2019
@gschueler gschueler added this to the 3.1.0-RC1 milestone Jun 7, 2019
@gschueler
Copy link
Member

needs backport to 3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants