Project

General

Profile

Actions

Bug #7475

closed

Ensure service at boot doesn't work on ncf 201511051154

Bug #7475: Ensure service at boot doesn't work on ncf 201511051154

Added by Olivier Mauras about 10 years ago. Updated over 3 years ago.

Status:
Rejected
Priority:
2
Assignee:
-
Category:
Generic methods
Target version:
-
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

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]

  1. /bin/systemctl is-enabled nginx.service
    disabled
  1. echo $?
    1

Related issues 1 (0 open1 closed)

Is duplicate of Rudder - Bug #7223: service_check_started_at_boot throws error on service boot status checkReleasedTomas CorejActions

Updated by Jonathan CLARKE about 10 years ago Actions #1

  • Related to Bug #7223: service_check_started_at_boot throws error on service boot status check added

Updated by Jonathan CLARKE about 10 years ago Actions #2

  • 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 about 10 years ago Actions #3

  • Related to deleted (Bug #7223: service_check_started_at_boot throws error on service boot status check)

Updated by Jonathan CLARKE about 10 years ago Actions #4

  • Is duplicate of Bug #7223: service_check_started_at_boot throws error on service boot status check added

Updated by Alexis Mousset over 3 years ago Actions #5

  • Project changed from 41 to Rudder
  • Category set to Generic methods
  • Priority set to 0
Actions

Also available in: PDF Atom