Tâche #14089
Distribution EOLE - Scénario #14084: Assistance aux utilisateurs (49-51)
Le service controle-vnc s'arrête lors de la connexion d'un utilisateur (EOLE 2.5.2)
Description
Dans les log de controle-vnc (/var/log/controle-vnc/main.log) :
2015/11/19 10:58:40 [Broker,0,10.1.2.50] Appel de la fonction remote_logon par 10.1.2.50 2015/11/19 10:58:40 [Broker,0,10.1.2.50] Nom de la machine pcwin7prof 2015/11/19 10:58:40 [Broker,0,10.1.2.50] /usr/share/eole/controlevnc/esu.py:258: exceptions.FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead. 2015/11/19 10:58:40 [Broker,0,10.1.2.50] Groupe de machines ESU trouve : grp_eole (pcwin7prof) 2015/11/19 10:58:40 [Broker,0,10.1.2.50] Utilisateur "c31e1"; groupes ['c31', 'DomainUsers', 'eleves', 'n3'] 2015/11/19 10:58:40 [Broker,0,10.1.2.50] Groupe d'utilisateur ESU : eleves (c31e1) 2015/11/19 10:58:40 [Broker,0,10.1.2.50] Starting factory <twisted.spread.pb.PBClientFactory instance at 0x7f45041f7638> 2015/11/19 10:58:40 [Broker,0,10.1.2.50] test_port 10.1.2.50:8788 2015/11/19 10:58:43 [Broker,client] Starting factory <twisted.spread.pb.PBClientFactory instance at 0x7f45041f75f0> 2015/11/19 10:58:43 [Broker,client] Stopping factory <twisted.spread.pb.PBClientFactory instance at 0x7f45041f7638> 2015/11/19 10:58:43 [Broker,client] Starting factory <twisted.spread.pb.PBClientFactory instance at 0x7f45041be098> 2015/11/19 10:58:43 [Broker,client] Stopping factory <twisted.spread.pb.PBClientFactory instance at 0x7f45041f75f0> 2015/11/19 10:58:44 [Broker,client] Starting factory <twisted.spread.pb.PBClientFactory instance at 0x7f45041be560> 2015/11/19 10:58:44 [Broker,client] Starting factory <twisted.spread.pb.PBClientFactory instance at 0x7f45041be680> 2015/11/19 10:58:44 [Broker,client] Stopping factory <twisted.spread.pb.PBClientFactory instance at 0x7f45041be098> 2015/11/19 10:58:44 [Broker,client] Stopping factory <twisted.spread.pb.PBClientFactory instance at 0x7f45041be560> 2015/11/19 10:58:44 [Broker,client] Stopping factory <twisted.spread.pb.PBClientFactory instance at 0x7f45041be680> 2015/11/19 10:58:55 [-] Timeout 10.1.2.50 2015/11/19 10:58:55 [-] Main loop terminated. 2015/11/19 10:58:55 [-] Server Shut Down.
C'est peut-être lié à #14006.
Related issues
Associated revisions
manage_station.py: arrêter le reactor côté client
Un certain nombre de problèmes sont présents dans la gestion des actions
de l’object « Cliscribe » :
- Cet objet est utilisé côté serveur, il doit donc pouvoir fonctionner
tout le temps
- L’initialisation de l’objet créé un minuteur de 15 secondes qui n’est
jamais réinitialisé ni désactivé lorsqu’une commande arrive à
terme. Il est donc toujours exécuté dans le cas d’utilisation côté
serveur.
- Chaque action est un « callback » au lieu d’être un « Deferred »,
l’exécution des « callback » est synchrone et peut donc bloquer
complètement sur le réacteur.
This partially reverts commit 7ae53ea022e23b57a1bbf5a68493381088b65444.
- backend/cliscribe.py (Cliscribe.__init__): Sauvegarde du timeout pour
utilisation par les clients.
Suppression de l’attribut « exception »
(Cliscribe.err): Suppression de la sauvegarde de l’exception.
(Cliscribe.timeout): Remise en place de l’ancien code.
- backend/manage_stations.py (manage_station.shutdown_sta): Ajout d’un
« callLater » pour arrêter le réacteur en cas de timeout.
Ne pas définir de variable nommée comme une méthode
Ref: #14089
History
#1 Updated by Scrum Master over 7 years ago
- Assigned To set to Daniel Dehennin
A corriger pour 2.5.2
#2 Updated by Daniel Dehennin over 7 years ago
- Status changed from Nouveau to En cours
- Estimated time set to 1.00 h
- Parent task set to #14084
#3 Updated by Daniel Dehennin over 7 years ago
- % Done changed from 0 to 100
- Remaining (hours) set to 0.0
Correction de la correction.
#4 Updated by Daniel Dehennin over 7 years ago
- Remaining (hours) changed from 0.0 to 0.25
#5 Updated by Scrum Master over 7 years ago
- Status changed from En cours to Résolu
#6 Updated by Joël Cuissinat over 7 years ago
- Subject changed from Le service controle-vnc s'arrète lors de la connexion d'un utilisateur (EOLE 2.5.2) to Le service controle-vnc s'arrête lors de la connexion d'un utilisateur (EOLE 2.5.2)
- Status changed from Résolu to Fermé
- Remaining (hours) changed from 0.25 to 0.0
Le service n'est plus arrêté par contre les logs sont plein de traceback => #14187