Actions
Bug #15398
closedInternal server error on "trigger agent" in node details for root
Pull Request:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Priority:
68
Name check:
To do
Fix check:
To do
Regression:
Description
For the root server, if you go to the "node details" page and click on "trigger agent", we get:
Error 500 occured when contacting internal remote-run API to apply classes on Node 'root': Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Apache/2.4.25 (Debian) Server at localhost Port 443
/var/log/rudder/apache2/error.log
shows:
[Fri Aug 02 14:50:11.814772 2019] [wsgi:error] [pid 16618:tid 139710157956864] [remote 127.0.0.1:39938] mod_wsgi (pid=16618): Target WSGI script '/opt/rudder/share/relay-api/relay-api.wsgi' cannot be loaded as Python module. [Fri Aug 02 14:50:11.815455 2019] [wsgi:error] [pid 16618:tid 139710157956864] [remote 127.0.0.1:39938] mod_wsgi (pid=16618): Exception occurred processing WSGI script '/opt/rudder/share/relay-api/relay-api.wsgi'. [Fri Aug 02 14:50:11.820414 2019] [wsgi:error] [pid 16618:tid 139710157956864] [remote 127.0.0.1:39938] Traceback (most recent call last): [Fri Aug 02 14:50:11.820497 2019] [wsgi:error] [pid 16618:tid 139710157956864] [remote 127.0.0.1:39938] File "/opt/rudder/share/relay-api/relay-api.wsgi", line 10, in <module> [Fri Aug 02 14:50:11.820509 2019] [wsgi:error] [pid 16618:tid 139710157956864] [remote 127.0.0.1:39938] execfile(activate_this, dict(__file__=activate_this)) [Fri Aug 02 14:50:11.820547 2019] [wsgi:error] [pid 16618:tid 139710157956864] [remote 127.0.0.1:39938] NameError: name 'execfile' is not defined
Actions