Univention Bugzilla – Bug 45009
server overview entry for portal not created in domain without a UCS backup
Last modified: 2021-05-03 21:32:24 CEST
If no UCS backup is installed in a domain, the server overview entry will not be created. This bug is because of the join script 35univention-server-overview.inst and the restriction in this join script: if [ "$role" != "domaincontroller_master" ]; then # make sure that entry for server overview does not exist on a single server domain # (i.e., which only contains a DC master instance) Join script is from the package univention-server-overview: root@master:~# apt-cache rdepends univention-server-overview univention-server-overview Reverse Depends: univention-server-backup univention-server-master Workaround: execute the following commands: eval $(ucr shell) univention-directory-manager settings/portal_entry create "$@" --ignore_exists \ --position "cn=portal,cn=univention,$ldap_base" \ --set name=server-overview \ --append displayName='"en_US" "Server overview"' \ --append displayName='"de_DE" "Serverübersicht"' \ --append displayName='"fr_FR" "Vue d'"'"'ensemble de serveurs"' \ --append description='"en_US" "Provide an overview of all UCS server in the domain"' \ --append description='"de_DE" "Zeigt eine Übersicht aller UCS Server in der Domäne"' \ --append description='"fr_FR" "Vue d'"'"'ensemble de tous les serveurs UCS du domaine"' \ --append link=/univention/server-overview/ \ --set category=admin \ --set authRestriction=authenticated \ --set icon="$(base64 /usr/share/univention-management-console-frontend/js/dijit/themes/umc/icons/scalable/serveroverview.svg)" \ --set portal="cn=domain,cn=portal,cn=univention,$ldap_base"
The problem here is that univention-server-overview is only installed on DC Master and DC Backup. As the package will not be installed on DC Slave or a member server, the portal entry will never be created. Possible solution: Two packages with one containing only the join script and which is then installed on all roles.
If this bug is fixed please revert these changes on 86_selenium/180_portal_entries diff --git a/test/ucs-test/tests/86_selenium/180_portal_entries b/test/ucs-test/tests/86_selenium/180_portal_entries index 48e3b1ecc2..743631ccd6 100755 --- a/test/ucs-test/tests/86_selenium/180_portal_entries +++ b/test/ucs-test/tests/86_selenium/180_portal_entries @@ -1,8 +1,9 @@ #!/usr/share/ucs-test/runner /usr/share/ucs-test/selenium # -*- coding: utf-8 -*- ## desc: Test the 'System diagnostic' module -## roles-not: -## - basesystem +## roles: +## - domaincontroller_master +## - domaincontroller_backup ## tags: ## - skip_admember ## join: true