Anomalie #7218
Erreur 'NoMoreData' en interrogeant creoled sur la famille "Applications Web"
Description
Reproduire le bug :
- Lancer GenConfig
- Se connecter
- Cliquer sur la famille "Applications Web"
- Se déconnecter
- Se reconnecter
- Cliquer sur la famille "Application Web"
Une fenetre noire avec une erreur (HTTP 500) doit apparaitre, si ca n'est pas le cas, recommencer à partir de 4.
Caractéristiques du bug :
- le bug survient entre le serveur eole-flask (genconfig) et l'api creoled
- le backend Genconfig lève l'exception NoMoreData
- bug non reproductible avec le server genconfig derrière Nginx ( port 7000 )
- bug non reproductible avec le server genconfig lancé en mode dévelopment
- reproductible sous firefox (port 5000) après avoir vidé le cache.
- Creoled restkit effectue un reset de la connexion TCP alors que dans les logs, la rêquete a correctement été renvoyée par l'API creole (HTTP 200)
Associated revisions
Close connection to creole server - Fixes: #7218
Reset connection on NoMoreData Exception - Fixes: #7218
History
#1 Updated by Ghislain Loaec about 7 years ago
Le bug ne semble pas etre reproductible si aucun config.eol n'a été enregistré.
#2 Updated by Ghislain Loaec about 7 years ago
Erreur obtenue en essayant d'enregistrer un configuration, mais le traceback est similaire (lié au même bug donc)
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/eolegenconfig/views.py", line 265, in validate_config
ret = lib.valid_mandatory(id_)
File "/usr/lib/python2.7/dist-packages/eolegenconfig/lib.py", line 501, in valid_mandatory
mandatory_errors = list(mandatory_warnings(config))
File "/usr/lib/python2.7/dist-packages/tiramisu/config.py", line 710, in mandatory_warnings
config._getattr(path, force_properties=frozenset(('mandatory',)))
File "/usr/lib/python2.7/dist-packages/tiramisu/config.py", line 226, in _getattr
validate=validate)
File "/usr/lib/python2.7/dist-packages/tiramisu/config.py", line 251, in _getattr
force_permissive=force_permissive)
File "/usr/lib/python2.7/dist-packages/tiramisu/value.py", line 165, in getitem
force_properties, validate_properties)
File "/usr/lib/python2.7/dist-packages/tiramisu/value.py", line 207, in _getitem
value = self._getcallback_value(opt, max_len=lenmaster)
File "/usr/lib/python2.7/dist-packages/tiramisu/value.py", line 143, in _getcallback_value
index=index, max_len=max_len)
File "/usr/lib/python2.7/dist-packages/tiramisu/autolib.py", line 224, in carry_out_calculation
ret = calculate(callback, args, kwargs)
File "/usr/lib/python2.7/dist-packages/tiramisu/autolib.py", line 246, in calculate
return callback(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/creole/eosfunc.py", line 54, in calc_container
return client.get_creole(variable)
File "/usr/lib/python2.7/dist-packages/creole/client.py", line 383, in get_creole
raise err
NoMoreData
#3 Updated by Ghislain Loaec about 7 years ago
- Status changed from Nouveau to Résolu
- % Done changed from 0 to 100
Appliqué par commit 0b9b05e75c0c39fed3303962f69a58bfc86c846c.
#4 Updated by Ghislain Loaec about 7 years ago
Appliqué par commit cc72f7d41bedc0e05f801cac59ded1f198e73192.
#5 Updated by Emmanuel GARETTE about 7 years ago
- Due date set to 01/31/2014
- Assigned To set to Ghislain Loaec
- Start date set to 01/27/2014
#6 Updated by Joël Cuissinat about 7 years ago
- Status changed from Résolu to Fermé
L'erreur n'apparaît plus :)