Bug 34005 - UCR variable for ProxyTimeout
Summary: UCR variable for ProxyTimeout
Status: CLOSED FIXED
Alias: None
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
Version: UCS 3.2
Hardware: Other Linux
: P5 normal
Target Milestone: UCS 3.2-1-errata
Assignee: Dirk Wiesenthal
QA Contact: Alexander Kläser
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-28 23:22 CET by Dirk Wiesenthal
Modified: 2014-04-30 08:49 CEST (History)
3 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):
Customer ID:
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 2014-01-28 23:22:04 CET
Some umcpCommands may take very long, depending on some server-side I/O.

If the time exceeds 300 seconds, Apache responds with an 502 error to the frontend while the command is still process in the backend (but noone will reads its result).

While all these cases should be handled by separate bugs where one specific command should be split up and use some progress or whatever, it may be helpful to give customers the ability to fix this behaviour immediately until a real fix can be provided (which may take long to develop depending on the command) or until the issue is resolved on the customer side (e.g. slow internet connection).

A variable umc/http/timeout could be introduced and used in /etc/univention/templates/files/etc/apache2/sites-available/univention-management-console:
print 'ProxyTimeout %s' % int(configRegistry.get('umc/http/timeout', '300'))
Comment 1 Florian Best univentionstaff 2014-01-30 08:11:09 CET
(In reply to Dirk Wiesenthal from comment #0)
> A variable umc/http/timeout could be introduced and used in
> /etc/univention/templates/files/etc/apache2/sites-available/univention-
> management-console:
> print 'ProxyTimeout %s' % int(configRegistry.get('umc/http/timeout', '300'))
→ This can be confusing because there is a similar variable for the session timeout.
Maybe apache/umc/timeout ?
Comment 2 Dirk Wiesenthal univentionstaff 2014-01-30 10:13:40 CET
(In reply to Florian Best from comment #1)
> → This can be confusing because there is a similar variable for the session
> timeout.

Or we could reuse this very variable
Comment 3 Stefan Gohmann univentionstaff 2014-03-10 07:32:22 CET
Reported again: Ticket#: 2014030721001988
Comment 4 Dirk Wiesenthal univentionstaff 2014-03-20 22:58:44 CET
Fixed in
  univention-management-console-frontend 3.0.152-24.822.201403202249

Uses umc/http/session/timeout || 300 as ProxyTimeout
Comment 5 Alexander Kläser univentionstaff 2014-04-25 14:45:36 CEST
YAML file → OK
Changes → OK, timeout works fine (tested with 30sec and 10min)

→ VERIFIED
Comment 6 Moritz Muehlenhoff univentionstaff 2014-04-30 08:49:15 CEST
http://errata.univention.de/ucs/3.2/100.html