Project

General

Profile

Tâche #25297

Scénario #25242: Le démarrage du réseau doit attendre que les adresses IP soient assignées avant de continuer AD-T10-001 - Test NTP sur DC1 (2.7.0-b1)

Vérifier le démarrage de cNTLM ne rapport avec netplan - PROXY-T00-000 : Mise en place de l'infrastructure pour les tests du proxy (2.7.0-b1)

Added by Fabrice Barconnière almost 5 years ago. Updated almost 5 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
08/27/2018
Due date:
10/26/2018
% Done:

100%

Estimated time:
1.00 h
Remaining (hours):
0.0

Description

https://dev-eole.ac-dijon.fr/squash/executions/7838

  • Pas 1 : erreur au diagnose
    *** Test du module amon version 2.7.0 (amon 00000001) ***
    
    Attention, serveur opérationnel mais des services ne sont pas démarrés :
    
    eole-cntlm.service loaded failed
    winbind.service loaded failed
    [...]
    .                 Proxy Cntlm => Erreur
    [...]
    

    En regardant de plus près :
    root@amon:~# systemctl status eole-cntlm.service 
    ● eole-cntlm.service - EOLE Cntlm wrapper
       Loaded: loaded (/lib/systemd/system/eole-cntlm.service; enabled; vendor preset: enabled)
       Active: failed (Result: exit-code) since Fri 2018-09-28 13:59:33 CEST; 15min ago
      Process: 890 ExecStart=/usr/sbin/eole-cntlm (code=exited, status=1/FAILURE)
    
    sept. 28 13:59:33 amon cntlm[900]: Starting cntlm version 0.92.3 for LITTLE endian
    sept. 28 13:59:33 amon cntlm[900]: Cannot bind port 3127: Cannot assign requested address!
    sept. 28 13:59:33 amon cntlm[900]: No proxy service ports were successfully opened.
    sept. 28 13:59:33 amon systemd[1]: eole-cntlm.service: Control process exited, code=exited status=1
    sept. 28 13:59:33 amon cntlm[897]: Signal 15 received, issuing clean shutdown
    sept. 28 13:59:33 amon cntlm[897]: Terminating with 0 active threads
    sept. 28 13:59:33 amon cntlm[899]: Signal 15 received, issuing clean shutdown
    sept. 28 13:59:33 amon cntlm[899]: Terminating with 0 active threads
    sept. 28 13:59:33 amon systemd[1]: eole-cntlm.service: Failed with result 'exit-code'.
    sept. 28 13:59:33 amon systemd[1]: Failed to start EOLE Cntlm wrapper.
    

    Un démarrage manuel fonctionne
    root@amon:~# systemctl start eole-cntlm.service 
    root@amon:~# systemctl status eole-cntlm.service 
    ● eole-cntlm.service - EOLE Cntlm wrapper
       Loaded: loaded (/lib/systemd/system/eole-cntlm.service; enabled; vendor preset: enabled)
       Active: active (running) since Fri 2018-09-28 14:17:30 CEST; 2s ago
      Process: 8516 ExecStart=/usr/sbin/eole-cntlm (code=exited, status=0/SUCCESS)
        Tasks: 3 (limit: 2317)
       CGroup: /system.slice/eole-cntlm.service
               ├─8518 /usr/sbin/cntlm -U cntlm -c /etc/cntlm.conf -l 10.1.1.1:3127 10.1.1.1:3128
               ├─8520 /usr/sbin/cntlm -U cntlm -c /etc/cntlm.conf -l 10.1.2.1:3127 10.1.2.1:3128
               └─8522 /usr/sbin/cntlm -U cntlm -c /etc/cntlm.conf -l 10.1.3.1:3127 10.1.3.1:3128
    
    sept. 28 14:17:30 amon cntlm[8517]: Proxy listening on 10.1.1.1:3127
    sept. 28 14:17:30 amon cntlm[8517]: Workstation name used: amon
    sept. 28 14:17:30 amon cntlm[8517]: Using following NTLM hashes: NTLMv2(1) NT(0) LM(0)
    sept. 28 14:17:30 amon cntlm[8518]: Daemon ready
    sept. 28 14:17:30 amon cntlm[8518]: Changing uid:gid to 109:65534 - Success
    sept. 28 14:17:30 amon cntlm[8520]: Daemon ready
    sept. 28 14:17:30 amon cntlm[8520]: Changing uid:gid to 109:65534 - Success
    sept. 28 14:17:30 amon systemd[1]: Started EOLE Cntlm wrapper.
    sept. 28 14:17:30 amon cntlm[8522]: Daemon ready
    sept. 28 14:17:30 amon cntlm[8522]: Changing uid:gid to 109:65534 - Success
    

    Tests poursuivis

