Bug 33036 - ucr commit /etc/apt/sources.list.d/* takes ages
ucr commit /etc/apt/sources.list.d/* takes ages
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: App Center
UCS 4.1
Other Linux
: P5 normal (vote)
: ---
Assigned To: App Center maintainers
:
: 34004 (view as bug list)
Depends on: 33035 48832
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-31 12:53 CET by Dirk Wiesenthal
Modified: 2019-03-01 12:46 CET (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 2: Improvement: Would be a product improvement
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.069
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 2013-10-31 12:53:00 CET
... and "dry_run" when installing/updating apps may run into a timeout because of this. Add some kind of long polling!

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

... if a lot of components are registered. UMC commands that change ucr variables related to these files may even run into a timeout.

We should try to speed up the commit.
Comment 1 Dirk Wiesenthal univentionstaff 2014-01-31 14:00:34 CET
*** Bug 34004 has been marked as a duplicate of this bug. ***
Comment 2 Stefan Gohmann univentionstaff 2014-06-19 09:49:02 CEST
We should change at least the following things.

- don't recreate  /etc/apt/sources.list.d/15_ucs-online-version.list while setting components:

root@master211:~# ucr set repository/online/component/xrdp=yes repository/online/component/xrdp/server=$(hostname -f)
Setting repository/online/component/xrdp
Setting repository/online/component/xrdp/server
File: /etc/apt/sources.list.d/20_ucs-online-component.list
File: /etc/apt/mirror.list
File: /etc/apt/sources.list.d/15_ucs-online-version.list

- maybe the app center can use a temporary sources list in dry_run mode

How long does the commit take in the problematic cases?
Comment 3 Alexander Kläser univentionstaff 2014-06-25 10:52:40 CEST
FYI, a related problem has been reported in the forum:
http://forum.univention.de/viewtopic.php?f=48&t=3366
Comment 4 Stefan Gohmann univentionstaff 2014-07-06 16:56:48 CEST
(In reply to Alexander Kläser from comment #3)
> FYI, a related problem has been reported in the forum:
> http://forum.univention.de/viewtopic.php?f=48&t=3366

That was a problem solved with the N threads bug: Bug #32935
Comment 5 Stefan Gohmann univentionstaff 2019-01-03 07:19:22 CET
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018.

Customers still on UCS 4.1 are encouraged to update to UCS 4.3. Please contact
your partner or Univention for any questions.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.