Problem: Join fails in 43univention-virtual-machine-manager

join
uvmm
problem

#1

Problem

During the join an error appears and the join.log shows:

Configure 43univention-virtual-machine-manager-node-common.inst Mon Nov 19 15:31:16 CET 2018
2018-11-19 15:31:16.976456415+01:00 (in joinscript_init)
Object exists: (nolock) The attribute 'gidNumber' could not get locked.
E: object not found

__JOINERR__:FAILED: /usr/lib/univention-install/43univention-virtual-machine-manager-node-common.inst


**************************************************************************
* Join failed!                                                           *
* Contact your system administrator                                      *
**************************************************************************
* Message:  Please visit https://help.univention.com/t/8842 for common problems during the join and how to fix them -- FAILED: 43univention-virtual-machine-manager-node-common.inst
**************************************************************************

Solution

The host to be joined was joined before. In order to properly re-join the host first all data of this host should be purged.

Step 1

Remove the locking first as describe in this article.

Step 2

Once done execute the script:
/usr/share/univention-samba4/scripts/purge_s4_computer.py --computername=<HOSTNAME>

Step 3

Finally, restart the join.


#2