Bug 39795 - udm cli should try again in case Master slapd is not available while join script runs
udm cli should try again in case Master slapd is not available while join scr...
Status: REOPENED
Product: UCS
Classification: Unclassified
Component: UDM - CLI
UCS 4.4
Other Linux
: P5 normal (vote)
: UCS 4.1-x
Assigned To: UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-11-05 13:27 CET by Arvid Requate
Modified: 2019-02-06 11:38 CET (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.023
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2016012721000469
Bug group (optional): Error handling, External feedback, Usability
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2015-11-05 13:27:22 CET
During UCS 4.1 product tests the join of a UCS memberserver failed like this:
==========================================================================
Configure 26univention-nagios-common.inst Thu Nov  5 12:57:22 CET 2015
2015-11-05 12:57:22.112421245+01:00 (in joinscript_init)
Object exists: cn=nagios,dc=ar41s4pt1i2,dc=qa
Object exists: cn=24x7,cn=nagios,dc=ar41s4pt1i2,dc=qa
Object exists: cn=WorkHours,cn=nagios,dc=ar41s4pt1i2,dc=qa
Object exists: cn=NonWorkHours,cn=nagios,dc=ar41s4pt1i2,dc=qa
Object exists: cn=UNIVENTION_PING,cn=nagios,dc=ar41s4pt1i2,dc=qa
Object exists: cn=UNIVENTION_DISK_ROOT,cn=nagios,dc=ar41s4pt1i2,dc=qa
Object exists: cn=UNIVENTION_DNS,cn=nagios,dc=ar41s4pt1i2,dc=qa
Object exists: cn=UNIVENTION_SWAP,cn=nagios,dc=ar41s4pt1i2,dc=qa
authentication error: {'desc': 'Connect error'}
Thu Nov  5 12:57:24 CET 2015: finish /usr/share/univention-join/univention-join
==========================================================================



Syslog on the master shows that slapd just restarted:
==========================================================================
Nov  5 12:57:24 master105 logger: /etc/init.d/slapd graceful-restart (pid: 5196, ppid: 3536 univention-dire)
Nov  5 12:57:24 master105 logger: /etc/init.d/slapd graceful-stop (pid: 5204, ppid: 5196 slapd)
Nov  5 12:57:24 master105 logger: /etc/init.d/slapd start (pid: 5217, ppid: 5196 slapd)
Nov  5 12:57:24 master105 slapd[5228]: @(#) $OpenLDAP: slapd  (Oct 31 2015 11:02:56) $#012#011root@ladda:/var/build/temp/tmp.kxy0SdLe0n/pbuilder/openldap-2.4.42+dfsg/debian/build/servers/slapd
Nov  5 12:58:00 master105 named[2459]: received control channel command 'reload'
==========================================================================

I think in this case (authentication error: {'desc': 'Connect error'}) it would be possible to try again.
Comment 1 Arvid Requate univentionstaff 2015-11-05 13:29:35 CET
My situation may have been special, because another slave might have been joining at the same time. I still have the logs.

Felix observed a similar issue during his tests of AD Takeover.
Comment 2 Stefan Gohmann univentionstaff 2016-02-24 18:13:46 CET
Happened again in a customer scenario while joining a DC backup: Ticket #2016012721000469
Comment 3 Philipp Hahn univentionstaff 2017-03-29 09:55:24 CEST
See Bug #43975 for a possible duplicate.
Comment 4 Stefan Gohmann univentionstaff 2019-01-03 07:23:16 CET
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018.

Customers still on UCS 4.1 are encouraged to update to UCS 4.3. Please contact
your partner or Univention for any questions.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.