Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1530117 - os-collect-config is spewing a lot of useless logs
os-collect-config is spewing a lot of useless logs
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: os-collect-config (Show other bugs)
10.0 (Newton)
All Linux
medium Severity medium
: beta
: 13.0 (Queens)
Assigned To: Alex Schultz
Gurenko Alex
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-01-02 00:36 EST by Rahul Chincholkar
Modified: 2018-07-11 09:01 EDT (History)
9 users (show)

See Also:
Fixed In Version: os-collect-config-8.1.1-0.20180119125828.621029a.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-06-27 09:40:49 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1691003 None None None 2018-01-02 00:37 EST
Red Hat Knowledge Base (Solution) 3527911 None None None 2018-07-11 09:01 EDT
OpenStack gerrit 530759 None master: MERGED os-collect-config: Lower local collector log level (I52ead32cce1eaf5f3816507e8e62b270f1a1a1cd) 2018-02-07 09:00 EST
RDO 11137 None rpm-master: MERGED openstack/os-collect-config-distgit: Create default local collector directory (I2a00db37e9ed681259d84ce74b5a916621518d8d... 2018-02-07 09:00 EST
Red Hat Product Errata RHEA-2018:2086 None None None 2018-06-27 09:41 EDT

  None (edit)
Description Rahul Chincholkar 2018-01-02 00:36:03 EST
We currently spam the logs with this:

Jan  2 00:27:12 overcloud-compute-0 os-collect-config: /var/lib/os-collect-config/local-data not found. Skipping
Jan  2 00:27:12 overcloud-compute-0 os-collect-config: No local metadata found (['/var/lib/os-collect-config/local-data'])
Jan  2 00:27:42 overcloud-compute-0 os-collect-config: /var/lib/os-collect-config/local-data not found. Skipping
Jan  2 00:27:42 overcloud-compute-0 os-collect-config: No local metadata found (['/var/lib/os-collect-config/local-data'])
Jan  2 00:28:13 overcloud-compute-0 os-collect-config: /var/lib/os-collect-config/local-data not found. Skipping
Jan  2 00:28:13 overcloud-compute-0 os-collect-config: No local metadata found (['/var/lib/os-collect-config/local-data'])
Jan  2 00:28:43 overcloud-compute-0 os-collect-config: /var/lib/os-collect-config/local-data not found. Skipping
Jan  2 00:28:43 overcloud-compute-0 os-collect-config: No local metadata found (['/var/lib/os-collect-config/local-data'])
Jan  2 00:29:13 overcloud-compute-0 os-collect-config: /var/lib/os-collect-config/local-data not found. Skipping
Jan  2 00:29:13 overcloud-compute-0 os-collect-config: No local metadata found (['/var/lib/os-collect-config/local-data'])
Jan  2 00:29:43 overcloud-compute-0 os-collect-config: /var/lib/os-collect-config/local-data not found. Skipping
Jan  2 00:29:43 overcloud-compute-0 os-collect-config: No local metadata found (['/var/lib/os-collect-config/local-data'])
Jan  2 00:30:14 overcloud-compute-0 os-collect-config: /var/lib/os-collect-config/local-data not found. Skipping
Jan  2 00:30:14 overcloud-compute-0 os-collect-config: No local metadata found (['/var/lib/os-collect-config/local-data'])
Jan  2 00:30:44 overcloud-compute-0 os-collect-config: /var/lib/os-collect-config/local-data not found. Skipping
Jan  2 00:30:44 overcloud-compute-0 os-collect-config: No local metadata found (['/var/lib/os-collect-config/local-data'])


[root@overcloud-compute-0 ~]# head -n1 /var/log/messages
Dec 30 22:17:01 overcloud-compute-0 rsyslogd: [origin software="rsyslogd" swVersion="8.24.0" x-pid="727" x-info="http://www.rsyslog.com"] rsyslogd was HUPed


[root@overcloud-compute-0 ~]# tail -n1 /var/log/messages
Jan  2 00:32:15 overcloud-compute-0 os-collect-config: No local metadata found (['/var/lib/os-collect-config/local-data'])


[root@overcloud-compute-0 ~]# grep -E "No local metadata found|local-data not found" /var/log/messages |wc -l
11936

There is upstream bug relates to this issue. 
I have linked it with this bug.
Comment 6 Gurenko Alex 2018-05-02 08:25:55 EDT
Verified on puddle 2018-05-01.6

Logs looks much cleaner now.

rpm -q os-collect-config
os-collect-config-8.3.1-0.20180308131451.08bb3bd.el7ost.noarch
Comment 8 errata-xmlrpc 2018-06-27 09:40:49 EDT
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/RHEA-2018:2086

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