Project

General

Profile

Bug #7004

Updated by Jonathan CLARKE over 8 years ago

If an inventory with a signature fails, the inventory file is moved to the "failed" directory, but not the .sign file. 

 Also, once an inventory file has been decompressed (from gzip format, and removing the .gz suffix), the file name in failed still *includes* the inappropriate .gz suffix, which is confusing. 

 For example: 

 <pre> 
 [root@server incoming]#    find /var/rudder/inventories/ 
 /var/rudder/inventories/ 
 /var/rudder/inventories/incoming 
 /var/rudder/inventories/incoming/node1-7d3eb274-c355-418e-b4a4-738afc0ff7a9.ocs.sign 
 /var/rudder/inventories/debug 
 /var/rudder/inventories/accepted-nodes-updates 
 /var/rudder/inventories/received 
 /var/rudder/inventories/received/server-root.ocs.sign 
 /var/rudder/inventories/received/server-root.ocs 
 /var/rudder/inventories/historical 
 /var/rudder/inventories/failed 
 /var/rudder/inventories/failed/node1-7d3eb274-c355-418e-b4a4-738afc0ff7a9.ocs.gz-2015-11-26 
 </pre>

Back