Project

General

Profile

Evolution #2182

Ne pas lancer gen_config avant gen_conteneur

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

Status:
Fermé
Priority:
Bas
Assigned To:
Category:
-
Start date:
10/10/2011
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:
Distribution:
EOLE 2.3

Description

Je constate que ce n'est pas le cas (j'imagine que c'est fait en début d'instance) et c'est bien dommage car il y'a de nombreux <fill> qui utilisent ces variables et qui ne peuvent pas être initialisés correctement lors du premier "gen_config".

Je trouve ça bloquant pour la configuration du proxy authentifiant sur AmonEcole (#1965) car les adresses IP à renseigner ne sont pas "devinables" par l'utilisateur !


Related issues

Related to creole - Anomalie #3001: gen_conteneur et mise à jour Fermé 03/02/2012
Related to AmonEcole - Anomalie #3512: Instance AMONECOLE Pas un bug 05/24/2012

Associated revisions

Revision b166a641 (diff)
Added by Emmanuel GARETTE about 11 years ago

Ne pas lancer gen_config avant gen_conteneur (fixes #2182)

History

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

  • Status changed from Nouveau to Pas un bug
  • Target version deleted (Mises à jour 2.3 - 02 Stable)

Erreur de ma part, je testais http://dev-eole.ac-dijon.fr/issues/2018 en même temps ;)

#2 Updated by Emmanuel GARETTE (2) over 11 years ago

Par contre, il y a bien un soucis si on lance gen_config avant gen_conteneurs, a mon avis il faudrait regarder ce point.

#3 Updated by Emmanuel GARETTE (2) over 11 years ago

Remplacer :

from creole.error import VirtError
try:
    from creole import config
except VirtError, e:
    print e
    sys.exit(1)

par

from os.path import isfile
from creole.error import VirtError
try:
    from creole import config
    if not VIRTDISABLED and not isfile(config.containers_file):
        raise Exception("Veuillez lancer gen_conteneurs avant gen_config")
except VirtError, e:
    print e
    sys.exit(1)

(je n'ai pas vraiment testé ;)

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

  • Status changed from Pas un bug to En attente d'informations
  • Target version set to Mises à jour 2.3 - 02 Stable

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

  • Target version changed from Mises à jour 2.3 - 02 Stable to Mises à jour 2.3 - 03 RC

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

  • Priority changed from Normal to Bas
  • Target version changed from Mises à jour 2.3 - 03 RC to Mises à jour 2.3.4 RC

#7 Updated by Joël Cuissinat over 11 years ago

  • Status changed from En attente d'informations to Accepté
  • Estimated time set to 1.00 h

#8 Updated by Joël Cuissinat about 11 years ago

  • Target version changed from Mises à jour 2.3.4 RC to Mises à jour 2.3.5 RC

#9 Updated by Emmanuel GARETTE about 11 years ago

  • Subject changed from Possibilité que le fichier /etc/eole/containers.conf soit généré à la fin du gen_conteneurs ? to Ne pas lancer gen_config avant gen_conteneur

#10 Updated by Joël Cuissinat about 11 years ago

  • Project changed from eole-common to creole

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

  • Status changed from Accepté to Résolu
  • Assigned To set to Emmanuel GARETTE
  • % Done changed from 0 to 100

Résolu par b166a641

#12 Updated by Fabrice Barconnière about 11 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF