Bug #7475
closedEnsure service at boot doesn't work on ncf 201511051154
Description
<snip>
2015-11-26T09:39:19+0100 error: /default/Nginx_for_frontal_LB/methods/'method_call'/default/service_check_started_at_boot/methods/'check_run'/default/command_execution/commands/'/bin/systemctl is-enabled nginx.service'[0]: Finished command related to promiser '/bin/systemctl is-enabled nginx.service' -- an error occurred, returned 1
2015-11-26T09:39:19+0100 notice: /default/Nginx_for_frontal_LB/methods/'method_call'/default/service_check_started_at_boot/methods/'check_run'/default/command_execution/commands/'/bin/systemctl is-enabled nginx.service'[0]: Q: ".../systemctl is-e": disabled
R: [ERROR] Promise could not be repaired, error encountered: Execute the command /bin/systemctl is-enabled nginx.service
2015-11-26T09:39:19+0100 error: /default/Nginx_for_frontal_LB/methods/'method_call'/default/service_check_started_at_boot/methods/'check_run'[0]: Method 'command_execution' failed in some repairs
R: [ERROR] Promise could not be repaired, error encountered: Ensure that service nginx is defined at boot
R: @Nginx_for_frontal_LB
@result_error@ab622a39-ea12-4d37-8536-d4b168e3d16d
@95700525-dc2f-448f-a484-f60a8a6d2165@1
@Service check at boot@nginx
@2015-11-26 08:39:15+00:00##431cb0c0-e740-4e37-b215-59035b339665@#Ensure that service nginx is defined at boot could not be repaired
2015-11-26T09:39:19+0100 error: /default/Nginx_for_frontal_LB/methods/'method_call'[0]: Method 'service_check_started_at_boot' failed in some repairs
R: @Nginx_for_frontal_LB
@result_success@ab622a39-ea12-4d37-8536-d4b168e3d16d
@95700525-dc2f-448f-a484-f60a8a6d2165@1
@Service ensure running@nginx
@2015-11-26 08:39:15+00:00##431cb0c0-e740-4e37-b215-59035b339665@#Ensure that service nginx is running was correct
R: @Common
@log_info@hasPolicyServer-root
@common-root@11
@common@EndRun
@2015-11-26 08:39:15+00:00##431cb0c0-e740-4e37-b215-59035b339665@#End execution with config [1094021155]
- /bin/systemctl is-enabled nginx.service
disabled
- echo $?
1
Updated by Jonathan CLARKE almost 9 years ago
- Related to Bug #7223: service_check_started_at_boot throws error on service boot status check added
Updated by Jonathan CLARKE almost 9 years ago
- Status changed from New to Rejected
Thanks for the bug report, Olivier.
After some careful inspection, it turns out that the bundle being run here is "Check service started at boot", not "Ensure ...". The reason for the confusion is that this is a double bug: the log message in "Check..." is wrong, and says "Ensure...".
Therefore, this is a duplicate of #7223. I will provide a fix on that ticket.
Updated by Jonathan CLARKE almost 9 years ago
- Related to deleted (Bug #7223: service_check_started_at_boot throws error on service boot status check)
Updated by Jonathan CLARKE almost 9 years ago
- Is duplicate of Bug #7223: service_check_started_at_boot throws error on service boot status check added
Updated by Alexis Mousset over 2 years ago
- Project changed from 41 to Rudder
- Category set to Generic methods
- Priority set to 0