Project

General

Profile

Actions

Bug #6660

closed

A report is missing on system techniques when cron needs to be restartd

Added by Janos Mattyasovszky almost 9 years ago. Updated over 8 years ago.

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

Description

Having issues with the rudder-generated promises for crond on a SLES12 GA Server:

sles12# cf-agent -KICalways | grep 'default/check_cron_daemon'
2015-05-22T15:17:49+0200     info: /default/check_cron_daemon/processes/'/usr/sbin/cron$'[0]: Making a one-time restart promise for '/usr/sbin/cron$'
2015-05-22T15:17:49+0200     info: /default/check_cron_daemon/methods/'restart_cron'/default/service_restart/methods/'wrap'/default/service_restart_if/methods/'restart'/default/service_action/methods/'action'/default/command_execution/commands/'/bin/systemctl restart cron'[0]: Executing 'no timeout' ... '/bin/systemctl restart cron'
2015-05-22T15:17:49+0200     info: /default/check_cron_daemon/methods/'restart_cron'/default/service_restart/methods/'wrap'/default/service_restart_if/methods/'restart'/default/service_action/methods/'action'/default/command_execution/commands/'/bin/systemctl restart cron'[0]: Completed execution of '/bin/systemctl restart cron'
2015-05-22T15:17:49+0200    error: /default/check_cron_daemon/methods/'restart_cron'/default/service_restart/methods/'wrap'/default/service_restart_if/methods/'restart'/default/service_action/methods/'action'/default/command_execution/methods/'report'/default/_logger/methods/'logging'/default/_bundle_caller_two/methods/'${configuration.enabled_loggers}'[0]: A variable seems to have been used for the name of the method. In this case, the promiser also needs to contain the unique name of the method
2015-05-22T15:17:49+0200    error: /default/check_cron_daemon/methods/'restart_cron'/default/service_restart/methods/'wrap'/default/service_restart_if/methods/'restart'/default/service_action/methods/'action'/default/command_execution/methods/'report'/default/_logger/methods/'logging'/default/_bundle_caller_two/methods/'${configuration.enabled_loggers}'[0]: A method attempted to use a bundle '${configuration.enabled_loggers}' that was apparently not defined
2015-05-22T15:17:49+0200    error: /default/check_cron_daemon/methods/'restart_cron'/default/service_restart/methods/'wrap'/default/service_restart_if/methods/'restart'/default/service_action/methods/'action'/default/command_execution/methods/'report'/default/_logger/methods/'logging'[0]: Method '_bundle_caller_two' failed in some repairs
2015-05-22T15:17:49+0200    error: /default/check_cron_daemon/methods/'restart_cron'/default/service_restart/methods/'wrap'/default/service_restart_if/methods/'restart'/default/service_action/methods/'action'/default/command_execution/methods/'report'[0]: Method '_logger' failed in some repairs
2015-05-22T15:17:49+0200    error: /default/check_cron_daemon/methods/'restart_cron'/default/service_restart/methods/'wrap'/default/service_restart_if/methods/'restart'/default/service_action/methods/'action'[0]: Method 'command_execution' failed in some repairs
2015-05-22T15:17:49+0200    error: /default/check_cron_daemon/methods/'restart_cron'/default/service_restart/methods/'wrap'/default/service_restart_if/methods/'restart'/default/service_action/methods/'report'/default/_logger/methods/'logging'/default/_bundle_caller_two/methods/'${configuration.enabled_loggers}'[0]: A variable seems to have been used for the name of the method. In this case, the promiser also needs to contain the unique name of the method
2015-05-22T15:17:49+0200    error: /default/check_cron_daemon/methods/'restart_cron'/default/service_restart/methods/'wrap'/default/service_restart_if/methods/'restart'/default/service_action/methods/'report'/default/_logger/methods/'logging'/default/_bundle_caller_two/methods/'${configuration.enabled_loggers}'[0]: A method attempted to use a bundle '${configuration.enabled_loggers}' that was apparently not defined
2015-05-22T15:17:49+0200    error: /default/check_cron_daemon/methods/'restart_cron'/default/service_restart/methods/'wrap'/default/service_restart_if/methods/'restart'/default/service_action/methods/'report'/default/_logger/methods/'logging'[0]: Method '_bundle_caller_two' failed in some repairs
2015-05-22T15:17:49+0200    error: /default/check_cron_daemon/methods/'restart_cron'/default/service_restart/methods/'wrap'/default/service_restart_if/methods/'restart'/default/service_action/methods/'report'[0]: Method '_logger' failed in some repairs
2015-05-22T15:17:49+0200    error: /default/check_cron_daemon/methods/'restart_cron'/default/service_restart/methods/'wrap'/default/service_restart_if/methods/'restart'[0]: Method 'service_action' failed in some repairs
2015-05-22T15:17:49+0200    error: /default/check_cron_daemon/methods/'restart_cron'/default/service_restart/methods/'wrap'/default/service_restart_if/methods/'report'/default/_logger/methods/'logging'/default/_bundle_caller_two/methods/'${configuration.enabled_loggers}'[0]: A variable seems to have been used for the name of the method. In this case, the promiser also needs to contain the unique name of the method
2015-05-22T15:17:49+0200    error: /default/check_cron_daemon/methods/'restart_cron'/default/service_restart/methods/'wrap'/default/service_restart_if/methods/'report'/default/_logger/methods/'logging'/default/_bundle_caller_two/methods/'${configuration.enabled_loggers}'[0]: A method attempted to use a bundle '${configuration.enabled_loggers}' that was apparently not defined
2015-05-22T15:17:49+0200    error: /default/check_cron_daemon/methods/'restart_cron'/default/service_restart/methods/'wrap'/default/service_restart_if/methods/'report'/default/_logger/methods/'logging'[0]: Method '_bundle_caller_two' failed in some repairs
2015-05-22T15:17:49+0200    error: /default/check_cron_daemon/methods/'restart_cron'/default/service_restart/methods/'wrap'/default/service_restart_if/methods/'report'[0]: Method '_logger' failed in some repairs
2015-05-22T15:17:49+0200    error: /default/check_cron_daemon/methods/'restart_cron'/default/service_restart/methods/'wrap'[0]: Method 'service_restart_if' failed in some repairs
2015-05-22T15:17:49+0200    error: /default/check_cron_daemon/methods/'restart_cron'[0]: Method 'service_restart' failed in some repairs

Agent:
rudder-agent-3.1.0.beta2.git201505180137-1.SLES.12.x86_64

Rootserver:
ncf-0.201504102231-1.SLES.11
ncf-api-virtualenv-3.0.4.release-1.SLES.11
rudder-agent-3.0.4.release-1.SLES.11
rudder-inventory-endpoint-3.0.4.release-1.SLES.11
rudder-inventory-ldap-3.0.4.release-1.SLES.11
rudder-jetty-3.0.4.release-1.SLES.11
rudder-plugin-external-node-information-2.11.4-1
rudder-reports-3.0.4.release-1.SLES.11
rudder-server-root-3.0.4.release-1.SLES.11
rudder-techniques-3.0.4.release-1.SLES.11
rudder-webapp-3.0.4.release-1.SLES.11

Actions

Also available in: Atom PDF