Bug 1112621
Summary: | log file is not limited | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Amit Ugol <augol> |
Component: | python-django-horizon | Assignee: | Matthias Runge <mrunge> |
Status: | CLOSED ERRATA | QA Contact: | Ido Ovadia <iovadia> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5.0 (RHEL 7) | CC: | aberezin, ajeain, aortega, athomas, dnavale, iovadia, lyarwood, mrunge, yeylon |
Target Milestone: | z4 | Keywords: | Triaged, ZStream |
Target Release: | 5.0 (RHEL 7) | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | python-django-horizon-2014.2.2-2.el7ost, python-django-horizon-2014.1.3-5.el7ost | Doc Type: | Bug Fix |
Doc Text: |
Previously, horizon.log was not truncated automatically, resulting in very large log files.
With this update, files are now trimmed by logrotate, fixing this issue.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2015-04-16 15:09:46 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Amit Ugol
2014-06-24 10:55:28 UTC
thank you, this is true. Question is: is this something to be configured by packstack/puppet modules or via packaging? Since the file can be huge, opening it from Horizon --> Redhat Access --> Logs can take very long time adding a file named openstack-dashboard to /etc/logrotate.d containing: /var/log/horizon/*.log /var/log/httpd/horizon_*.log { weekly rotate 4 missingok compress minsize 100k } should fix this. a fix for this was added for rhos-6 release Um, clarifying here: A fix was added very early in RHOS-6 development cylce for python-django-horizon package. Esp. this is included in the version mentioned above. also backported to rhos 5: python-django-horizon-2014.1.3-5.el7ost Verified ======== python-django-horizon-2014.1.4-1.el7ost.noarch 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/RHSA-2015-0839.html |