Project

General

Profile

Tâche #33792

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

Seth : exit code de JobSynchroSyvol

Added by Gilles Grandgérard over 2 years ago. Updated almost 2 years ago.

Status:
Fermé
Priority:
Normal
Start date:
05/09/2022
Due date:
06/03/2022
% Done:

0%

Remaining (hours):
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


Related issues

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

Associated revisions

Revision aa0b5117 (diff)
Added by Gilles Grandgérard over 2 years ago

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

REF #33792

Revision 84283cae (diff)
Added by Gilles Grandgérard over 2 years ago

shellcheck 0 error

REF #33792

Revision 77eaf48a (diff)
Added by Gilles Grandgérard over 2 years ago

création doSynchroFromWSAD pour synchro avec WSAD en DC_REF

REF #33792

History

#1 Updated by Gilles Grandgérard over 2 years ago

  • Status changed from Nouveau to En cours

#2 Updated by Gilles Grandgérard about 2 years ago

  • Status changed from En cours to Résolu

#3 Updated by Joël Cuissinat about 2 years ago

  • Release set to EOLE 2.8.1

#4 Updated by Joël Cuissinat almost 2 years ago

  • Due date set to 06/03/2022
  • Target version set to Prestation Cadoles MEN 2022 19-22
  • Start date set to 05/09/2022
  • Story points set to 1.0

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

  • Assigned To set to Gilles Grandgérard
  • Parent task set to #34140

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

  • Related to Tâche #28172: Tracer les opérations de synchronisation Sysvol added

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

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 Updated by Joël Cuissinat almost 2 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) set to 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

Also available in: Atom PDF