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 about 12 years ago. Updated over 4 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 #1

Updated by Nicolas PERRON about 12 years ago

  • Assignee changed from Nicolas PERRON to François ARMAND
Actions #2

Updated by François ARMAND about 12 years ago

  • Status changed from New to 8
  • Priority changed from 2 to 4
  • Target version changed from 2.4.0~alpha5 to 2.4.0~alpha6

There is two URL to test (if "endpoint" is the root URL):

  • /endpoint/api/status: only accept "GET", return 200 status, and a plain text response "OK"
  • /endpoint/upload : only accept "POST", return status depending of the POST processing.

Beside that, I have no other idea - pair debugging needed.

Actions #3

Updated by Jonathan CLARKE about 12 years ago

  • Assignee deleted (François ARMAND)
  • Target version changed from 2.4.0~alpha6 to 24

This looks like a case for a "common" package.

To explain, we currently have various different Scala code repos, that in the end generate 2 WARs (rudder-webapp and rudder-inventory-endpoint). However, creating these 2 WARs involves compiling almost all the same code... and we have two different source packages for this, so do most things twice. This is ugly and inefficient... we should merge these two packages into one source package that creates 2 (or 3) binary packages.

Back to the common package: this source package could create a third package which contains any ressources needed by both rudder-webapp and rudder-inventory-endpoint, like logback.xml, and the dependency to jetty.

Obviously this is a major change, and can't happen in 2.4 now.

Actions #4

Updated by Jonathan CLARKE almost 12 years ago

  • Target version changed from 24 to Ideas (not version specific)
Actions #5

Updated by Jonathan CLARKE over 9 years ago

  • Category changed from 26 to System integration
  • Priority changed from 4 to 2
  • Target version changed from Ideas (not version specific) to 2.11.5

I'm pretty sure the logback.xml file is now missing from the rudder-ldap component in multi-server setups too. This is the same bug.

Actions #6

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.11.5 to 2.11.6
Actions #7

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.11.6 to 2.11.7
Actions #8

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.11.7 to 2.11.8
Actions #9

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.11.8 to 2.11.9
Actions #10

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.11.9 to 2.11.10
Actions #11

Updated by Benoît PECCATTE about 9 years ago

  • Status changed from 8 to New
Actions #12

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.11.10 to 2.11.11
Actions #13

Updated by Vincent MEMBRÉ almost 9 years ago

  • Target version changed from 2.11.11 to 2.11.12
Actions #14

Updated by Vincent MEMBRÉ almost 9 years ago

  • Target version changed from 2.11.12 to 2.11.13
Actions #15

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.13 to 2.11.14
Actions #16

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.14 to 2.11.15
Actions #17

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.15 to 2.11.16
Actions #18

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.16 to 2.11.17
Actions #19

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.17 to 2.11.18
Actions #20

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.18 to 2.11.19
Actions #21

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 2.11.19 to 2.11.20
Actions #22

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 2.11.20 to 2.11.21
Actions #23

Updated by Vincent MEMBRÉ almost 8 years ago

  • Target version changed from 2.11.21 to 2.11.22
Actions #24

Updated by Vincent MEMBRÉ almost 8 years ago

  • Target version changed from 2.11.22 to 2.11.23
Actions #25

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 2.11.23 to 2.11.24
Actions #26

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 2.11.24 to 308
Actions #27

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 308 to 3.1.14
Actions #28

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.14 to 3.1.15
Actions #29

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.15 to 3.1.16
Actions #30

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.16 to 3.1.17
Actions #31

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 3.1.17 to 3.1.18
Actions #32

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 3.1.18 to 3.1.19
Actions #33

Updated by François ARMAND about 7 years ago

  • Subject changed from rudder-inventory-endpoint can't run without rudder-server-root package to rudder-inventory-endpoint can't run without rudder-server-root package because it misses logback.xml
  • Severity set to Minor - inconvenience | misleading | easy workaround
  • User visibility set to Infrequent - complex configurations | third party integrations

The workaround is to add the file at the expected place.

Actions #34

Updated by Benoît PECCATTE about 7 years ago

  • Priority set to 6
Actions #35

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 3.1.19 to 3.1.20
Actions #36

Updated by Vincent MEMBRÉ almost 7 years ago

  • Target version changed from 3.1.20 to 3.1.21
Actions #37

Updated by Vincent MEMBRÉ almost 7 years ago

  • Target version changed from 3.1.21 to 3.1.22
Actions #38

Updated by Benoît PECCATTE almost 7 years ago

  • Priority changed from 6 to 22
Actions #39

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 3.1.22 to 3.1.23
Actions #40

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 3.1.23 to 3.1.24
Actions #41

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 3.1.24 to 3.1.25
Actions #42

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 3.1.25 to 387
Actions #43

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 387 to 4.1.10
Actions #44

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 4.1.10 to 4.1.11
Actions #45

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 4.1.11 to 4.1.12
Actions #46

Updated by Vincent MEMBRÉ almost 6 years ago

  • Target version changed from 4.1.12 to 4.1.13
Actions #47

Updated by Vincent MEMBRÉ almost 6 years ago

  • Target version changed from 4.1.13 to 4.1.14
Actions #48

Updated by Benoît PECCATTE over 5 years ago

  • Target version changed from 4.1.14 to 4.1.15
Actions #49

Updated by Nicolas CHARLES over 5 years ago

  • Effort required set to Very Small
  • Priority changed from 22 to 50

This is still the case - /opt/rudder/etc/logback.xml is not packaged

Actions #50

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 4.1.15 to 4.1.16
Actions #51

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 4.1.16 to 4.1.17
Actions #52

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 4.1.17 to 4.1.18
Actions #53

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 4.1.18 to 4.1.19
Actions #54

Updated by Alexis Mousset about 5 years ago

  • Target version changed from 4.1.19 to 4.1.20
Actions #55

Updated by Alexis Mousset almost 5 years ago

  • Target version changed from 4.1.20 to 588
Actions #56

Updated by Alexis Mousset almost 5 years ago

  • Status changed from New to Rejected

Running inventory endpoint separately is not supported any more, closing.

Actions #57

Updated by Alexis Mousset over 4 years ago

  • Target version changed from 588 to 4.1.24
Actions

Also available in: Atom PDF