Univention Bugzilla – Bug 32416
AppCenter should register apps in UDM
Last modified: 2013-11-19 06:41:28 CET
The AppCenter should register apps in UDM using the module implemented via Bug 32414. The library code for this * should be usable also via CLI * stores descriptions in english and german into multivalued UDM properties * suggested object name convention is <AppID>_<AppVersion> * On App installation: 1. Create the object with "ignore exists" 2. Register FQDN of local server on the object * On App de-installation: 1. Remove FQDN of local server from the object 2. Remove the object if no server is registered any longer * On App upgrade: 1. Installation of new App (see above) 2. Deinstallation of old App (see above) Probably some form of race prevention (locking) is required.
Apps register themselves in univentionAppID=${app_id}-${app_version},cn=$app_id,cn=apps,cn=univention,$ldap_base Apps remove the appcenter/app object if not necessary anymore after un-registration. Containers stay in the directory (empty). Already installed apps (UCS 3.1) are registered by the join script. Locking not implemented. univention-management-console-module-appcenter 3.0.33-1.191.201309161441
Personally I'd prefer a more visual and Debian-like separation between AppID and Version, like samba4_4.1 instead of samba4-4.1. The regsitration and deregistration/object removal works and the changelog is ok.
Created attachment 5440 [details] member join.log The UCS memberserver does not register his Samba (at least not in a Samba4/AD-Domain). The join.log shows a traceback, maybe that's related.
UCS 3.2 has been released: http://docs.univention.de/release-notes-3.2-en.html http://docs.univention.de/release-notes-3.2-de.html If this error occurs again, please use "Clone This Bug".