Project

General

Profile

Scénario #27912

Erreurs à l'action save_files

Added by Thierry Bertrand over 1 year ago. Updated 6 months ago.

Status:
Nouveau
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Story points:
2.0
Velocity based estimate:
0 days

History

#1 Updated by Thierry Bertrand over 1 year ago

Lors de l'action /usr/share/zephir/scripts/zephir_client save_files, on obtient un traceback python.
A noter que l'action s'exécute correctement.

Cependant, cette erreur nuit aux diagnostics lors de problème, se révèle aussi à l'enregistrement_zephir et fait que les serveurs apparaissent en orange sur l'interface zephir.

root@rw-ddi019-00:~# //usr/share/zephir/scripts/zephir_client save_files
Traceback (most recent call last):
  File "/usr/share/zephir/scripts/save_files.zephir", line 255, in <module>
    res = convert(zephir_proxy.uucp.save_files(config.id_serveur, res_md5[0]))
  File "/usr/lib/python2.7/xmlrpclib.py", line 1243, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.7/dist-packages/zephir/eolerpclib.py", line 99, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.7/xmlrpclib.py", line 1283, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1313, in single_request
    response = h.getresponse(buffering=True)
  File "/usr/lib/python2.7/httplib.py", line 1121, in getresponse
    response.begin()
  File "/usr/lib/python2.7/httplib.py", line 438, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.7/httplib.py", line 394, in _read_status
    line = self.fp.readline(_MAXLINE + 1)
  File "/usr/lib/python2.7/socket.py", line 480, in readline
    data = self._sock.recv(self._rbufsize)
  File "/usr/lib/python2.7/ssl.py", line 772, in recv
    return self.read(buflen)
  File "/usr/lib/python2.7/ssl.py", line 659, in read
    v = self._sslobj.read(len)
ssl.SSLError: ('The read operation timed out',)
root@rw-ddi019-00:~# CreoleGet eole_release
2.7.0
root@rw-ddi019-00:~# CreoleGet module_type
seth
root@ssl-norm-d01:~# /usr/share/zephir/scripts/zephir_client save_files
Traceback (most recent call last):
  File "/usr/share/zephir/scripts/save_files.zephir", line 255, in <module>
    res = convert(zephir_proxy.uucp.save_files(config.id_serveur, res_md5[0]))
  File "/usr/lib/python2.7/xmlrpclib.py", line 1243, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.7/dist-packages/zephir/eolerpclib.py", line 99, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.7/xmlrpclib.py", line 1283, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1313, in single_request
    response = h.getresponse(buffering=True)
  File "/usr/lib/python2.7/httplib.py", line 1136, in getresponse
    response.begin()
  File "/usr/lib/python2.7/httplib.py", line 453, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.7/httplib.py", line 409, in _read_status
    line = self.fp.readline(_MAXLINE + 1)
  File "/usr/lib/python2.7/socket.py", line 480, in readline
    data = self._sock.recv(self._rbufsize)
  File "/usr/lib/python2.7/ssl.py", line 756, in recv
    return self.read(buflen)
  File "/usr/lib/python2.7/ssl.py", line 643, in read
    v = self._sslobj.read(len)
ssl.SSLError: ('The read operation timed out',)
root@ssl-norm-d01:~# CreoleGet eole_release
2.6.2
root@ssl-norm-d01:~# CreoleGet module_type
amon

Le zephir en face est en version 2.7.0
Il n'y a aucune erreur dans les logs backend.

A rapprocher des erreurs fréquentes rencontrées sur zephir : https://dev-eole.ac-dijon.fr/issues/27347 ?

#2 Updated by Bruno Boiget over 1 year ago

Je ne pense pas que ce soit le même problème que dans la demande indiquée. Ici ça ressemble vraiment à une erreur due au temps de réponse de Zéphir.

Est ce que c'est systématique ? Je ne l'ai pas reproduit (Zéphir 2.7.0 "avecConf" et modules 2.6.2 / 2.7.0)

#3 Updated by Scrum Master over 1 year ago

  • Status changed from Nouveau to En cours
  • Assigned To set to Bruno Boiget
  • Parent task changed from #27542 to #27876

#4 Updated by Thierry Bertrand about 1 year ago

Par ex. tous les serveurs seth 2.7.0 de la DREAL Bretagne ont la même erreur.
Après, ils vont tous sur le même zephir...

#5 Updated by Scrum Master about 1 year ago

  • Subject changed from erreurs à l'action save_files to Erreurs à l'action save_files
  • Parent task deleted (#27876)

#6 Updated by Scrum Master about 1 year ago

  • Tracker changed from Tâche to Scénario
  • Due date set to 06/07/2019
  • Assigned To deleted (Bruno Boiget)
  • Target version changed from sprint 2019 18-20 Equipe MENSR to sprint 2019 21-23 Equipe MENSR

#7 Updated by Benjamin Bohard about 1 year ago

Erreur non récurrente ne pouvant être reproduite à la demande.

#8 Updated by Joël Cuissinat about 1 year ago

  • Target version changed from sprint 2019 21-23 Equipe MENSR to sprint 2019 24-26 Equipe MENSR

#10 Updated by Joël Cuissinat about 1 year ago

  • Due date deleted (06/07/2019)
  • Status changed from En cours to Nouveau
  • Target version deleted (sprint 2019 24-26 Equipe MENSR)
  • Start date deleted (04/15/2019)
  • Release set to EOLE 2.7.1.1

#11 Updated by Gilles Grandgérard 12 months ago

  • Due date set to 09/20/2019
  • Target version set to sprint 2019 36-38 Equipe MENSR
  • Start date set to 08/20/2019

#12 Updated by Joël Cuissinat 11 months ago

  • Story points set to 2.0

#13 Updated by Gilles Grandgérard 11 months ago

  • Target version changed from sprint 2019 36-38 Equipe MENSR to sprint 2019 39-41 Equipe MENSR

#14 Updated by Thierry Bertrand 11 months ago

le comportement ne semble pas reproductible et semble lié à la charge des zephirs.

Pour éviter les erreurs, ne faudrait-il pas augmenter un timeout ?

#15 Updated by Gilles Grandgérard 10 months ago

  • Due date deleted (09/20/2019)
  • Target version deleted (sprint 2019 39-41 Equipe MENSR)
  • Start date deleted (08/20/2019)

#16 Updated by Joël Cuissinat 9 months ago

  • Release changed from EOLE 2.7.1.1 to EOLE 2.7.1.2

#17 Updated by Daniel Dehennin 7 months ago

  • Release changed from EOLE 2.7.1.2 to EOLE 2.7.1.3

#18 Updated by Gilles Grandgérard 6 months ago

  • Release deleted (EOLE 2.7.1.3)

Also available in: Atom PDF