Project

General

Profile

Actions

Bug #15449

closed

Error while fetching methods and techniques

Added by Mal Cam over 4 years ago. Updated over 4 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Server components
Target version:
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:
69
Name check:
To do
Fix check:
To do
Regression:

Description

The technique editor "get stuck" on loading

HTTP response:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>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.</p>
<p>More information about this error may be available
in the server error log.</p>
</body></html>

[Thu Aug 08 17:55:51.425788 2019] [proxy:error] [pid 2213] [client 192.168.1.72:62789] AH00898: Error reading from remote server returned by /rudder/lift/comet/53051970643/F555902143413FQSBWT/F555902143681WM220W, referer: https://192.168.1.4/rudder/secure/configurationManager/techniqueEditor
[Thu Aug 08 17:56:21.662024 2019] [wsgi:error] [pid 2181] [remote 192.168.1.72:62799] mod_wsgi (pid=2181): Failed to exec Python script file '/usr/share/ncf-api-virtualenv/ncf_api_flask_app.wsgi'.
[Thu Aug 08 17:56:21.662098 2019] [wsgi:error] [pid 2181] [remote 192.168.1.72:62799] mod_wsgi (pid=2181): Exception occurred processing WSGI script '/usr/share/ncf-api-virtualenv/ncf_api_flask_app.wsgi'.
[Thu Aug 08 17:56:21.662231 2019] [wsgi:error] [pid 2181] [remote 192.168.1.72:62799] Traceback (most recent call last):
[Thu Aug 08 17:56:21.662278 2019] [wsgi:error] [pid 2181] [remote 192.168.1.72:62799]   File "/usr/share/ncf-api-virtualenv/ncf_api_flask_app.wsgi", line 17, in <module>
[Thu Aug 08 17:56:21.662287 2019] [wsgi:error] [pid 2181] [remote 192.168.1.72:62799]     execfile(activate_this, dict(__file__=activate_this))
[Thu Aug 08 17:56:21.662319 2019] [wsgi:error] [pid 2181] [remote 192.168.1.72:62799] NameError: name 'execfile' is not defined
[Thu Aug 08 17:56:30.002672 2019] [wsgi:error] [pid 2181] [remote 192.168.1.72:62804] mod_wsgi (pid=2181): Failed to exec Python script file '/usr/share/ncf-api-virtualenv/ncf_api_flask_app.wsgi'.
[Thu Aug 08 17:56:30.002782 2019] [wsgi:error] [pid 2181] [remote 192.168.1.72:62804] mod_wsgi (pid=2181): Exception occurred processing WSGI script '/usr/share/ncf-api-virtualenv/ncf_api_flask_app.wsgi'.
[Thu Aug 08 17:56:30.002918 2019] [wsgi:error] [pid 2181] [remote 192.168.1.72:62804] Traceback (most recent call last):
[Thu Aug 08 17:56:30.002964 2019] [wsgi:error] [pid 2181] [remote 192.168.1.72:62804]   File "/usr/share/ncf-api-virtualenv/ncf_api_flask_app.wsgi", line 17, in <module>
[Thu Aug 08 17:56:30.002974 2019] [wsgi:error] [pid 2181] [remote 192.168.1.72:62804]     execfile(activate_this, dict(__file__=activate_this))
[Thu Aug 08 17:56:30.003006 2019] [wsgi:error] [pid 2181] [remote 192.168.1.72:62804] NameError: name 'execfile' is not defined
[Thu Aug 08 17:57:55.384755 2019] [proxy_http:error] [pid 2703] (70007)The timeout specified has expired: [client 192.168.1.72:62808] AH01102: error reading status line from remote server localhost:8080, referer: https://192.168.1.4/rudder/secure/configurationManager/techniqueEditor
[Thu Aug 08 17:57:55.384808 2019] [proxy:error] [pid 2703] [client 192.168.1.72:62808] AH00898: Error reading from remote server returned by /rudder/lift/comet/72828843470/F555902143413FQSBWT/F5559021438001QPKO3, referer: https://192.168.1.4/rudder/secure/configurationManager/techniqueEditor
NAME="CentOS Linux" 
VERSION="7 (Core)" 
ID="centos" 
ID_LIKE="rhel fedora" 
VERSION_ID="7" 
PRETTY_NAME="CentOS Linux 7 (Core)" 
ANSI_COLOR="0;31" 
CPE_NAME="cpe:/o:centos:centos:7" 
HOME_URL="https://www.centos.org/" 
BUG_REPORT_URL="https://bugs.centos.org/" 

CENTOS_MANTISBT_PROJECT="CentOS-7" 
CENTOS_MANTISBT_PROJECT_VERSION="7" 
REDHAT_SUPPORT_PRODUCT="centos" 
REDHAT_SUPPORT_PRODUCT_VERSION="7" 

Python 2.7.5

Actions #1

Updated by Alexis Mousset over 4 years ago

What does rpm -qa | grep wsgi give? It may be because it tries to run with python3 (we only added python3 compatibility in Rudder 5.1 with https://github.com/Normation/rudder-packages/commit/e689c9c89d555a9318053497006372561c9eacb3).

Actions #2

Updated by Alexis Mousset over 4 years ago

  • Description updated (diff)
Actions #3

Updated by Mal Cam over 4 years ago

Alexis MOUSSET wrote:

What does rpm -qa | grep wsgi give? It may be because it tries to run with python3 (we only added python3 compatibility in Rudder 5.1 with https://github.com/Normation/rudder-packages/commit/e689c9c89d555a9318053497006372561c9eacb3).

Hello Alexis, I thought about that but I don't have Python 3 installed, python -V gives me "2.7.5", i will run the command tomorrow, thanks

Actions #4

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 5.0.13 to 5.0.14
Actions #5

Updated by François ARMAND over 4 years ago

  • Severity changed from Minor - inconvenience | misleading | easy workaround to Major - prevents use of part of Rudder | no simple workaround
  • User visibility set to Getting started - demo | first install | Technique editor and level 1 Techniques
  • Priority changed from 0 to 69

Mal Cam: do you have any news on that? Did you find a workaround?

Actions #6

Updated by Mal Cam over 4 years ago

François ARMAND wrote:

Mal Cam: do you have any news on that? Did you find a workaround?

Hi François, I quit and installed it on another machine just for the software and works fine. The first machine had so many things installed that I didn't know what caused the problem, just to mention a few:

nginx
apache
jira
jenkins
nodejs
mysql
postgres
docker
...

Thanks for your supporting

Actions #7

Updated by François ARMAND over 4 years ago

  • Status changed from New to Rejected

Thanks for the update. I will close that ticket. Don't hesitate to open it again (or an other one) if you encounter new problems. We hope the next part of your tests with rudder will go more smoothly. Have a nice day.

Actions

Also available in: Atom PDF