/opt/rudder/bin/run-inventory --local=/var/rudder/tmp/inventory/prod-c2d09dd7-a6d8-4eec-8812-297506ff2a92.ocs
[info] FusionInventory instance: builtin
Encode.c: loadable library and perl binaries are mismatched (got handshake key 0xce00080, needed 0xed00080)
Hi,
I've updated my Rudder server from 6.2 to 7.1. I've done this by updating the repository and then ran:
zypper up rudder-server-root rudder-server-relay rudder-reports rudder-webapp rudder-agent
Upgrade went fine, no errors reported etc. There is however now one issue. The compliance of the nodes dropped from 100% to 0%. When checking on the individual nodes they all report this error: "No recent reports have been received for this node in the grace period since the last configuration policy change."
So as a test on some of the nodes I changed some resources managed by Rudder and ran the agent. And that ran without any problem at all. Everything was corrected by Rudder as expected.
As I figured that maybe this was due to the 6.2 version of the agent still runnnig on the nodes, I upgraded that on some of them as well to 7.1. Still no luck.
Then I thought that maybe it needed some time to update the reports again. But it has been over 4 hours by now and I'm still at 0% compliance.
I'm running this on SLES15 SP3. I took a snapshot of the VM running the Rudder server before the upgrade, so I could revert back to that. (If I haven't solved it by Monday I guess it will come to that), but I prefer not to do this. So if someone could help me fix this, that would be greatly appreciated.
2022-05-16T15:26:33+00:00 rudder info: Created file '/var/rudder/cfengine-community/tmp/templates/file_from_remote_template//etc/php/8.0/fpm/php.ini.datastate.78436.json', mode 0600
2022-05-16T15:26:33+00:00 rudder info: Updated rendering of '/var/rudder/cfengine-community/tmp/templates/file_from_remote_template//etc/php/8.0/fpm/php.ini.datastate.78436.json' from mustache template '/var/rudder/cfengine-community/modules/templates/datastate.json.tpl'
2022-05-16T15:26:34+00:00 rudder info: Copied file '/var/rudder/cfengine-community/tmp/templates/file_from_remote_template//etc/php/8.0/fpm/php.ini.78436.new' to '/etc/php/8.0/fpm/php.ini.cfnew' (permissions preserved)
2022-05-16T15:26:34+00:00 rudder info: Moved '/etc/php/8.0/fpm/php.ini.cfnew' to '/etc/php/8.0/fpm/php.ini'
2022-05-16T15:26:34+00:00 rudder info: Updated file '/etc/php/8.0/fpm/php.ini' from 'localhost:/var/rudder/cfengine-community/tmp/templates/file_from_remote_template//etc/php/8.0/fpm/php.ini.78436.new'
info optimisation___php_fpm Deploy php.ini Conf /etc/php/8.0/fpm/| Copying /etc/php/8.0/fpm/php.ini from /var/rudder/cfengine-community/tmp/templates/file_from_remote_template//etc/php/8.0/fpm/php.ini.78436.new was repaired
info optimisation___php_fpm Deploy php.ini Conf /etc/php/8.0/fpm/| Copying /etc/php/8.0/fpm/php.ini from local /var/rudder/cfengine-community/tmp/templates/file_from_remote_template//etc/php/8.0/fpm/php.ini.78436.new, recursion level 0 was repaired
info optimisation___php_fpm Deploy php.ini Conf /etc/php/8.0/fpm/| Copying /etc/php/8.0/fpm/php.ini from local /var/rudder/cfengine-community/tmp/templates/file_from_remote_template//etc/php/8.0/fpm/php.ini.78436.new was repaired
2022-05-16T15:26:34+00:00 rudder info: Deleted file '/var/rudder/cfengine-community/tmp/templates/file_from_remote_template//etc/php/8.0/fpm/php.ini.datastate.78436.json'
info optimisation___php_fpm Deploy php.ini Conf /etc/php/8.0/fpm/| Remove file /var/rudder/cfengine-community/tmp/templates/file_from_remote_template//etc/php/8.0/fpm/php.ini.datastate.78436.json was repaired
2022-05-16T15:26:34+00:00 rudder info: Deleted file '/var/rudder/cfengine-community/tmp/templates/file_from_remote_template//etc/php/8.0/fpm/php.ini.78436.new'
info optimisation___php_fpm Deploy php.ini Conf /etc/php/8.0/fpm/| Remove file /var/rudder/cfengine-community/tmp/templates/file_from_remote_template//etc/php/8.0/fpm/php.ini.78436.new was repaired
info optimisation___php_fpm Deploy php.ini Conf /etc/php/8.0/fpm/| Build file /etc/php/8.0/fpm/php.ini from jinja2 template /var/rudder/cfengine-community/tmp/templates/file_from_remote_template//etc/php/8.0/fpm/php.ini was repaired
info optimisation___php_fpm Deploy php.ini Conf /etc/php/8.0/fpm/| Build file /etc/php/8.0/fpm/php.ini from jinja2 template /var/rudder/cfengine-community/tmp/templates/file_from_remote_template//etc/php/8.0/fpm/php.ini was repaired
E| repaired optimisation___php_fpm Deploy php.ini Conf /etc/php/8.0/fpm/| Build file /etc/php/8.0/fpm/php.ini from template /var/rudder/configuration-repository/shared-files/common/configuration-template/PHP/conf/php.ini.tpl was repaired
{
"disable_functions": "XXX,syslog,openlog,closelog,posix_kill,posix_getpwuid,dl,exec,system,shell_exec,proc_open,popen,passthru",
"exectime": "30",
"maxinputtime": "30",
"maxinputvars": "30",
"memorylimit": "256M",
"timezone": "Europe/Paris",
"uploadmaxfilesize": "100M"
}
/var/log/rudder/webapp/YYYY_MM_dd.stderrout.log
.<logger name="explain_compliance" level="debug" additivity="false">
to <logger name="explain_compliance" level="info" additivity="false">
(ie change level from debug to info) in file /opt/rudder/etc/logback.xml