Following an update all my NCF techniques turned out to be invalid, calling the log method log_rudder with two instead of four parameters.
It looked roughly like this:
Changing them using sed proved an incomplete solution, since any new NCF technique was again broken.
So actually it looked like this:
Ensure you have no leftover ncf.conf.rpmnew from the update.
Ensure all your ncf.conf refers only to log_default or log_rudder, not logger_rudder.
The logging methods are defined in 30_generic_methods of NCF.
Make sure your NCF is current, especially look at the bundle "log_default".
The NCF backend needs this patch!
Then run rudderify:
Commit the changes in ncf_techniques and the changed ncf.conf.cache
Finally, you need to reload your techniques:
Try the very comfortable command via CLI first, but it didn't work:
Then I tried the one from the hook scripts, this one works:
But of course you can also reload via GUI (Administration -> Settings)
If your install is very broken due to the issue, you can try these three steps:
First try to clear the policy caches -> Does it rebuild OK now?
If that ain't enough, you might need to try a
rudder agent run -> if this is broken, try this:
rudder agent reset -> Does the local agent run again
If that ain't enough,
you need to restore the initial promises:
/opt/rudder/bin/check-rudder-agent should do that automatically.
After that, try rudder agent run, followed by rudder agent update, followed by rudder agent run!
Now things look like this again: