Project

General

Profile

Actions

Bug #6856

closed

Error in signInventories with nodes <3.1 and a 3.1 server

Added by Alexis Mousset over 9 years ago. Updated over 9 years ago.

Status:
Released
Priority:
N/A
Category:
System techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

After upgrading a server from 3.0 to 3.1, on a node with rudder 3.0:

2015-06-29T12:45:14+0000    error: /default/doInventory/methods/'any'/default/signInventories/files/'/var/rudder/inventories'[0]: Proposed executable file '/opt/rudder/bin/signature.sh' doesn't exist
2015-06-29T12:45:14+0000    error: /default/doInventory/methods/'any'/default/signInventories/files/'/var/rudder/inventories'[0]: Transformer '/opt/rudder/bin/signature.sh ${this.promiser}' for file '/var/rudder/inventories/agent1-fa39bf47-6993-41bb-ada0-b26b2a8b0a2f.ocs' failed
2015-06-29T12:45:14+0000    error: /default/doInventory/methods/'any'[0]: Method 'signInventories' failed in some repairs

We could test the existence of the script before signing, and let the pre-3.1 inventories unsigned.

Actions

Also available in: Atom PDF