Bug 40087 - UCS 4.1 App Center doesn't set repository/app_center/installed
UCS 4.1 App Center doesn't set repository/app_center/installed
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.1-0-errata
Assigned To: Dirk Wiesenthal
Florian Best
:
Depends on:
Blocks: 40088 40089 40112
  Show dependency treegraph
 
Reported: 2015-11-24 20:41 CET by Stefan Gohmann
Modified: 2015-11-26 15:18 CET (History)
1 user (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-24 20:41:22 CET
The UCS 4.1 App Center does not set repository/app_center/installed any longer.

On my UCS 4.1 test system:
root@master411:~# ucr search repository/app_center/installed
repository/app_center/installed:

root@master411:~# dpkg -l | grep -i univention-samba4
ii  univention-samba4                                   5.0.1-3.622.201511131352                     amd64        UCS - Samba4 integration package
ii  univention-samba4-sysvol-sync                       5.0.1-3.622.201511131352                     all          UCS - Samba4 sysvol synchronization
root@master411:~#
Comment 1 Dirk Wiesenthal univentionstaff 2015-11-24 23:47:52 CET
Fixed in
  univention-appcenter 5.0.19-7.70.201511242345
Comment 2 Stefan Gohmann univentionstaff 2015-11-25 06:15:57 CET
It looks like the join script has to be executed. That's works on Master and Backup but not on the other roles. On my member server the variable is still empty after the upgrade.

The new version in the join script generates a significant effort for the customers because they have to execute it on every non master / backup. It is OK to do it for minor updates or in exceptional circumstances but I don't the the reason to do it here.
Comment 3 Dirk Wiesenthal univentionstaff 2015-11-25 10:58:20 CET
univention-system-setup 9.0.2-12.927.201511251054
univention-appcenter 5.0.19-9.72.201511251032
Comment 4 Florian Best univentionstaff 2015-11-25 16:46:49 CET
I have a question about svn r65888.
You are using self.password without @require_password which causes that during a SAML session the password is not questioned in the UMC. Doing so would ofc. not be nice as appcenter/sync_ldap is called when opening the appcenter.
Do you think it is Okay to ignore SAML login at that point? I could not trigger an error: I created a state where the reregistration was necessary but sync_ldap returned success.
Comment 5 Florian Best univentionstaff 2015-11-25 17:42:35 CET
Code-Review: OK
DC Master: OK
DC Slave: OK
DC Backup: OK
Memberserver: OK
Tested with different apps and mix of remote/local appcenter.
YAML: ~OK

Please revert univention-system-setup.
Comment 6 Dirk Wiesenthal univentionstaff 2015-11-25 22:51:05 CET
Reverted univention-system-setup (9.0.2-13.928.201511252243)
Comment 7 Florian Best univentionstaff 2015-11-26 12:11:30 CET
OK: revert
Comment 8 Janek Walkenhorst univentionstaff 2015-11-26 15:18:02 CET
<http://errata.software-univention.de/ucs/4.1/3.html>