Bug 27174 - Connector bleibt in Initialisierungsphase
Connector bleibt in Initialisierungsphase
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: Samba
UCS@school 3.0
Other Linux
: P5 normal (vote)
: UCS@school 3.0 MS2
Assigned To: Stefan Gohmann
Felix Botner
:
Depends on: 27173
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-19 10:16 CEST by Stefan Gohmann
Modified: 2012-06-11 06:29 CEST (History)
0 users

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2012-05-19 10:16:14 CEST
Bugfix sollte nach UCS@school übernommen werden.

+++ This bug was initially created as a clone of Bug #27173 +++

Aufgefallen im Rahmen von Bug #26806. Wenn die Initialisierung zu lange dauert,
in diesem Fall aufgrund von Bug #27172, dann wird die Verbindung zum S4 LDAP
abgebaut und bei der nächsten Suche gibt es einen LDAP Server Down Traceback.

Die Suche nach den Änderungen beginnt dann wieder von vorne.
Comment 1 Stefan Gohmann univentionstaff 2012-05-19 10:21:12 CEST
Meldung aus connector-s4-status.log:

done: Can't contact LDAP server during ucs-poll, sync not possible.
Comment 2 Stefan Gohmann univentionstaff 2012-05-21 07:29:52 CEST
Die Verbindung wird jetzt wieder geöffnet.
Comment 3 Felix Botner univentionstaff 2012-05-24 09:41:33 CEST
OK

LDAP IDLE Timeout wurde auf auf 10s gesetzt, in s4connector/s4/__init__.py in s4.poll() wurde am Anfang ein time.sleep(15) eingefügt. Damit sollte der LDAP IDLE Timeout provoziert werden.

Ohne den Fix, gab es bei Ändernungen in s4 in connector-s4-status.log dann die Meldung 

try to sync 5 changes from S4
done: Can't contact LDAP server during ucs-poll, sync not possible.

und die Änderungen wurden nicht ins UCS Übernommen. Mit dem Fix hat es dann geklappt.
Comment 4 Stefan Gohmann univentionstaff 2012-06-11 06:29:32 CEST
UCS@school 3.0 wurde veröffentlicht. Sollte der hier beschriebene Bug mit einer  neueren Version von UCS@school erneut auftreten, so sollte dieser Bug dupliziert werden: "Clone This Bug"