Project

General

Profile

Actions

Bug #2274

closed

rudder-inventory-endpoint can't run without rudder-server-root package because it misses logback.xml

Added by Nicolas PERRON almost 13 years ago. Updated almost 5 years ago.

Status:
Rejected
Priority:
2
Assignee:
-
Category:
System integration
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Infrequent - complex configurations | third party integrations
Effort required:
Very Small
Priority:
50
Name check:
Fix check:
Regression:

Description

It seems that logback.xml is mandatory but isn't installed before rudder-webapp. Nevertheless, even if rudder-webapp is installed, endpoint doesn't respond.

#curl http://localhost:8080/endpoint/api/status/
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>Error 404 Not Found</title>
</head>
<body><h2>HTTP ERROR 404</h2>
<p>Problem accessing /endpoint/api/status/. Reason:
<pre>    Not Found</pre></p><hr /><i><small>Powered by Jetty://</small></i><br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                

</body>
</html>
#curl http://localhost:8080/endpoint/upload
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>Error 405 Request method 'GET' not supported</title>
</head>
<body><h2>HTTP ERROR 405</h2>
<p>Problem accessing /endpoint/upload. Reason:
<pre>    Request method 'GET' not supported</pre></p><hr /><i><small>Powered by Jetty://</small></i><br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                
<br/>                                                

</body>
18:14:42.380 [qtp1706427008-61] WARN  o.s.web.servlet.PageNotFound - Request method 'GET' not supported
18:15:13.212 [qtp1706427008-64] WARN  o.s.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/endpoint/api] in DispatcherServlet with name 'dispatcher'
18:15:15.795 [qtp1706427008-66] WARN  o.s.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/endpoint/api/status] in DispatcherServlet with name 'dispatcher'

Actions

Also available in: Atom PDF