os-collect-config is spewing a lot of useless logs

Bug #1691003 reported by Michele Baldessari on 2017-05-16
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Low
Alex Schultz

Bug Description

We currently spam the logs with this:
May 16 05:34:21 overcloud-controller-0 os-collect-config: No local metadata found (['/var/lib/os-collect-config/local-data'])
May 16 05:34:51 overcloud-controller-0 os-collect-config: /var/lib/os-collect-config/local-data not found. Skipping
May 16 05:34:51 overcloud-controller-0 os-collect-config: No local metadata found (['/var/lib/os-collect-config/local-data'])
May 16 05:35:21 overcloud-controller-0 os-collect-config: /var/lib/os-collect-config/local-data not found. Skipping
May 16 05:35:21 overcloud-controller-0 os-collect-config: No local metadata found (['/var/lib/os-collect-config/local-data'])

[root@overcloud-controller-0 sysconfig]# head -n1 /var/log/messages
May 14 03:25:10 overcloud-controller-0 rsyslogd: [origin software="rsyslogd" swVersion="7.4.7" x-pid="963" x-info="http://www.rsyslog.com"] rsyslogd was HUPed
[root@overcloud-controller-0 sysconfig]# tail -n1 /var/log/messages
May 16 05:41:52 overcloud-controller-0 os-collect-config: No local metadata found (['/var/lib/os-collect-config/local-data'])
[root@overcloud-controller-0 sysconfig]# grep -E "No local metadata found|local-data not found" /var/log/messages |wc -l
12040

That is almost 6000 lines a day of messages that serve absolutely no purpose whatsoever.
I personally think we could remove this completely, but don't have the whole history as to why this is there.

If we're not comfortable removing this completely, we could at least make it a single line.

Changed in tripleo:
milestone: none → pike-2
Changed in tripleo:
milestone: pike-2 → pike-3
Changed in tripleo:
milestone: pike-3 → pike-rc1
Changed in tripleo:
milestone: pike-rc1 → queens-1
Changed in tripleo:
milestone: queens-1 → queens-2
Changed in tripleo:
milestone: queens-2 → queens-3
Alex Schultz (alex-schultz) wrote :
Changed in tripleo:
assignee: nobody → Alex Schultz (alex-schultz)
status: Triaged → In Progress
Changed in tripleo:
status: In Progress → Fix Released

This issue was fixed in the openstack/os-collect-config 8.2.0 release.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers