Project

General

Profile

Actions

Bug #18180

closed

Cannot remove repository

Added by Karlis Melderis about 8 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
High
Category:
Repositories
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

I have foreman 1.13.3 + Katello installed

When I try to delete repository from product I see this error in task and it fails:

Runtime Error RESTEASY001185: Could not find resource for relative : /products/1484916291677/content of full path:
https://foreman:8443/candlepin/products/1484916291677/content/ at org.jboss.resteasy.core.registry.PathParamSegment.matchPattern:209

Actions #1

Updated by Karlis Melderis about 8 years ago

here is full extract from candlepin log

2017-01-20 17:11:21,696 [thread=http-bio-8443-exec-7] [req=514ac1a5-1c97-4b71-a02f-1087ee6e398f, org=] ERROR org.candlepin.common.exceptions.mappers.CandlepinExceptionMapper - Runtime Error RESTEASY001185: Could not find resource for relative : /products/1484916291677/content of full path: https://foreman:8443/candlepin/products/1484916291677/content/ at org.jboss.resteasy.core.registry.PathParamSegment.matchPattern:209
org.jboss.resteasy.spi.NotFoundException: RESTEASY001185: Could not find resource for relative : /products/1484916291677/content of full path: https://foreman:8443/candlepin/products/1484916291677/content/
at org.jboss.resteasy.core.registry.PathParamSegment.matchPattern(PathParamSegment.java:209) ~[resteasy-jaxrs-2.3.10.Final.jar:na]
at org.jboss.resteasy.core.registry.RootSegment.matchChildren(RootSegment.java:340) ~[resteasy-jaxrs-2.3.10.Final.jar:na]
at org.jboss.resteasy.core.registry.SimpleSegment.matchSimple(SimpleSegment.java:45) ~[resteasy-jaxrs-2.3.10.Final.jar:na]
at org.jboss.resteasy.core.registry.RootSegment.matchChildren(RootSegment.java:328) ~[resteasy-jaxrs-2.3.10.Final.jar:na]
at org.jboss.resteasy.core.registry.RootSegment.matchRoot(RootSegment.java:375) ~[resteasy-jaxrs-2.3.10.Final.jar:na]
at org.jboss.resteasy.core.registry.RootSegment.matchRoot(RootSegment.java:368) ~[resteasy-jaxrs-2.3.10.Final.jar:na]
at org.jboss.resteasy.core.ResourceMethodRegistry.getResourceInvoker(ResourceMethodRegistry.java:349) ~[resteasy-jaxrs-2.3.10.Final.jar:na]
at org.jboss.resteasy.core.SynchronousDispatcher.getInvoker(SynchronousDispatcher.java:191) ~[resteasy-jaxrs-2.3.10.Final.jar:na]
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:124) ~[resteasy-jaxrs-2.3.10.Final.jar:na]
at org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208) [resteasy-jaxrs-2.3.10.Final.jar:na]
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55) [resteasy-jaxrs-2.3.10.Final.jar:na]
at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50) [resteasy-jaxrs-2.3.10.Final.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) [tomcat-servlet-3.0-api.jar:na]
at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263) [guice-servlet-3.0.jar:na]
at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178) [guice-servlet-3.0.jar:na]
at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91) [guice-servlet-3.0.jar:na]
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62) [guice-servlet-3.0.jar:na]
at org.candlepin.servlet.filter.EventFilter.doFilter(EventFilter.java:63) [EventFilter.class:na]
at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) [guice-servlet-3.0.jar:na]
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
at org.candlepin.servlet.filter.ContentTypeHackFilter.doFilter(ContentTypeHackFilter.java:58) [ContentTypeHackFilter.class:na]
at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) [guice-servlet-3.0.jar:na]
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
at org.candlepin.common.filter.LoggingFilter.doFilter(LoggingFilter.java:90) [candlepin-common-1.0.23.jar:na]
at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) [guice-servlet-3.0.jar:na]
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
at org.candlepin.servlet.filter.CandlepinPersistFilter.doFilter(CandlepinPersistFilter.java:48) [CandlepinPersistFilter.class:na]
at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) [guice-servlet-3.0.jar:na]
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
at org.candlepin.servlet.filter.CandlepinScopeFilter.doFilter(CandlepinScopeFilter.java:68) [CandlepinScopeFilter.class:na]
at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) [guice-servlet-3.0.jar:na]
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118) [guice-servlet-3.0.jar:na]
at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113) [guice-servlet-3.0.jar:na]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.69]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.69]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) [catalina.jar:7.0.69]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) [catalina.jar:7.0.69]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505) [catalina.jar:7.0.69]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) [catalina.jar:7.0.69]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) [catalina.jar:7.0.69]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [catalina.jar:7.0.69]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436) [catalina.jar:7.0.69]
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078) [tomcat-coyote.jar:7.0.69]
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625) [tomcat-coyote.jar:7.0.69]
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) [tomcat-coyote.jar:7.0.69]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_121]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_121]
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-coyote.jar:7.0.69]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_121]

Actions #2

Updated by Anonymous about 8 years ago

  • Project changed from Foreman to Katello
Actions #3

Updated by Justin Sherrill about 8 years ago

  • Status changed from New to Need more information

Would you be able to upload a foreman-debug?

Actions #4

Updated by Karlis Melderis almost 8 years ago

Justin Sherrill wrote:

Would you be able to upload a foreman-debug?

Do I upload file to this TT or there is another option to share debug (not to make it public).

Actions #5

Updated by Justin Sherrill almost 8 years ago

  • Assignee set to Justin Sherrill
Actions #6

Updated by Eric Helms almost 8 years ago

  • Translation missing: en.field_release set to 219
Actions #7

Updated by Eric Helms almost 8 years ago

  • Category set to Repositories
Actions #8

Updated by Karlis Melderis almost 8 years ago

I managed to get this fixed by skipping failed steps in Dynflow task and resuming task.
Looks like some error handling in steps are missing.

Actions #9

Updated by Eric Helms almost 8 years ago

  • Status changed from Need more information to Resolved
  • Translation missing: en.field_release changed from 219 to 166

If you see this issue again, please re-open this issue, thanks!

Actions

Also available in: Atom PDF