Bug 31778 - UCS via DHCP, join fails sometimes
UCS via DHCP, join fails sometimes
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: Join (univention-join)
UCS 4.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-20 12:10 CEST by Stefan Gohmann
Modified: 2020-07-03 20:53 CEST (History)
0 users

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.051
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 2013-06-20 12:10:47 CEST
The join sometimes fails in the EC2 test VPC. I think it is a generic UCS problem if the instance is configured via DHCP.

-----------------------------------------------------------------------------
Configure 40univention-virtual-machine-manager-schema.inst Thu Jun 20 04:25:32 EDT 2013
Traceback (most recent call last):
  File "/usr/share/univention-directory-manager-tools/univention-cli-server", line 237, in doit
    output = univention.admincli.admin.doit(arglist)
  File "/usr/lib/pymodules/python2.6/univention/admincli/admin.py", line 394, in doit
    out=_doit(arglist)
  File "/usr/lib/pymodules/python2.6/univention/admincli/admin.py", line 541, in _doit
    co=univention.admin.config.config(configRegistry['ldap/master'])
  File "/usr/lib/pymodules/python2.6/univention/admin/config.py", line 38, in __init__
    base=univention.admin.uldap.getBaseDN(host)
  File "/usr/lib/pymodules/python2.6/univention/admin/uldap.py", line 59, in getBaseDN
    result=l.search_s('',ldap.SCOPE_BASE,'objectClass=*',['NamingContexts'])
  File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 502, in search_s
    return self.search_ext_s(base,scope,filterstr,attrlist,attrsonly,None,None,timeout=self.timeout)
  File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 495, in search_ext_s
    msgid = self.search_ext(base,scope,filterstr,attrlist,attrsonly,serverctrls,clientctrls,timeout,sizelimit)
  File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 491, in search_ext
    timeout,sizelimit,
  File "/usr/lib/python2.6/dist-packages/ldap/ldapobject.py", line 96, in _ldap_call
    result = func(*args,**kwargs)
SERVER_DOWN: {'desc': "Can't contact LDAP server"}
Thu Jun 20 04:25:32 EDT 2013: finish /usr/sbin/univention-join
Thu Jun 20 04:52:29 EDT 2013: starting /usr/sbin/univention-join -dcaccount ulhsdikz -dcpwd /tmp/bindpwd
running version check
-----------------------------------------------------------------------------

From syslog:
-----------------------------------------------------------------------------
Jun 20 04:25:32 master dhclient: DHCPREQUEST on eth0 to 10.210.0.1 port 67
Jun 20 04:25:32 master dhclient: DHCPACK from 10.210.0.1
Jun 20 04:25:34 master dhclient: bound to 10.210.231.118 -- renewal in 1767 seconds.
-----------------------------------------------------------------------------
Comment 1 Stefan Gohmann univentionstaff 2017-03-19 11:35:32 CET
It is still a problem and makes it hard to create reliable test results. In our AD Jenkins setups, we set the interface configuration to static. I'll try this for the autotest-09* tests as well.

r77947:
* Configure eth0 as static interface otherwise the join and some tests might fail (Bug #31778, Bug #43927)
Comment 2 Ingo Steuwer univentionstaff 2020-07-03 20:53:37 CEST
This issue has been filed against UCS 4.2.

UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed.

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