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.
https:/ /review. openstack. org/#/c/ 530759/ and https:/ /review. rdoproject. org/r/# /c/11137/