Bug 48732 - dc_slave_edu_secondary added to wrong host object
dc_slave_edu_secondary added to wrong host object
Status: CLOSED FIXED
Product: UCS@school
Classification: Unclassified
Component: Import scripts
UCS@school 4.4
Other Linux
: P5 normal (vote)
: UCS@school 4.4 v1
Assigned To: Daniel Tröder
Ole Schwiegert
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-02-22 00:05 CET by Sönke Schwardt-Krummrich
Modified: 2019-03-12 10:59 CET (History)
1 user (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
updater.log (contains referred output at end of file) (32.00 KB, application/gzip)
2019-02-22 00:05 CET, Sönke Schwardt-Krummrich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sönke Schwardt-Krummrich univentionstaff 2019-02-22 00:05:09 CET
Created attachment 9858 [details]
updater.log (contains referred output at end of file)

During the update of a UCS@school 4.3 master to UCS 4.4, the ucsschoolRoles are set at several LDAP objects. One of them was cn=DEMOSCHOOL,cn=dc,cn=server,cn=computers,ou=DEMOSCHOOL,dc=nstx,dc=local
that was tagged as "dc_slave_edu_secondary" which is not correct.

Checking school servers...
- Looking for DC slave edu...
    Adding roles for DC slave edu at 'cn=slave164,cn=dc,cn=server,cn=computers,ou=gsmitte,dc=nstx,dc=local': ['dc_slave_edu:school:gsmitte']...
    Adding roles for DC slave edu secondary at 'cn=DEMOSCHOOL,cn=dc,cn=server,cn=computers,ou=DEMOSCHOOL,dc=nstx,dc=local': ['dc_slave_edu_secondary:school:demoschool']...
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2019-03-01 11:05:15 CET
We should remove the handling for secondary slaves completely.
Please also update the wiki page.
Comment 2 Daniel Tröder univentionstaff 2019-03-04 12:46:45 CET
The handling of a role for secondary school slaves has been completely removed.

[4.4 3d84cb9f7] Bug #48732: remove handling of role for secondary school slave
[4.4 53b3f9b94] Bug #48732: advisory update

* updated https://hutten.knut.univention.de/mediawiki/index.php/UCS@school_LDAP-Rollen
Comment 3 Ole Schwiegert univentionstaff 2019-03-06 08:33:20 CET
Changelog & Advisory: OK
Wiki page: OK
Package installs: OK
Handling of host (demoschool dc in this case): OK
role secondary edu slave removed from lib: OK
Comment 4 Sönke Schwardt-Krummrich univentionstaff 2019-03-12 10:59:11 CET
UCS@school 4.4 v1 has been released.

https://docs.software-univention.de/release-notes-ucsschool-4.4v1-de.html

If this error occurs again, please clone this bug.