Bug 39915 - Save UCS version at LDAP host entries
Save UCS version at LDAP host entries
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: General
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.1
Assigned To: Stefan Gohmann
Janek Walkenhorst
: interim-3
Depends on: 39912
Blocks: 39923
  Show dependency treegraph
 
Reported: 2015-11-12 15:06 CET by Stefan Gohmann
Modified: 2015-11-17 12:12 CET (History)
2 users (show)

See Also:
What kind of report is it?: ---
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 2015-11-12 15:06:27 CET
The global App Center need the information which UCS version is installed on a UCS server.

We should set the UCS version while installing and updating.
Comment 1 Dirk Wiesenthal univentionstaff 2015-11-12 15:13:20 CET
ucr get version/version is enough. No need for patchlevel or erratalevel.

For windows hosts there is a dedicated OS / OS version field. Maybe utilize this for UCS hosts? I would not save it arbitrarily in Description when logic relies on it.
Comment 2 Stefan Gohmann univentionstaff 2015-11-12 15:53:39 CET
OK, I think we should:

- change the LDAP ACLs that a server can change the values by itself

- add operatingSystem and operatingSystemVersion to the UDM modules for Master, Backup, Slave and Member

- set it by default to $version_version-$version_patchlevel in 20univention-join.inst

- update the version in the postup.sh to the new $version_version-$version_patchlevel


The attributes operatingSystem and operatingSystemVersion are synced by the S4 connector. We have to check the values.
Comment 3 Stefan Gohmann univentionstaff 2015-11-12 21:24:26 CET
(In reply to Stefan Gohmann from comment #2)
> OK, I think we should:
> 
> - change the LDAP ACLs that a server can change the values by itself

done: r65456

> - add operatingSystem and operatingSystemVersion to the UDM modules for
> Master, Backup, Slave and Member

done: r65450

The values are currently not visible in the GUI, this can be done later: Bug #39923

> - set it by default to $version_version-$version_patchlevel in
> 20univention-join.inst

done: r65455

> - update the version in the postup.sh to the new
> $version_version-$version_patchlevel

done: r65457

> 
> The attributes operatingSystem and operatingSystemVersion are synced by the
> S4 connector. We have to check the values.

I've added a test case: 00_checks/07_check_os_hostdn

Changelog: r65460
Comment 4 Stefan Gohmann univentionstaff 2015-11-13 09:15:32 CET
Fixed also 96univention-samba4.inst: r65469
Comment 5 Janek Walkenhorst univentionstaff 2015-11-13 17:40:08 CET
Tests: OK
Auto-Test: OK
Code-Review: OK
Changelog: Ok, little fix r65504
Comment 6 Stefan Gohmann univentionstaff 2015-11-17 12:12:34 CET
UCS 4.1 has been released:
 https://docs.software-univention.de/release-notes-4.1-0-en.html
 https://docs.software-univention.de/release-notes-4.1-0-de.html

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