Bug 1297757 - Increase start timeout for systemd hook
Summary: Increase start timeout for systemd hook
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-django-horizon
Version: 8.0 (Liberty)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ga
: 8.0 (Liberty)
Assignee: Matthias Runge
QA Contact: Ido Ovadia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-12 12:05 UTC by Matthias Runge
Modified: 2016-04-07 21:22 UTC (History)
7 users (show)

Fixed In Version: python-django-horizon-8.0.0-10.el7ost
Doc Type: Bug Fix
Doc Text:
Previously, no timeout was specified in horizon's systemd snippet for httpd, so the standard one-minute timeout was used when waiting for httpd to fully start up. In some cases, however, especially when running in a virtualized or a very loaded environment, the startup takes longer. Consequently, a failure from systemd sometimes occurred even if httpd was already running. With this update, the timeout has been set to two minutes, which resolves the problem.
Clone Of:
Environment:
Last Closed: 2016-04-07 21:22:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2016:0603 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 8 Enhancement Advisory 2016-04-08 00:53:53 UTC

Description Matthias Runge 2016-01-12 12:05:33 UTC
Description of problem:
under some circumstances, the standard timeout (60 sec) is not enough for startup. This can happen, when starting everything fully virtualized on a slow or loaded machine.

We should increase the timeout (before it is marked as failed) to 2 mins.


[Service]
ExecStartPre=/usr/bin/python /usr/share/openstack-dashboard/manage.py collectstatic --noinput --clear
ExecStartPre=/usr/bin/python /usr/share/openstack-dashboard/manage.py compress --force
TimeoutStartSec=2min

[Unit]
After=memcached.service



Version-Release number of selected component (if applicable):
openstack-dashboard-8.0.0-8.el7ost.noarch

Comment 4 Amit Ugol 2016-01-25 15:47:40 UTC
# grep TimeoutStartSec /usr/lib/systemd/system/httpd.service.d/openstack-dashboard.conf 
TimeoutStartSec=2min

Comment 5 errata-xmlrpc 2016-04-07 21:22:02 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-0603.html


Note You need to log in before you can comment on or make changes to this bug.