Projet

Général

Profil

Anomalie #7623

Creoled ne devrait pas chercher à upgrader le fichier config.eol

Ajouté par Emmanuel GARETTE il y a environ 10 ans. Mis à jour il y a presque 10 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Début:
Echéance:
21/03/2014
% réalisé:

100%

Temps passé:
Distribution:
EOLE 2.4

Description

Lors de la migration 2.3 vers 2.4, creoled detect un config.eol version 2.3 et cherche à le convertir en 2.4.

Comme l'upgrade utilise les eosfunc ... qui utilise creole client qui utilise creoled, le service ne démarre pas.


Demandes liées

Lié à creole - Evolution #7622: Migration 2.3 à 2.4 (début d'implémentation) Fermé 21/03/2014

Révisions associées

Révision 1d5c6778 (diff)
Ajouté par Emmanuel GARETTE il y a environ 10 ans

creoled ne devrait pas se charger d'upgrader le config.eol (fixes #7623)

Historique

#1 Mis à jour par Emmanuel GARETTE il y a environ 10 ans

  • Statut changé de Nouveau à Résolu
  • % réalisé changé de 0 à 100

#2 Mis à jour par Joël Cuissinat il y a environ 10 ans

  • Echéance mis à 21/03/2014

#3 Mis à jour par Joël Cuissinat il y a presque 10 ans

  • Statut changé de Résolu à Fermé

En mettant un fichier /etc/eole/config.eol cela fait comme si je n'avais pas de fichier de configuration :

root@amon:~# creoled --debug
creoled - Loading tiramisu configuration
 ENGINE Listening for SIGHUP.
 ENGINE Listening for SIGTERM.
 ENGINE Listening for SIGUSR1.
 ENGINE Listening for SIGINT.
 ENGINE Bus STARTING
 ENGINE Start InotifyMonitor thread
 ENGINE Started monitor thread '_TimeoutMonitor'.
 ENGINE PID 9418 written to '/tmp/creoled.pid'.
 ENGINE Started monitor thread 'Autoreloader'.
 ENGINE Serving on 127.0.0.1:8000
 ENGINE Bus STARTED
creoled - variable adresse_ip_eth0 obligatoire sans valeur renseignée
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/creole/server.py", line 302, in get
    'obligatoire sans valeur renseignée'.format(name))
Exception: variable adresse_ip_eth0 obligatoire sans valeur renseignée
127.0.0.1 - - [23/Apr/2014:17:38:18] "GET /get/creole?variable=adresse_ip_eth0 HTTP/1.1" 200 93 "" "restkit/3.3.2" 

Formats disponibles : Atom PDF