Project

General

Profile

Tâche #27315

Scénario #27100: Traitement express MEN (13-15)

L'instanciation du module Seth 2.6.1 échoue lors des tests "enregistrement Zéphir"

Added by Joël Cuissinat 8 months ago. Updated 7 months ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
03/18/2019
Due date:
% Done:

0%

Remaining (hours):
0.0

Description

Cela se termine toujours en timeout (indépendamment de la version du Zéphir) :

01:51:50.616             Export one principal to /var/lib/samba/eole-ad-dc.keytab
01:51:50.616             Redémarrage service
01:51:50.617             Waiting Samba 127.0.0.1:445 to be alive
01:51:50.617             Test connection kerberos/AD
01:53:23.697             Set Administrator password never expire
01:53:23.697             Expiry for user 'Administrator' disabled.
01:53:23.697             Waiting Samba 127.0.0.1:445 to be alive
02:27:58.291             MONITOR: TIMEOUT action:$TIMEOUT

Related issues

Related to EOLE AD DC - Tâche #21064: Modifier le dico, template et le code Fermé 07/21/2017

Associated revisions

Revision 34c704de (diff)
Added by Joël Cuissinat 8 months ago

lib/eole/samba4.sh : remove useless & dirty waiting loop

Ref: #27315

History

#1 Updated by Joël Cuissinat 8 months ago

  • Description updated (diff)

#2 Updated by Joël Cuissinat 8 months ago

  • Status changed from Nouveau to En cours
  • Assigned To set to Joël Cuissinat
Tentative de reproduction :
  • aca.zephir-2.6.1.1-AvecConf
  • aca.dc1-2.6.1.1-Daily

#3 Updated by Joël Cuissinat 8 months ago

  • Related to Tâche #21064: Modifier le dico, template et le code added

#4 Updated by Joël Cuissinat 8 months ago

Le code problématique (supprimé en 2.6.2) :

    echo Waiting Samba 127.0.0.1:445 to be alive
    for i in `seq 600`
    do
        tcpcheck 1 127.0.0.1:445 |grep -q alive && PORT445OK=ok
    done
    if [ "$PORT445OK" != "ok" ]; then
        EchoRouge "Le service samba-ad-dc n'a pas démarré dans le temps imparti" 
        exit 1
    fi

Au mieux, il manque un break dans la boucle for du coup le tcpcheck est exécuté 600 fois pour rien !
Le "maître" y passe entre 3 et 7 minutes et les lames... plus que le timeout !

#5 Updated by Scrum Master 8 months ago

  • Status changed from En cours to Résolu

#6 Updated by Joël Cuissinat 8 months ago

  • Parent task changed from #26618 to #27100

#7 Updated by Laurent Flori 7 months ago

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

Also available in: Atom PDF