Project

General

Profile

Scénario #13191

Plantage aléatoire de Logon.exe sur la récupération d'un sambaSID

Added by Joël Cuissinat over 5 years ago. Updated over 5 years ago.

Status:
Terminé (Sprint)
Priority:
Normal
Assigned To:
Category:
-
Start date:
10/12/2015
Due date:
10/30/2015
% Done:

100%

Estimated time:
(Total: 4.00 h)
Spent time:
(Total: 4.00 h)
Story points:
4.0
Remaining (hours):
0.00 hour
Velocity based estimate:

Description

Message à l'ouverture de session :

Une erreur s'est produite lors de l'appel distant (remote_logon) : 'sambaSID'

Traceback dans /var/log/controle-vnc/main.log :

2015/09/25 10:37:00  [Broker,125,10.1.2.50] Unhandled Error
    Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/twisted/spread/banana.py", line 153, in gotItem
        self.callExpressionReceived(item)
      File "/usr/lib/python2.7/dist-packages/twisted/spread/banana.py", line 116, in callExpressionReceived
        self.expressionReceived(obj)
      File "/usr/lib/python2.7/dist-packages/twisted/spread/pb.py", line 565, in expressionReceived
        method(*sexp[1:])
      File "/usr/lib/python2.7/dist-packages/twisted/spread/pb.py", line 877, in proto_message
        self._recvMessage(self.localObjectForID, requestID, objectID, message, answerRequired, netArgs, netKw)
    --- <exception caught here> ---
      File "/usr/lib/python2.7/dist-packages/twisted/spread/pb.py", line 891, in _recvMessage
        netResult = object.remoteMessageReceived(self, message, netArgs, netKw)
      File "/usr/share/eole/controlevnc/controle_vnc_serveur.py", line 67, in remoteMessageReceived
        return pb.Root.remoteMessageReceived(self, broker, message, args, kw)
      File "/usr/lib/python2.7/dist-packages/twisted/spread/flavors.py", line 114, in remoteMessageReceived
        state = method(*args, **kw)
      File "/usr/share/eole/controlevnc/controle_vnc_serveur.py", line 329, in remote_logon
        return gest_sessions.Logon().logon(self.ip, os_type, self.blocage)
      File "/usr/share/eole/controlevnc/gest_sessions.py", line 34, in logon
        Connexions().get_infos(self.ip, os_type)
      File "/usr/share/eole/controlevnc/connexions.py", line 379, in get_infos
        sid = user_attrib['sambaSID'][0].strip()
    exceptions.KeyError: 'sambaSID'

Subtasks

Tâche #13531: Gérer le cas des ouverture de session "machine"FerméEmmanuel GARETTE

Associated revisions

Revision 8cee9f95 (diff)
Added by Emmanuel GARETTE over 5 years ago

