Bug 53091 - Remove default portal "local"
Remove default portal "local"
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Portal
UCS 5.0
Other Linux
: P5 normal (vote)
: UCS 5.0
Assigned To: Dirk Wiesenthal
Johannes Keiser
:
: 53018 53060 (view as bug list)
Depends on:
Blocks: 53135
  Show dependency treegraph
 
Reported: 2021-04-14 11:07 CEST by Dirk Wiesenthal
Modified: 2021-05-25 15:59 CEST (History)
3 users (show)

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 Dirk Wiesenthal univentionstaff 2021-04-14 11:07:13 CEST
DC Slave systems and Memberserver had a different default portal in 4.4: cn=local. It had some special behaviour.

We want to remove that portal. Instead Replica and Memberserver share the portal "domain" with Primary and Backup.
Comment 1 Dirk Wiesenthal univentionstaff 2021-04-14 11:07:53 CEST
*** Bug 53060 has been marked as a duplicate of this bug. ***
Comment 2 Dirk Wiesenthal univentionstaff 2021-04-14 11:08:25 CEST
*** Bug 53018 has been marked as a duplicate of this bug. ***
Comment 3 Dirk Wiesenthal univentionstaff 2021-04-14 11:14:40 CEST
The portal still has to be created: In case a new 4.4 Memberserver is joined, it assumes a portal named "local" already exists.

But we should change the portal for all updating systems.
Comment 4 Dirk Wiesenthal univentionstaff 2021-04-21 02:41:03 CEST
Fixed in the newest versions of unviention-portal.

(In reply to Dirk Wiesenthal from comment #3)
> In case a new 4.4 Memberserver is
> joined, it assumes a portal named "local" already exists.

That is actually not a problem of this bug. It is more general: The join script of the portal created the settings/portal objects iff $server_role = "domaincontroller_master" (or backup).

In 5.0 we do not create any settings/portal objects, neither "cn=domain" nor "cn=local". New 4.4 systems now lack such an object and their portal is barely usable until upgrade. Workaround: Join a 4.4 Backup first.

"Barely usable": They fall back to /usr/share/univention-portal/portal-unjoined.json. It includes a link to UMC without an icon.
Comment 5 Johannes Keiser univentionstaff 2021-04-28 11:23:28 CEST
OK: all nodes now use portal of primary
OK: changelog
-> verified
Comment 6 Florian Best univentionstaff 2021-05-25 15:59:16 CEST
UCS 5.0 has been released:
 https://docs.software-univention.de/release-notes-5.0-0-en.html
 https://docs.software-univention.de/release-notes-5.0-0-de.html

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