Related issues

Copied to Distribution EOLE - Tâche #25334: Correction du test PROXY-T00-000 : Mise en place de l'infrastructure pour les tests du proxy (2.7.0-b1) Fermé 08/27/2018 10/26/2018

Associated revisions

Revision 52a0ee89 (diff)
Added by Daniel Dehennin almost 5 years ago

cNTLM unit must wait for all interface IPs

As we do not bind the service on 0.0.0.0 we need to wait for all used
IPs to be configured before starting the service.

  • init/eole-cntlm.service (After): replace “network.target” with
    “network-online.target”.
    (Wants): add dependencies to order the start of the service.

Ref: #25297

History

#1 Updated by Fabrice Barconnière almost 5 years ago

  • Description updated (diff)

#2 Updated by Fabrice Barconnière almost 5 years ago

  • Description updated (diff)

#3 Updated by Fabrice Barconnière almost 5 years ago

  • Description updated (diff)

#4 Updated by Fabrice Barconnière almost 5 years ago

  • Copied to Tâche #25305: Correction PROXY-T10-003 : Groupe de machine avec interdiction "Le web selon horaires" (2.7.0-b1) added

#5 Updated by Fabrice Barconnière almost 5 years ago

  • Copied to deleted (Tâche #25305: Correction PROXY-T10-003 : Groupe de machine avec interdiction "Le web selon horaires" (2.7.0-b1))

#6 Updated by Joël Cuissinat almost 5 years ago

  • Subject changed from correction PROXY-T00-000 : Mise en place de l'infrastructure pour les tests du proxy to Correction PROXY-T00-000 : Mise en place de l'infrastructure pour les tests du proxy

#7 Updated by Joël Cuissinat almost 5 years ago

  • Subject changed from Correction PROXY-T00-000 : Mise en place de l'infrastructure pour les tests du proxy to Correction PROXY-T00-000 : Mise en place de l'infrastructure pour les tests du proxy (2.7.0-b1)

#8 Updated by Gérald Schwartzmann almost 5 years ago

  • Description updated (diff)

#9 Updated by Gérald Schwartzmann almost 5 years ago

  • Copied to Tâche #25334: Correction du test PROXY-T00-000 : Mise en place de l'infrastructure pour les tests du proxy (2.7.0-b1) added

#10 Updated by Daniel Dehennin almost 5 years ago

  • Subject changed from Correction PROXY-T00-000 : Mise en place de l'infrastructure pour les tests du proxy (2.7.0-b1) to Vérifier le démarrage de cNTLM ne rapport avec netplan - PROXY-T00-000 : Mise en place de l'infrastructure pour les tests du proxy (2.7.0-b1)
  • Parent task changed from #24655 to #25242

#11 Updated by Daniel Dehennin almost 5 years ago

  • Due date set to 10/26/2018

#12 Updated by Daniel Dehennin almost 5 years ago

  • Description updated (diff)
  • Status changed from Nouveau to En cours
  • Assigned To set to Daniel Dehennin

#13 Updated by Daniel Dehennin almost 5 years ago

  • % Done changed from 0 to 100
  • Estimated time set to 1.00 h
  • Remaining (hours) set to 0.25

#14 Updated by Scrum Master almost 5 years ago

  • Status changed from En cours to Résolu

#15 Updated by Laurent Flori almost 5 years ago

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

Also available in: Atom PDF