Bug 1649005 - OSP14 | Service Assurance | metrics-qdr container log level is set to DEBUG by default therefore log file grows rapidly.
Summary: OSP14 | Service Assurance | metrics-qdr container log level is set to DEBUG b...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 14.0 (Rocky)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z1
: 14.0 (Rocky)
Assignee: Martin Magr
QA Contact: Leonid Natapov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-12 17:06 UTC by Leonid Natapov
Modified: 2023-01-03 21:36 UTC (History)
5 users (show)

Fixed In Version: openstack-tripleo-heat-templates-9.0.1-0.20181013060917.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-03-18 13:03:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1804464 0 None None None 2018-11-21 14:28:38 UTC
OpenStack gerrit 619263 0 None MERGED Fix logging for metrics_qdr 2020-03-04 15:44:30 UTC
OpenStack gerrit 633510 0 None MERGED Fix logging for metrics_qdr 2020-03-04 15:44:30 UTC
Red Hat Issue Tracker OSP-21141 0 None None None 2023-01-03 21:36:04 UTC
Red Hat Product Errata RHBA-2019:0446 0 None None None 2019-03-18 13:03:22 UTC

Description Leonid Natapov 2018-11-12 17:06:21 UTC
OSP14 | Service Assurance | metrics-qdr container log level is set to DEBUG by default therefore log file grows rapidly.

Log level should be set to INFO by default.

Comment 8 Udi Kalifon 2019-01-24 13:14:05 UTC
Seems like all undercloud services are installed with debug=True. We have a validator in the GUI that checks that and it outputs:

-------------------------------
Task 'Check the services for debug flag' failed:
Host: undercloud
Message: The key 'debug' under the section 'DEFAULT' in file /var/lib/config-data/puppet-generated/nova/etc/nova/nova.conf has the value: 'True'

Task 'Check the services for debug flag' failed:
Host: undercloud
Message: The key 'debug' under the section 'DEFAULT' in file /var/lib/config-data/puppet-generated/neutron/etc/neutron/neutron.conf has the value: 'True'

Task 'Check the services for debug flag' failed:
Host: undercloud
Message: The key 'debug' under the section 'DEFAULT' in file /var/lib/config-data/puppet-generated/heat/etc/heat/heat.conf has the value: 'True'

Task 'Check the services for debug flag' failed:
Host: undercloud
Message: The key 'debug' under the section 'DEFAULT' in file /var/lib/config-data/puppet-generated/ironic/etc/ironic/ironic.conf has the value: 'True'

Failure! The validation failed for all hosts:
* undercloud
-------------------------------

Can we fix this for all services?

Comment 10 Leonid Natapov 2019-02-18 14:13:00 UTC
Fixed. Log level set to INFO.

qdr::log_enable: 'info+'

Comment 11 Mikey Ariel 2019-02-20 12:44:32 UTC
If this bug requires doc text for errata release, please set the 'Doc Type' and provide draft text according to the template in the 'Doc Text' field. The documentation team will review, edit, and approve the text.

If this bug does not require doc text, please set the 'requires_doc_text' flag to -.

Comment 14 errata-xmlrpc 2019-03-18 13:03:13 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://access.redhat.com/errata/RHBA-2019:0446


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