Bug 49202 - [4.3] Extend univention-translog by various consistency checks
[4.3] Extend univention-translog by various consistency checks
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Notifier (univention-directory-notifier)
UCS 4.3
Other Linux
: P5 normal (vote)
: UCS 4.3-3-errata
Assigned To: Philipp Hahn
Arvid Requate
:
Depends on: 49201
Blocks: 49194
  Show dependency treegraph
 
Reported: 2019-03-29 15:50 CET by Stefan Gohmann
Modified: 2019-04-04 14:19 CEST (History)
0 users

See Also:
What kind of report is it?: Feature Request
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 Stefan Gohmann univentionstaff 2019-03-29 15:50:38 CET
It should be backported to UCS 4.3.

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

univention-translog should be extended by various consistency checks:

- Check for duplicates in the transaction file including a fix option

- Check for missing transactions (transaction holes) including a fix option

- Check for listener/listener enumeration (it must continue the transaction ID from the transaction file)

- A diff between cn=translg and the entries in the transaction files

In each case it should be printed which consequences the adjustments have, e.g. a rejoin of the backups.
Comment 1 Stefan Gohmann univentionstaff 2019-03-29 15:51:18 CET
It should be released after Bug #49199 has been released.
Comment 2 Philipp Hahn univentionstaff 2019-04-04 13:40:55 CEST
[4.3-3] 2fa0889b7d Bug #49202 udn: Backport `univention-translog check --fix` Bug #49201
[4.3-3] 78e4b6aee0 Bug #49202 udn: Backport `univention-translog check --fix` Bug #49201
[4.3-3] c56b89de65 Bug #49201 udn: Add copyright
[4.3-3] 157c173c71 Bug #49201 udn: Add tests
[4.3-3] 23a99d8cae Bug #49201 udn: Add argument to skip stopping/starting services
[4.3-3] 882a3f298a Bug #49201 udn: Fix sorting
[4.3-3] d116b60fd9 Bug #49201 udn: Fix hole filling
[4.3-3] f12a1cdb82 Bug #49201 udn: Extend help messages
[4.3-3] aca3183011 Bug #49201 udn: Recommend re-join on non-Master
[4.3-3] 199985593c Bug #49201 udn: Check sort success
[4.3-3] 809afee2c5 Bug #49201 udn: Fix last_id checking
[4.3-3] cea98acf57 Bug #49201 udn: Always renumber listener/listener
[4.3-3] 465f434c35 Bug #49201 udn: Only check UCS Master and Backups
[4.3-3] 014458e1aa Bug #49201 udn: Fix spelling error
[4.3-3] 753a917427 Bug #49201 udn: Implement 'univention-translog check --fix'
[4.3-3] a2622ff3dd Bug #49201 udn: Rename command line argument names
[4.3-3] abf0bd79d7 Bug #49201 udn: More mypy annotations
[4.3-3] 44f50e4235 Bug #49201 udn: Add index dump command
[4.3-3] d34ed5a305 Bug #49201 udn: Fix debug message

Package: univention-directory-notifier
Version: 12.0.1-15A~4.3.0.201904041325
Branch: ucs_4.3-0
Scope: errata4.3-3

[4.3-3] 0301db7f00 Bug #49202: univention-directory-notifier 12.0.1-15A~4.3.0.201904041325
 doc/errata/staging/univention-directory-notifier.yaml | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

OK: git diff 4.3-3..4.4-0 -- . ':!debian/changelog' ':!debian/copyright'
Comment 3 Stefan Gohmann univentionstaff 2019-04-04 13:53:07 CEST
Yes, it works. I've tested the same as in Bug #49201.
Comment 4 Erik Damrose univentionstaff 2019-04-04 14:19:53 CEST
<http://errata.software-univention.de/ucs/4.3/470.html>