Project

General

Profile

Actions

Bug #16074

closed

When deleting completely a rudder-agent, it is very hard to re-install a functionnal agent on it

Added by Félix DALLIDET over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
N/A
Category:
-
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Very Small
Priority:
80
Name check:
Fix check:
To do
Regression:

Description

If you uninstall rudder-agent from a node, and then remove the ppkeys of it from the node, it will be hard to make the agent come back in the Rudder server.
--> the webapp will throw errors like:

[2019-10-29 09:04:48] ERROR inventory-processing - Rejecting Inventory 'agent1-96d90e95-54ee-4d20-a95e-2d6dc4dccf61.ocs' for Node '96d90e95-54ee-4d20-a95e-2d6dc4dccf61' because the Inventory signature is not valid: the Inventory was not signed with the same agent key as the one saved within Rudder for that Node. If you updated the agent key on this node, you can update the key stored within Rudder with the following command on the Rudder Server: '/opt/rudder/bin/rudder-keys change-key 96d90e95-54ee-4d20-a95e-2d6dc4dccf61 <your new public key>'. If you did not change the key, please ensure that the node sending that inventory is actually the node registered within Rudder

Thing is, rudder-keys does not seem to work if we already removed the agent from the webapp...


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #13886: New inventory not accepted when deleted inventory with "undefined" key status deletedResolvedFrançois ARMANDActions
Actions

Also available in: Atom PDF