Univention Bugzilla – Bug 41372
Docker Container counts against server license
Last modified: 2018-04-18 13:51:54 CEST
After the installation of e.g. Jira the Docker Container is counted against the license. univention-license-check --list-dns output on my virtual box testing system: Base DN: dc=ritter-der-tafelrunde,dc=intranet Checking searchpath... OK Checking basedn ... OK Checking enddate ... OK Checking signature ... OK Users: 0 of unlimited... OK uid=Administrator,cn=users,dc=ritter-der-tafelrunde,dc=intranet 1 Systemaccounts are ignored. Servers: 2 of unlimited... OK cn=arthus,cn=dc,cn=computers,dc=ritter-der-tafelrunde,dc=intranet cn=jira-1464361693078318,cn=memberserver,cn=computers,dc=ritter-der-tafelrunde,dc=intranet Managed Clients: 0 of unlimited... OK Corporate Clients: 0 of unlimited... OK
Docker container based apps should not count against the license-check and should not be counted there.
customer got confused by owncloud counted as a server: 2017062721000467
management/univention-directory-manager-modules/modules/univention/admin/license.py: License.SERVERS: '(|(objectClass=univentionDomainController)(objectClass=univentionMemberServer))'
Still true: root@ucs01:~# univention-license-check Base DN: dc=schule,dc=example,dc=org Checking searchpath... OK Checking basedn ... OK Checking enddate ... OK Checking signature ... OK Users: 159 of 3000... OK Servers: 12 of 10... IGNORED Managed Clients: 35 of unlimited... OK Corporate Clients: 0 of 10... OK Only 8 of those 12 servers are actually servers. 4 are docker apps based on the UCS docker image (dudle, Horde, Etherpad ...)
Filter univentionObjectFlag=docker in univention-directory-manager-modules 13.0.21-16A~4.3.0.201803231109 Before root@master80:~# univention-license-check --list-dns [...] Servers: 8 of unlimited... OK cn=master80,cn=dc,cn=computers,dc=frosta-8x,dc=intranet cn=backup81,cn=dc,cn=computers,dc=frosta-8x,dc=intranet cn=slave82,cn=dc,cn=server,cn=computers,ou=gs1,dc=frosta-8x,dc=intranet cn=member83,cn=memberserver,cn=computers,dc=frosta-8x,dc=intranet cn=BlueS-01772347,cn=memberserver,cn=computers,dc=frosta-8x,dc=intranet cn=e4i75-88570559,cn=memberserver,cn=computers,dc=frosta-8x,dc=intranet cn=nextc-50661580,cn=memberserver,cn=computers,dc=frosta-8x,dc=intranet cn=relut-39398969,cn=memberserver,cn=computers,dc=frosta-8x,dc=intranet [...] After root@master80:~# univention-license-check --list-dns [...] Servers: 4 of unlimited... OK cn=master80,cn=dc,cn=computers,dc=frosta-8x,dc=intranet cn=backup81,cn=dc,cn=computers,dc=frosta-8x,dc=intranet cn=slave82,cn=dc,cn=server,cn=computers,ou=gs1,dc=frosta-8x,dc=intranet cn=member83,cn=memberserver,cn=computers,dc=frosta-8x,dc=intranet [...]
installed jenkins app -> univention-license-check Base DN: dc=four,dc=three Checking searchpath... OK Checking basedn ... OK Checking enddate ... OK Checking signature ... OK ... Servers: 2 of unlimited... OK UPGRADE -> univention-license-check Base DN: dc=four,dc=three Checking searchpath... OK Checking basedn ... OK Checking enddate ... OK Checking signature ... OK ... Servers: 1 of unlimited... OK OK - univention-directory-manager-modules OK - YAML
<http://errata.software-univention.de/ucs/4.3/13.html>