pouvoir charger les sessions que pour un utilisateur (ref #13191)

History

#1 Updated by Joël Cuissinat over 5 years ago

  • Description updated (diff)

#2 Updated by Scrum Master over 5 years ago

  • Status changed from Nouveau to En cours

#3 Updated by Scrum Master over 5 years ago

  • Assigned To set to Emmanuel GARETTE

#4 Updated by Emmanuel GARETTE over 5 years ago

  • % Done changed from 0 to 10

#5 Updated by Daniel Dehennin over 5 years ago

2015/10/06 15:13:21  [Broker,3,10.3.2.50] Appel de la fonction remote_logon par 10.3.2.50
2015/10/06 15:13:21  [Broker,3,10.3.2.50] Peer will receive following PB traceback:
2015/10/06 15:13:21  [Broker,3,10.3.2.50] Unhandled Error
        Traceback (most recent call last):
          File "/usr/lib/python2.7/dist-packages/twisted/spread/banana.py", line 153, in gotItem
            self.callExpressionReceived(item)
          File "/usr/lib/python2.7/dist-packages/twisted/spread/banana.py", line 116, in callExpressionReceived
            self.expressionReceived(obj)
          File "/usr/lib/python2.7/dist-packages/twisted/spread/pb.py", line 565, in expressionReceived
            method(*sexp[1:])
          File "/usr/lib/python2.7/dist-packages/twisted/spread/pb.py", line 877, in proto_message
            self._recvMessage(self.localObjectForID, requestID, objectID, message, answerRequired, netArgs, netKw)
        --- <exception caught here> ---
          File "/usr/lib/python2.7/dist-packages/twisted/spread/pb.py", line 891, in _recvMessage
            netResult = object.remoteMessageReceived(self, message, netArgs, netKw)
          File "/usr/share/eole/controlevnc/controle_vnc_serveur.py", line 67, in remoteMessageReceived
            return pb.Root.remoteMessageReceived(self, broker, message, args, kw)
          File "/usr/lib/python2.7/dist-packages/twisted/spread/flavors.py", line 114, in remoteMessageReceived
            state = method(*args, **kw)
          File "/usr/share/eole/controlevnc/controle_vnc_serveur.py", line 329, in remote_logon
            return gest_sessions.Logon().logon(self.ip, os_type, self.blocage)
          File "/usr/share/eole/controlevnc/gest_sessions.py", line 34, in logon
            Connexions().get_infos(self.ip, os_type)
          File "/usr/share/eole/controlevnc/connexions.py", line 382, in get_infos
            raise Exception('utilisateur inconnu {0}, les informations de la session sont {1}'.format(user, sessions))
        exceptions.Exception: utilisateur inconnu PCWIN7, les informations de la session sont <connexions.Session instance at 0x7f54d6d07fc8>

#6 Updated by Bruno Boiget over 5 years ago

problème rencontré sur amonecole (etb3).

machines :

  • etb3.amonecole
  • etb3.pceleve (prepawin: PCELEVE + integrdom)
  • etb3.pcprof (prepawin: PCPROF + integrdom)

pas de problème de connexion sur pceleve en tant que prof.6a ou 6a.01

sur pcprof, erreur systématique à l'ouverture de session quelque soit le compte :

boite de dialogue logon.exe avec le message : erreur lors de l'appel distant (remote_logon) / callback timed out

logs dans controlevnc (connexion sur pceleve avec 6a.01) :

07 10:55:21  [Broker,203,10.3.2.52] Appel de la fonction remote_logon par 10.3.2.52
2015/10/07 10:55:21  [Broker,203,10.3.2.52] Nom de la machine pceleve
2015/10/07 10:55:21  [Broker,203,10.3.2.52] Groupe de machines ESU trouve : grp_eole (pceleve)
2015/10/07 10:55:21  [Broker,203,10.3.2.52] Utilisateur "prof.6a"; groupes ['DomainUsers', 'professeurs', 'profs-6a']
2015/10/07 10:55:21  [Broker,203,10.3.2.52] Groupe d'utilisateur ESU : professeurs (prof.6a)
2015/10/07 10:55:21  [Broker,203,10.3.2.52] Starting factory <twisted.spread.pb.PBClientFactory instance at 0x7feed894b2d8>
2015/10/07 10:55:21  [Broker,203,10.3.2.52] test_port 10.3.2.52:8788
2015/10/07 10:55:36  [-] Timeout 10.3.2.52
2015/10/07 10:55:36  [-] "Erreur , Traceback (failure with no frames): <class 'cliscribe.TimeoutError'>: Callback timed out\n" 
2015/10/07 10:55:36  [-] "Erreur , Traceback (failure with no frames): <class 'cliscribe.TimeoutError'>: Callback timed out\n" 
2015/10/07 10:55:36  [-] Peer will receive following PB traceback:
2015/10/07 10:55:36  [-] Unhandled Error
    Traceback (most recent call last):
    Failure: cliscribe.TimeoutError: Callback timed out

#7 Updated by Bruno Boiget over 5 years ago

J'ai refait des tests par rapport au problème remonté dans le commentaire précédent.
Je n'ai pas de problème avec 2 instances de la machine etb3.pceleve-7.

Je soupçonne un soucis avec l'image etb3.pcprof-7 qui pose systématiquement problème.

#8 Updated by Scrum Master over 5 years ago

  • Parent task deleted (#12918)

#9 Updated by Scrum Master over 5 years ago

  • Project changed from Distribution EOLE to controle-vnc
  • Assigned To deleted (Emmanuel GARETTE)
  • Target version changed from Sprint 2015 39-41 - Équipe MENESR to Sprint 2015 42-44 - Équipe MENESR
  • Estimated time deleted (4.00 h)
  • Remaining (hours) deleted (4.0)

#10 Updated by Scrum Master over 5 years ago

  • Status changed from En cours to Nouveau

#11 Updated by Scrum Master over 5 years ago

  • Tracker changed from Tâche to Scénario
  • Due date set to 10/30/2015
  • % Done changed from 10 to 0
  • Story points set to 4.0

#12 Updated by Scrum Master over 5 years ago

  • Assigned To set to force bleue

#13 Updated by Joël Cuissinat over 5 years ago

  • Status changed from Nouveau to Terminé (Sprint)

Also available in: Atom PDF