An error occurred fetching the project authors.
- 12 Oct, 2016 2 commits
-
-
Sebastien Robin authored
errors will be much more visible
-
Sebastien Robin authored
Some testnodes were failing more or less randomly while calling "slapos node instance". On failing nodes, unlike other ones, there was this unexpected log: 2016-10-06 15:35:18 slapos[11671] INFO Processing computer partitions... 2016-10-06 15:35:18 slapos[11671] INFO Launching supervisord with clean environment. 2016-10-06 15:35:18 slapos[11671] INFO Could not find platform independent libraries <prefix> 2016-10-06 15:35:18 slapos[11671] INFO Could not find platform dependent libraries <exec_prefix> 2016-10-06 15:35:18 slapos[11671] INFO Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] 2016-10-06 15:35:18 slapos[11671] INFO ImportError: No module named site 2016-10-06 15:35:18 slapos[11671] WARNING Supervisord unknown problem: 2016-10-06 15:35:18 slapos[11671] INFO Processing Computer Partition test0-0. Then slapgrid was later failing with : slapgrid_cp : File "/opt/slapgrid/75e907b4c1523ecfa2aa210ec2754db4/eggs/supervisor-3.3.1-py2.7.egg/supervisor/xmlrpc.py", line 521, in connect slapgrid_cp : self.sock.connect(self.socketfile) slapgrid_cp : File "/opt/slapos/rebootstrap/parts/python2.7/lib/python2.7/socket.py", line 228, in meth slapgrid_cp : return getattr(self._sock,name)(*args) slapgrid_cp : error: [Errno 2] No such file or directory But the initial suspect logs sounds be the original issue that is the source of next ones. So it looks like supervisord was not able to start at all. After playing with subprocess.Popen, is sounds not a good idea to play with the keyword 'executable'. It looks like not always be strictly equivalent to a replacement of the first argument of the first Popen args. It's much better to directly set the process we want to call in the invocation list : - it avoid to rely on a feature that is "very seldom needed" as we see in subprocess documentation - it makes the code much readable, it avoid the guy reading the code wasting time understanding that the invocation_list is not really what is going to be executed.
-
- 22 Jan, 2015 1 commit
-
-
Cédric de Saint Martin authored
Also do not autorestart.
-
- 20 Jan, 2015 1 commit
-
-
Cédric de Saint Martin authored
Also move and simplify management of configuration files.
-
- 16 Jan, 2015 1 commit
-
-
Cédric de Saint Martin authored
-
- 24 Jun, 2013 1 commit
-
-
Marco Mariani authored
-
- 23 Jun, 2013 1 commit
-
-
Marco Mariani authored
-
- 26 Apr, 2013 1 commit
-
-
Marco Mariani authored
-
- 24 Apr, 2013 2 commits
-
-
Marco Mariani authored
-
Marco Mariani authored
-
- 11 Jan, 2013 1 commit
-
-
Marco Mariani authored
-
- 19 Oct, 2012 2 commits
-
-
Cédric de Saint Martin authored
-
Cédric de Saint Martin authored
Don't hack just because you want pyflakes to pass.
-
- 06 Aug, 2012 1 commit
-
-
Cédric de Saint Martin authored
-
- 09 Jul, 2012 1 commit
-
-
Cédric de Saint Martin authored
-
- 08 Jun, 2011 1 commit
-
-
Łukasz Nowak authored
Use socket/time timeouts in small loops to react on common usage cases. Be sure that supervisord is functional enough in order to avoid running other steps in case of deconfigured svc backend.
-
- 27 May, 2011 1 commit
-
-
Łukasz Nowak authored
-
- 26 May, 2011 1 commit
-
-
Łukasz Nowak authored
-