Projet

Général

Profil

Tâche #33792

Distribution EOLE - Scénario #34140: Traitement express MEN (19-22)

Seth : exit code de JobSynchroSyvol

Ajouté par Gilles Grandgérard il y a environ 2 ans. Mis à jour il y a presque 2 ans.

Statut:
Fermé
Priorité:
Normal
Début:
09/05/2022
Echéance:
03/06/2022
% réalisé:

0%

Restant à faire (heures):
0.0

Description

Dans les logs, nous voyons un code de retour incorrect :

00:05:25.689             ==========================================================================================================
00:05:25.689             2022-02-08 09:13:32
00:05:30.692             doSynchro ==> 1
00:05:30.692             ==========================================================================================================

Il semble :
- que la procédure retourne 1 alors qu'il n'y a pas de problème (cas idmap).
- 'samba ntacl sysvolreset' n'est pas appliqué quand il le faudrait. (au delà de ce pb : Comment se fait-il qu'il y ait cette erreur ?)
- le cas Win n'est pas géré ('FIXME: a faire' dans https://dev-eole.ac-dijon.fr/jenkins/job/2.8.1/view/developpement/job/test-seth-ad2012-dc2-2.8.1-amd64/323/console)

Suite #28172


Demandes liées

Lié à EOLE AD DC - Tâche #28172: Tracer les opérations de synchronisation Sysvol Fermé 03/05/2019

Révisions associées

Révision aa0b5117 (diff)
Ajouté par Gilles Grandgérard il y a environ 2 ans

samba-tool ntacl sysvolreset si problème de synchro sysvol

REF #33792

Révision 84283cae (diff)
Ajouté par Gilles Grandgérard il y a environ 2 ans

shellcheck 0 error

REF #33792

Révision 77eaf48a (diff)
Ajouté par Gilles Grandgérard il y a environ 2 ans

création doSynchroFromWSAD pour synchro avec WSAD en DC_REF

REF #33792

Historique

#1 Mis à jour par Gilles Grandgérard il y a environ 2 ans

  • Statut changé de Nouveau à En cours

#2 Mis à jour par Gilles Grandgérard il y a environ 2 ans

  • Statut changé de En cours à Résolu

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

  • Release mis à EOLE 2.8.1

#4 Mis à jour par Joël Cuissinat il y a presque 2 ans

  • Echéance mis à 03/06/2022
  • Version cible mis à Prestation Cadoles MEN 2022 19-22
  • Début mis à 09/05/2022
  • Points de scénarios mis à 1.0

#5 Mis à jour par Joël Cuissinat il y a presque 2 ans

  • Assigné à mis à Gilles Grandgérard
  • Tâche parente mis à #34140

#6 Mis à jour par Joël Cuissinat il y a presque 2 ans

  • Lié à Tâche #28172: Tracer les opérations de synchronisation Sysvol ajouté

#7 Mis à jour par Joël Cuissinat il y a presque 2 ans

eole-ad-dc$ git branch -r --contains 77eaf48a 
  origin/2.8.1/master
  origin/HEAD -> origin/master
  origin/dist/eole/2.8.1/master
  origin/dist/eole/2.9.0/master
  origin/master

#8 Mis à jour par Joël Cuissinat il y a presque 2 ans

  • Statut changé de Résolu à Fermé
  • Restant à faire (heures) mis à 0.0
root@dc2:~# cat /var/log/samba/JobSynchro.log 
* Check reponse REF
* export on dc REF 'idmap.ldb'
ssh_on_dc 192.168.0.5 : tdbbackup -s .bak /var/lib/samba/private/idmap.ldb
* import 'idmap.tdb'
Pas de diff idmap, OK
* ATTENDU SYSVOL_ACL (AVANT RSYNC)
O:LAG:BAD:P(A;OICI;0x001f01ff;;;BA)(A;OICI;0x001200a9;;;SO)(A;OICI;0x001f01ff;;;SY)(A;OICI;0x001200a9;;;AU)
O:LAG:BAD:P(A;OICI;0x001f01ff;;;BA)(A;OICI;0x001200a9;;;SO)(A;OICI;0x001f01ff;;;SY)(A;OICI;0x001200a9;;;AU)
* ATTENDU POLICIES_ACL (AVANT RSYNC)
O:LAG:BAD:P(A;OICI;0x001f01ff;;;BA)(A;OICI;0x001200a9;;;SO)(A;OICI;0x001f01ff;;;SY)(A;OICI;0x001200a9;;;AU)(A;OICI;0x001301bf;;;PA)
O:LAG:BAD:P(A;OICI;0x001f01ff;;;BA)(A;OICI;0x001200a9;;;SO)(A;OICI;0x001f01ff;;;SY)(A;OICI;0x001200a9;;;AU)
* samba-tool ntacl sysvolcheck (AVANT RSYNC)
sysvolcheck avant : 0
* Rsync
* itemize-changes: '>' file was transfered, 'f' is a file, 'd' is a folder, 's' size are different, 't' timestamp was different,  'p' Permission are different, 'o' Owner is different, 'g' Group is different, 'a' The ACL information changed
rsync : 0
* ATTENDU SYSVOL_ACL (APRES RSYNC)
O:LAG:BAD:P(A;OICI;0x001f01ff;;;BA)(A;OICI;0x001200a9;;;SO)(A;OICI;0x001f01ff;;;SY)(A;OICI;0x001200a9;;;AU)
O:LAG:BAD:P(A;OICI;0x001f01ff;;;BA)(A;OICI;0x001200a9;;;SO)(A;OICI;0x001f01ff;;;SY)(A;OICI;0x001200a9;;;AU)
* ATTENDU POLICIES_ACL (APRES RSYNC)
O:LAG:BAD:P(A;OICI;0x001f01ff;;;BA)(A;OICI;0x001200a9;;;SO)(A;OICI;0x001f01ff;;;SY)(A;OICI;0x001200a9;;;AU)(A;OICI;0x001301bf;;;PA)
O:LAG:BAD:P(A;OICI;0x001f01ff;;;BA)(A;OICI;0x001200a9;;;SO)(A;OICI;0x001f01ff;;;SY)(A;OICI;0x001200a9;;;AU)
* samba-tool ntacl sysvolcheck (APRES RSYNC)
sysvolcheck : 0
Rsync n'a pas changé l'état Sysvol

Formats disponibles : Atom PDF