Bug 41372 - Docker Container counts against server license
Docker Container counts against server license
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: License
UCS 4.2
Other Linux
: P5 normal (vote)
: UCS 4.3-0-errata
Assigned To: Dirk Wiesenthal
Felix Botner
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-05-27 15:40 CEST by Stephan Luft
Modified: 2018-04-18 13:51 CEST (History)
5 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 5: Will affect all installed domains
How will those affected feel about the bug?: 4: A User would return the product
User Pain: 0.343
Enterprise Customer affected?: Yes
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2017062721000467, 2018011921000597
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 Stephan Luft univentionstaff 2016-05-27 15:40:27 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
Comment 1 Nico Gulden univentionstaff 2016-05-27 16:24:41 CEST
Docker container based apps should not count against the license-check and should not be counted there.
Comment 2 Stephan Luft univentionstaff 2017-06-27 14:51:04 CEST
customer got confused by owncloud counted as a server: 2017062721000467
Comment 3 Erik Damrose univentionstaff 2018-03-12 13:42:14 CET
management/univention-directory-manager-modules/modules/univention/admin/license.py:
License.SERVERS: '(|(objectClass=univentionDomainController)(objectClass=univentionMemberServer))'
Comment 4 Michael Grandjean univentionstaff 2018-03-12 13:46:31 CET
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 ...)
Comment 5 Dirk Wiesenthal univentionstaff 2018-03-23 11:11:43 CET
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
[...]
Comment 6 Felix Botner univentionstaff 2018-04-06 11:46:50 CEST
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
Comment 7 Arvid Requate univentionstaff 2018-04-18 13:51:54 CEST
<http://errata.software-univention.de/ucs/4.3/13.html>