Actions
Bug #6056
closedrudder agent on sles server logs a lot of errors about service checking
Status:
Released
Priority:
1 (highest)
Assignee:
Category:
System techniques
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
My rudder agent on SLES 11 is not ok with postgreql and tries to start it repeatdly even if it already ran:
R: [ERROR] Promise could not be repaired, error encountered: Check if the service postgresql is started using ps 2014-12-31T01:15:19-0800 error: /default/root_component_check/methods/'any'/default/generic_process_check_process/methods/'start_process'/default/service_ensure_running/methods/'check running'/default/service_ensure_running_path/methods/'start if not running'/default/service_start/methods/'start'/default/service_action/methods/'action'/default/command_execution/commands/'/sbin/service postgresql start'[0]: Finished command related to promiser '/sbin/service postgresql start' -- an error occurred, returned 1 2014-12-31T01:15:19-0800 notice: /default/root_component_check/methods/'any'/default/generic_process_check_process/methods/'start_process'/default/service_ensure_running/methods/'check running'/default/service_ensure_running_path/methods/'start if not running'/default/service_start/methods/'start'/default/service_action/methods/'action'/default/command_execution/commands/'/sbin/service postgresql start'[0]: Q: "...in/service post": Starting PostgreSQLpg_ctl: another server might be running; trying to start server anyway Q: "...in/service post": pg_ctl: could not start server Q: "...in/service post": Examine the log output. Q: "...in/service post": ..failed R: [ERROR] Promise could not be repaired, error encountered: Execute the command /sbin/service postgresql start 2014-12-31T01:15:19-0800 error: /default/root_component_check/methods/'any'/default/generic_process_check_process/methods/'start_process'/default/service_ensure_running/methods/'check running'/default/service_ensure_running_path/methods/'start if not running'/default/service_start/methods/'start'/default/service_action/methods/'action'[0]: Method 'command_execution' failed in some repairs R: [ERROR] Promise could not be repaired, error encountered: Run action start on service postgresql 2014-12-31T01:15:19-0800 error: /default/root_component_check/methods/'any'/default/generic_process_check_process/methods/'start_process'/default/service_ensure_running/methods/'check running'/default/service_ensure_running_path/methods/'start if not running'/default/service_start/methods/'start'[0]: Method 'service_action' failed in some repairs R: [ERROR] Promise could not be repaired, error encountered: Start service postgresql 2014-12-31T01:15:19-0800 error: /default/root_component_check/methods/'any'/default/generic_process_check_process/methods/'start_process'/default/service_ensure_running/methods/'check running'/default/service_ensure_running_path/methods/'start if not running'[0]: Method 'service_start' failed in some repairs R: [ERROR] Promise could not be repaired, error encountered: Ensure that service postgresql is running 2014-12-31T01:15:19-0800 error: /default/root_component_check/methods/'any'/default/generic_process_check_process/methods/'start_process'/default/service_ensure_running/methods/'check running'[0]: Method 'service_ensure_running_path' failed in some repairs 2014-12-31T01:15:19-0800 error: /default/root_component_check/methods/'any'/default/generic_process_check_process/methods/'start_process'[0]: Method 'service_ensure_running' failed in some repairs R: @@server-roles@@result_success@@server-roles@@server-roles-directive@@2@@Check postgresql process@@None@@2014-12-31 09:15:16+00:00##root@#The postgresql process is already running 2014-12-31T01:15:19-0800 error: /default/root_component_check/methods/'any'[0]: Method 'generic_process_check_process' failed in some repairs
Same thing for rudder-jetty:
R: [ERROR] Promise could not be repaired, error encountered: Check if the service rudder-jetty is started using ps 2014-12-31T01:15:17-0800 error: /default/root_component_check/methods/'any'/default/generic_process_check_process/methods/'start_process'/default/service_ensure_running/methods/'check running'/default/service_ensure_running_path/methods/'start if not running'/default/service_start/methods/'start'/default/service_action/methods/'action'/default/command_execution/commands/'/sbin/service rudder-jetty start'[0]: Finished command related to promiser '/sbin/service rudder-jetty start' -- an error occurred, returned 1 2014-12-31T01:15:17-0800 notice: /default/root_component_check/methods/'any'/default/generic_process_check_process/methods/'start_process'/default/service_ensure_running/methods/'check running'/default/service_ensure_running_path/methods/'start if not running'/default/service_start/methods/'start'/default/service_action/methods/'action'/default/command_execution/commands/'/sbin/service rudder-jetty start'[0]: Q: "...in/service rudd": Setting umask to 0007 Q: "...in/service rudd": Starting Jetty: Already Running! R: [ERROR] Promise could not be repaired, error encountered: Execute the command /sbin/service rudder-jetty start 2014-12-31T01:15:17-0800 error: /default/root_component_check/methods/'any'/default/generic_process_check_process/methods/'start_process'/default/service_ensure_running/methods/'check running'/default/service_ensure_running_path/methods/'start if not running'/default/service_start/methods/'start'/default/service_action/methods/'action'[0]: Method 'command_execution' failed in some repairs R: [ERROR] Promise could not be repaired, error encountered: Run action start on service rudder-jetty 2014-12-31T01:15:17-0800 error: /default/root_component_check/methods/'any'/default/generic_process_check_process/methods/'start_process'/default/service_ensure_running/methods/'check running'/default/service_ensure_running_path/methods/'start if not running'/default/service_start/methods/'start'[0]: Method 'service_action' failed in some repairs R: [ERROR] Promise could not be repaired, error encountered: Start service rudder-jetty 2014-12-31T01:15:17-0800 error: /default/root_component_check/methods/'any'/default/generic_process_check_process/methods/'start_process'/default/service_ensure_running/methods/'check running'/default/service_ensure_running_path/methods/'start if not running'[0]: Method 'service_start' failed in some repairs R: [ERROR] Promise could not be repaired, error encountered: Ensure that service rudder-jetty is running 2014-12-31T01:15:17-0800 error: /default/root_component_check/methods/'any'/default/generic_process_check_process/methods/'start_process'/default/service_ensure_running/methods/'check running'[0]: Method 'service_ensure_running_path' failed in some repairs 2014-12-31T01:15:17-0800 error: /default/root_component_check/methods/'any'/default/generic_process_check_process/methods/'start_process'[0]: Method 'service_ensure_running' failed in some repairs R: @@server-roles@@result_success@@server-roles@@server-roles-directive@@2@@Check jetty process@@None@@2014-12-31 09:15:16+00:00##root@#The jetty process is already running 2014-12-31T01:15:17-0800 error: /default/root_component_check/methods/'any'[0]: Method 'generic_process_check_process' failed in some repairs
Actions