<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="SFNS Display">Hi colleagues,<br>
<br>
when deploying VMs using Heat, os-collect-config automatically
configured for three collectors: heat, ec2 and local.<br>
<br>
While I don't need for sure ec2, there is corresponding bug
<a class="moz-txt-link-freetext" href="https://bugs.launchpad.net/tripleo/+bug/1669842">https://bugs.launchpad.net/tripleo/+bug/1669842</a> which suggests to
remove unconditional adding of this collector to the list.<br>
<br>
What is 'local' collector needed for? There are lot of error
messages every 30 seconds in syslog:<br>
<br>
Sep 13 11:39:12 vm os-collect-config[1570]: No local metadata
found (['/var/lib/os-collect-config/local-data'])<br>
Sep 13 11:39:42 vm os-collect-config[1570]:
/var/lib/os-collect-config/local-data not found. Skipping<br>
<br>
which impacts nothing except I understand that every 30 seconds
process tries to access this data. According to source code, it
also added unconditionally to the end of the list like this code:<br>
<br>
collectors = ['ec2']<br>
if heat then collectors.append('heat')<br>
if zaqar then collectors.append('zaqar')</font><br>
<font face="SFNS Display"><font face="SFNS Display">if cfn then
collectors.append('cfn')<br>
[ ... ]<br>
</font></font><font face="SFNS Display"><font face="SFNS Display"><font
face="SFNS Display">collectors.append('local')<br>
</font></font></font><br>
<font face="SFNS Display"><font face="SFNS Display"><font face="SFNS
Display"><font face="SFNS Display"> Is it safe to remove it
from code as well as proposed in bug above?<br>
<br>
Thank you.<br>
<br>
</font>
</font>
</font></font>
<pre class="moz-signature" cols="72">--
Volodymyr Litovka
"Vision without Execution is Hallucination." -- Thomas Edison
</pre>
</body>
</html>