[rudder-users] Unable to add a node
Vincent Membré
vincent.membre at normation.com
Tue Oct 22 10:31:26 CEST 2013
Le 22/10/2013 08:22, Olivier Desport a écrit :
>
>
>
>
> Le 21/10/2013 16:28, Vincent Membré a écrit :
>> Le 21/10/2013 16:19, Olivier Desport a écrit :
>>> I try to add a node which was deleted from the server and
>>> reinstalled with the same hostname. The node never appears in the
>>> pending ones. Here are the logs on the server:
>>>
>>> [2013-10-21 16:00:54] INFO
>>> com.normation.inventory.provisioning.endpoint.FusionReportEndpoint -
>>> New input report: 'node5-2013-10-21-14-38-42.ocs'
>>> [2013-10-21 16:00:54] ERROR
>>> com.normation.inventory.provisioning.endpoint.FusionReportEndpoint -
>>> Error when trying to parse report:
>>> Can't parse the input report, aborting
>>> cause: Error when post processing report with
>>> 'post_process_inventory:check_consistency', abort
>>> cause: The UUID '# The content of this file should be replaced with
>>> a valid U' is not valid. It should be lesser than 50 chars and
>>> contains chars among the set [a-zA-Z0-9\-])
>>>
>>> [2013-10-21 16:05:12] INFO net.liftweb.http.SessionMaster - Session
>>> uqacxht9g1kl2tnfc7mwk1sz expired
>>>
>>>
>>> Should I clean some files on the server ?
>>
>> Hello Olivier,
>
> Hello Vincent,
>>
>> The problems seems to come from the node.
>>
>> There is an error with the value of the UUID used by your node.
>> either the value is missing or not valid.
>>
>> What is the content /opt/rudder/etc/uuid.hive on your node?
>
> 2cdf2086-b96e-43b6-884b-1d3cbeeae779
>>
>> Which version of the agent is deployed?
>
> 2.7.5-wheezy0 amd64
>>
>> Cheers
Ok, your node seems to be ok, and should now send correct inventories.
However, it has send previous a wrong inventory to the server. This may
be due to the missing UUID bug we encountered lately on upgrade ( see
http://www.rudder-project.org/redmine/issues/3896 or
http://www.rudder-project.org/redmine/issues/3925)
After processing an inventory sucessfully, the inventory is send from
//var/rudder/inventories/incoming/ to //var/rudder/inventories/received/.
If the process failed (which happens here with a missing UUID), the
inventory stays in /incoming/ folder, preventing the node to send a new
inventory.
this is a known behavior that has been fixed in 2.8.0 (see
http://www.rudder-project.org/redmine/issues/3139).
To fix it in older versions, you have to delete it from
/var/rudder/incoming, then force an inventory send by running on the
node: */var/rudder/cfengine-community/bin/cf-agent -KI
-Dforce_inventory* (see
http://www.rudder-project.org/rudder-doc-2.7/rudder-doc.html#_inventory)
Vincent
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.rudder-project.org/pipermail/rudder-users/attachments/20131022/6f227d2a/attachment.html>
More information about the rudder-users
mailing list