Impossible to delete a node when policy server has been deleted
Could not remove Node 'd77e2198-4c12-4e2a-9b6d-bc7f288a4e2e' from Rudder There was an error while deleting Node <- The policy server 'f3267c51-58fd-42fb-ad6b-c0be1dab70fa' for node agent2.rudder.local ('d77e2198-4c12-4e2a-9b6d-bc7f288a4e2e') was not found in Rudder
Fixes #11231: Impossible to delete a node when policy server has been deleted
#1 Updated by François ARMAND 12 months ago
So, the problem is that we need the node's policy server to calculate the node promise path, which is given as parameter to hook.
What would be the correct behavior in that case ? Empty values for the paths ?
In all case, we must allow the node to be deleted even in that case, else the policy regeneration will fail (node without a policy server => generation error).