Project

General

Profile

Tâche #9351

Distribution EOLE - Scénario #9167: Demandes cosmétiques pour EOLE 2.4.1

Si creoled est arrêté, il est impossible de relancer reconfigure

Added by Emmanuel GARETTE about 7 years ago. Updated about 7 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
10/22/2014
Due date:
11/07/2014
% Done:

100%

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

Description

root@amonecole:~# reconfigure 
Traceback (most recent call last):
  File "/usr/bin/reconfigure", line 8, in <module>
    from creole.reconfigure import main
  File "/usr/lib/python2.7/dist-packages/creole/reconfigure.py", line 41, in <module>
    from creole import fonctionseole, template, cert
  File "/usr/lib/python2.7/dist-packages/creole/cert.py", line 544, in <module>
    certs_catalog = get_certs_catalog()
  File "/usr/lib/python2.7/dist-packages/creole/cert.py", line 161, in get_certs_catalog
    load_default_conf_if_needed()
  File "/usr/lib/python2.7/dist-packages/creole/cert.py", line 539, in load_default_conf_if_needed
    'conf_file': '/etc/eole/ssl/certif-eole.conf'})
  File "/usr/lib/python2.7/dist-packages/creole/cert.py", line 526, in load_conf
    ssl_default_key_bits = ssl_dico.get('ssl_default_key_bits', client.get_creole('ssl_default_key_bits', 2048))
  File "/usr/lib/python2.7/dist-packages/creole/client.py", line 448, in get_creole
    ret = self.get('/creole', *args, variable=name, **kwargs)
  File "/usr/lib/python2.7/dist-packages/creole/client.py", line 407, in get
    ret = self.request('/get', path, **kwargs)
  File "/usr/lib/python2.7/dist-packages/creole/client.py", line 333, in request
    ret = self._request(self.url + command + path, **kwargs)
  File "/usr/lib/python2.7/dist-packages/creole/client.py", line 317, in _request
    raise TimeoutCreoleClientError(_(u"HTTP error: {0}").format(err))
creole.client.TimeoutCreoleClientError: Erreur HTTP : socket.error: Can't connect to ('127.0.0.1', 8000)

Associated revisions

Revision bc1bc871 (diff)
Added by Emmanuel GARETTE about 7 years ago

message d'erreur plus explicite si creoled est arrêté (fixes #8497 @1h) (fixes #9351)

Revision f92a08e2 (diff)
Added by Benjamin Bohard about 7 years ago

La création du catalogue de certificats ne doit pas être effectuée à chaque fois.

Ref #9351 @30m

History

#1 Updated by Benjamin Bohard about 7 years ago

  • Status changed from Nouveau to En cours

#2 Updated by Emmanuel GARETTE about 7 years ago

  • Status changed from En cours to Résolu
  • % Done changed from 0 to 100

#3 Updated by Emmanuel GARETTE about 7 years ago

  • Due date set to 11/07/2014
  • Remaining (hours) changed from 4.0 to 0.0

#4 Updated by Emmanuel GARETTE about 7 years ago

  • Assigned To set to Emmanuel GARETTE

#5 Updated by Emmanuel GARETTE about 7 years ago

  • Status changed from Résolu to En cours
  • Assigned To changed from Emmanuel GARETTE to Benjamin Bohard

Erreur de numéro de demande dans le commit.

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

  • Status changed from En cours to Fermé

Le commit f92a08e2 semble bien résoudre le problème.

Also available in: Atom PDF