Bug 48342 - Admin Diary Debian Packages
Admin Diary Debian Packages
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Admin Diary
UCS 4.4
Other Linux
: P5 normal (vote)
: UCS 4.4
Assigned To: Arvid Requate
Dirk Wiesenthal
: interim-1
Depends on: 48341 48631
Blocks: 48343
  Show dependency treegraph
 
Reported: 2018-12-13 13:27 CET by Arvid Requate
Modified: 2019-03-12 13:41 CET (History)
2 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
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 Arvid Requate univentionstaff 2018-12-13 13:27:22 CET
We need Debian Packaging for the components of the Admin Diary, i.e. a source package univention-admindiary that generates binary packages like

 * univention-admin-diary-storage or univention-admin-diary-backend ?
 * python-univention-admin-diary-lib
 * python-univention-admin-diary-client

or some similar structure. The backend package should advertise a univentionService when it is joined into the domain, which allows clients to discover it.

+++ This bug was initially created as a clone of Bug #48341 +++

This bug is about creating the Python library code and database config that is necessary to *store* Events in the Admin Diary Backend. The idea is that this will be installed on a some system (chosen by customer) in an UCS domain by installing a Debian package, sth. like "univention-admin-diary-storage".

Project context:

The Admin Diary concept has these players:

* Event producer (Client/Source system)
* Event consumer (Server/Backend Storage)
* Diary GUI (UMC Module)

For the Admin Diary the UMC Frontend Module needs to be able to retrieve Events from a database located on some system in the domain (or possibly on two, in case of UCS@school). Let's call this Admin Diary Backend here. We have two options here, how the UMC frontend may access the data in the Admin Diary Backend: Either the UMC frontend directly connect to the Backend Storage Database, or the UMC frontend connects to an Admin Diary backend service (e.g. another UMC module without any GUI). The second approach would have the advantage to abstract from the particular Storage Database component (MariaDB/PostgreSQL).

Anyway, in the first step we should create a Python library for the Admin Diary Backend, which can be used to write Events to a Backend Database. These Events originate from arbitrary UCS systems in the domain, will be buffered locally on the source system and transferred to the remote database once the presence of an Admin Diary Backend service is advertised by some UCS system in the domain.

We need to provision a table in some database. The design should be so, that customers can choose (by setting some UCR variables) to e.g. use an existing MariaDB Cluster hosted on some (possibly non-UCS) server.
Comment 1 Felix Botner univentionstaff 2018-12-17 11:10:20 CET
branch: next/admin-diary

added services/univention-admin-diary package skeleton
Comment 2 Arvid Requate univentionstaff 2018-12-20 18:54:39 CET
Packages updated:

* UCR template for client rsyslog
* UCR template for backend rsyslog
* firewall config for backend
* join script sets admin/diary/backend
* listener module to update admin/diary/backend
Comment 3 Arvid Requate univentionstaff 2019-01-03 19:41:39 CET
1981e794f7 | add UCR varialbe descriptions
Comment 4 Arvid Requate univentionstaff 2019-01-03 19:50:11 CET
00c3c8fbe8 | unset admin/diary/backend in client postrm
a24e67bd4f | crestart listener in client postrm
Comment 5 Dirk Wiesenthal univentionstaff 2019-02-27 21:07:47 CET
OK, packages are installable as intended
Comment 6 Florian Best univentionstaff 2019-03-11 14:34:41 CET
There is no changelog entry in changelog-4.4-0.xml.
Comment 7 Dirk Wiesenthal univentionstaff 2019-03-11 14:51:48 CET
Added
Comment 8 Florian Best univentionstaff 2019-03-12 13:41:01 CET
UCS 4.4 has been released:
 https://docs.software-univention.de/release-notes-4.4-0-en.html
 https://docs.software-univention.de/release-notes-4.4-0-de.html

If this error occurs again, please use "Clone This Bug".