Hide Forgot
Created attachment 1193088 [details] sosreport Description of problem: Whenever the Customer is trying to register a new content-host, he is getting an error "RestClient::InternalServerError: 500 Internal Server Error" Version-Release number of selected component (if applicable): 6.2 How reproducible: NA Additional info: #Hammer ping and #katello-service status shows no errors. Candlepin error logs: 2016-08-16 09:47:46,770 [thread=http-bio-8443-exec-9] [req=151d7450-bb95-40f9-bb56-c9f037a5a38c, org=] ERROR org.ca ndlepin.common.exceptions.mappers.CandlepinExceptionMapper - Runtime Error RESTEASY001185: Could not find resource for relative : /consumers//entitlements of full path: https://localhost:8443/candlepin/consumers//entitlements at o rg.jboss.resteasy.core.registry.PathParamSegment.matchPattern:209 org.jboss.resteasy.spi.NotFoundException: RESTEASY001185: Could not find resource for relative : /consumers//entitl ements of full path: https://localhost:8443/candlepin/consumers//entitlements at org.jboss.resteasy.core.registry.PathParamSegment.matchPattern(PathParamSegment.java:209) ~[resteasy-jax rs-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.1 0.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.Fin al.jar:na] at org.jboss.resteasy.core.registry.RootSegment.matchRoot(RootSegment.java:368) ~[resteasy-jaxrs-2.3.10.Fin al.jar:na] at org.jboss.resteasy.core.ResourceMethodRegistry.getResourceInvoker(ResourceMethodRegistry.java:349) ~[res teasy-jaxrs-2.3.10.Final.jar:na] at org.jboss.resteasy.core.SynchronousDispatcher.getInvoker(SynchronousDispatcher.java:191) ~[resteasy-jaxr s-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:727) [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:n a] 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]
I believe this is resolved upstream in future 6.3 by http://projects.theforeman.org/issues/12556 If there are any reproducer steps, that would be helpful. I'm guessing the original cause of the error was that some issue occured between candlepin consumer creation and saving of the consumer uuid.
This bug is most likely caused by: https://bugzilla.redhat.com/show_bug.cgi?id=1417689 The candlepin error is a symptom of the failed registration in Pulp's consumer create.
*** Bug 1417030 has been marked as a duplicate of this bug. ***
This will be fixed in 6.3. I am closing this as NEXTRELEASE. If you are still seeing this issue post 6.3 please feel free to re-open with additional information.