Project

General

Profile

Scénario #23800

EOLE 2.7.0 : faire fonctionner EoleSSO

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

Status:
Terminé (Sprint)
Priority:
Normal
Assigned To:
Category:
-
Start date:
04/30/2018
Due date:
05/11/2018
% Done:

100%

Estimated time:
(Total: 4.00 h)
Spent time:
(Total: 2.75 h)
Story points:
1.0
Remaining (hours):
0.00 hour
Velocity based estimate:
Release:
Release relationship:
Auto

Description

2 problèmes identifiés à ce jour :
  • remettre la dépendance sur python-twisted-web2
    Traceback (most recent call last):
      File "/usr/bin/eole-sso", line 76, in <module>
        start_service()
      File "/usr/bin/eole-sso", line 41, in start_service
        from check_certs import run_check
      File "./check_certs.py", line 24, in <module>
        from eolesso.util import is_dn_in_hostname
      File "/usr/lib/python2.7/dist-packages/eolesso/util.py", line 28, in <module>
        from twisted.web2.http_headers import parseCookie
    ImportError: No module named web2.http_headers
    
  • trouver l'origine du problème suivant
    Traceback (most recent call last):
      File "./cas_resources.py", line 151, in render
        return self._render(request)
      File "./cas_resources.py", line 1261, in _render
        return self.render_verify(request)
      File "./cas_resources.py", line 1169, in render_verify
        defer_auth = self.manager.authenticate(username, password, search_branch)
      File "./authserver.py", line 1110, in authenticate
        defer_auth = self._data_proxy.authenticate(username, password, search_branch)
      File "/usr/lib/python2.7/dist-packages/eolesso/dataproxy.py", line 220, in authenticate
        defer_auth = proxy.authenticate(user_id, passwd, branch)
      File "/usr/lib/python2.7/dist-packages/eoleldaptor/eoleldapproxy.py", line 191, in authenticate
        return self.bind_and_collect(login, password, search_base=search_base)
      File "/usr/lib/python2.7/dist-packages/eoleldaptor/eoleldapproxy.py", line 218, in bind_and_collect
        d_dn = self.get_user_dn(login, search_base)
      File "/usr/lib/python2.7/dist-packages/eoleldaptor/baseproxy.py", line 170, in get_user_dn
        d_dn = self.connect(search_base)
      File "/usr/lib/python2.7/dist-packages/eoleldaptor/eoleldapproxy.py", line 62, in connect
        conn = self.bind(self.config['reader_dn'], self.config['reader_pass'], search_base)
      File "/usr/lib/python2.7/dist-packages/eoleldaptor/baseauthproxy.py", line 52, in bind
        self.config['server'])
      File "/usr/lib/python2.7/dist-packages/ldaptor/protocols/ldap/ldapconnector.py", line 93, in connect
        c = LDAPConnector(self.reactor, dn, f, overrides=overrides)
      File "/usr/lib/python2.7/dist-packages/ldaptor/protocols/ldap/ldapconnector.py", line 20, in __init__
        'ldap', domain, factory)
      File "/usr/lib/python2.7/dist-packages/twisted/names/srvconnect.py", line 77, in __init__
        self.domain = nativeString(domain)
      File "/usr/lib/python2.7/dist-packages/twisted/python/compat.py", line 412, in nativeString
        raise TypeError("%r is neither bytes nor unicode" % s)
    TypeError: None is neither bytes nor unicode
    Une erreur est survenue lors du calcul de contenu pour / :  None is neither bytes nor unicode
    

Subtasks

Tâche #23804: Débogage EoleSSO 2.7.0FerméJoël Cuissinat


Related issues

Related to Distribution EOLE - Tâche #23375: Faire une copie des sources de twisted-web2 Fermé 03/12/2018

Associated revisions

Revision 15f81551 (diff)
Added by Joël Cuissinat over 5 years ago

Revert "Replace depends from python-twisted-web2 to python-twisted-web"

This reverts eole-sso:b9d4152393dcd5cfa126aa6d3fed5a95a7b843b1.

Ref: #23111
Ref: #23800

History

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

  • Description updated (diff)

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

  • Related to Tâche #23375: Faire une copie des sources de twisted-web2 added

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

  • Due date set to 05/11/2018
  • Assigned To set to Joël Cuissinat
  • Target version set to sprint 2018 17-19 Equipe MENSR
  • Start date set to 04/23/2018
  • Story points changed from 2.0 to 1.0

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

  • Description updated (diff)

#5 Updated by Scrum Master over 5 years ago

  • Status changed from Nouveau to Terminé (Sprint)

Also available in: Atom PDF