Project

General

Profile

Tâche #10081

eole-flask - Scénario #10082: Faire fonctionner EOP sur AmonEcole 2.4

EOP : Changement de mot de passe prof impossible en mode conteneur

Added by Joël Cuissinat over 6 years ago. Updated about 6 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
12/16/2014
Due date:
% Done:

100%

Estimated time:
4.00 h
Spent time:
Remaining (hours):
0.0

Description

Message d'erreur dans EOP :
Erreur : impossible de contacter le serveur. x

Traceback dans /var/log/controle-vnc/main.log (conteneur fichier) :

2014/12/16 12:25:29 CET [HTTPChannel,8,192.0.2.51] Appel de la fonction xmlrpc_remote_change_mdp
2014/12/16 12:25:29 CET [HTTPChannel,8,192.0.2.51] Unhandled Error
    Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/twisted/web/server.py", line 132, in process
        self.render(resrc)
      File "/usr/lib/python2.7/dist-packages/twisted/web/server.py", line 167, in render
        body = resrc.render(self)
      File "/usr/lib/python2.7/dist-packages/twisted/web/resource.py", line 216, in render
        return m(request)
      File "/usr/lib/python2.7/dist-packages/twisted/web/xmlrpc.py", line 172, in render_POST
        d = defer.maybeDeferred(function, *args)
    --- <exception caught here> ---
      File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 134, in maybeDeferred
        result = f(*args, **kw)
      File "/usr/share/eole/controlevnc/xmlrpc_eop.py", line 328, in xmlrpc_remote_change_mdp
        ldapuser.c_mod_password(username, new_password)
      File "/usr/lib/python2.7/dist-packages/scribe/eoleuser.py", line 737, in c_mod_password
        passwd.mod_password(login, user_passwd)
      File "/usr/lib/python2.7/dist-packages/fichier/passwd.py", line 21, in mod_password
        ret = system_out(cmd, stdin=stdin, container='fichier')
      File "/usr/lib/python2.7/dist-packages/pyeole/process.py", line 299, in system_out
        return creole_system_out(cmd, stdin, container, context, env, pty)
      File "/usr/lib/python2.7/dist-packages/pyeole/process.py", line 318, in creole_system_out
        return _service(cmd, stdin, container, context, env, pty, PIPE, PIPE)
      File "/usr/lib/python2.7/dist-packages/pyeole/process.py", line 167, in _service
        cmd = _gen_container_cmd(cmd, container, context, env, pty)
      File "/usr/lib/python2.7/dist-packages/pyeole/process.py", line 137, in _gen_container_cmd
        if not creole_test_container(container):
      File "/usr/lib/python2.7/dist-packages/pyeole/process.py", line 384, in creole_test_container
        raise SystemError(u'LXC commands not found.')
    exceptions.SystemError: LXC commands not found.

Associated revisions

Revision 08d4eda6 (diff)
Added by Lionel Morin about 6 years ago

Ajout d'un paramètre pour le mode conteneur (ref #10081 @6h)

Revision 65dcaa99 (diff)
Added by Lionel Morin about 6 years ago

Ajout d'un paramètre pour le mode conteneur (ref #10081 @6h)

Revision aeae1bd9 (diff)
Added by Lionel Morin about 6 years ago

Ajout d'un paramètre pour ignorer le conteneur (ref #10081 @1h)

Revision f38f244f (diff)
Added by Lionel Morin about 6 years ago

Ajout d'un paramètre pour ignorer le conteneur (ref #10081 @1h)

History

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

  • Parent task set to #10082

#2 Updated by Lionel Morin about 6 years ago

  • Description updated (diff)
  • Assigned To set to Lionel Morin

#3 Updated by Lionel Morin about 6 years ago

  • Status changed from Nouveau to En cours

#4 Updated by Lionel Morin about 6 years ago

  • Status changed from En cours to Résolu
  • % Done changed from 0 to 100
  • Remaining (hours) changed from 4.0 to 0.5

#5 Updated by Joël Cuissinat about 6 years ago

Testé OK

#6 Updated by Joël Cuissinat about 6 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 0.5 to 0.0

Also available in: Atom PDF