Bug 52498 - Termination of udm-cli "sometimes" fails in ucs_registerLDAPExtension
Termination of udm-cli "sometimes" fails in ucs_registerLDAPExtension
Status: NEW
Product: UCS
Classification: Unclassified
Component: UDM (Generic)
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-12-15 14:24 CET by Felix Botner
Modified: 2020-12-15 16:09 CET (History)
3 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 6: Setup Problem: Issue for the setup process
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.137
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 Felix Botner univentionstaff 2020-12-15 14:24:15 CET
Sometimes the termination of the udm-cli process during the LDAP registration of an udm module fails. As some join script want to use those modules after the registration, this can break the join process.

See also Bug #50671.

directory-manager-cmd.log
14.12.20 11:11:07.154  DEBUG_INIT
14.12.20 11:18:03.316  DEBUG_INIT


So udm-cli is started 11:11:07, probably by some license management hooks

listener.log:
14.12.20 11:11:06.459  LISTENER    ( PROCESS ) : updating 'cn=admin,cn=license,cn=univention,dc=mydomain,dc=intranet' command d
14.12.20 11:11:06.460  LISTENER    ( PROCESS ) : updating 'cn=admin,cn=license,cn=univention,dc=mydomain,dc=intranet' command a
Object created: cn=univentionblog,cn=portal,cn=univention,dc=mydomain,dc=intranet
14.12.20 11:11:07.384  LISTENER    ( PROCESS ) : updating 'cn=univentionblog,cn=portal,cn=univention,dc=mydomain,dc=intranet' command a

config-registry.replog:
2020-12-14 11:11:06: set uuid/license=b9f27172-1db2-4a56-8e27-3c3f3041b609 old:[Previously undefined]
2020-12-14 11:11:06: set license/base='UCS Core Edition' old:UCS Core Edition


But it is not restarted during the join process (at least i can't see DEBUG_INIT in the log file around 11:13:02) and the udm call fails.

appcenter.log
  3742 packages                         20-12-14 11:13:02 [    INFO]: Waiting for activation of the extension object office365/ad-connection: OK^M
  3742 packages                         20-12-14 11:13:02 [    INFO]: Waiting for file /usr/share/univention-office365/handler.d/ad-connection.py: OK^M
  3742 packages                         20-12-14 11:13:02 [    INFO]: Terminating running univention-cli-server processes.^M
  3742 packages                         20-12-14 11:13:02 [    INFO]: Object created: cn=office365,dc=mydomain,dc=intranet^M
  3742 packages                         20-12-14 11:13:02 [    INFO]: Object created: cn=profiles,cn=office365,dc=mydomain,dc=intranet^M
  3742 packages                         20-12-14 11:13:02 [    INFO]: Object created: cn=ad-connections,cn=office365,dc=mydomain,dc=intranet^M
  3742 packages                         20-12-14 11:13:03 [    INFO]: unknown module office365/profile.^M
  3742 packages                         20-12-14 11:13:03 [    INFO]: ^M
  3742 packages                         20-12-14 11:13:03 [    INFO]: Available Modules are:^M
  3742 packages                         20-12-14 11:13:03 [    INFO]:   appcenter/app^M