Bug 1649005

Summary: OSP14 | Service Assurance | metrics-qdr container log level is set to DEBUG by default therefore log file grows rapidly.
Product: Red Hat OpenStack Reporter: Leonid Natapov <lnatapov>
Component: openstack-tripleo-heat-templatesAssignee: Martin Magr <mmagr>
Status: CLOSED ERRATA QA Contact: Leonid Natapov <lnatapov>
Severity: high Docs Contact:
Priority: high    
Version: 14.0 (Rocky)CC: ccopello, mburns, mmagr, pkilambi, ukalifon
Target Milestone: z1Keywords: Triaged, ZStream
Target Release: 14.0 (Rocky)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-9.0.1-0.20181013060917.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-03-18 13:03:13 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 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