Project

General

Profile

Bug #6833

System techniques tries to add old services at boot

Added by Alexis MOUSSET over 5 years ago. Updated over 5 years ago.

Status:
Released
Priority:
1
Category:
System techniques
Target version:
Severity:
User visibility:
Effort required:
Priority:

Description

Only the rudder service should be started at boot on 3.1, but in the logs:

R: @@server-roles@@result_success@@server-roles@@server-roles-directive@@0@@Check jetty process@@None@@2015-06-26 08:10:01+00:00##root@#The jetty process is already running
2015-06-26T08:10:02+0000    error: /default/root_component_check/methods/'any'/default/generic_process_check_bootstart/methods/'bootstart_service'/default/service_ensure_started_at_boot/methods/'check_at_boot'/default/service_check_started_at_boot/methods/'check_run'/default/command_execution/commands/'/usr/bin/test -f /etc/rc`runlevel | /usr/bin/cut -d' ' -f2`.d/S??rudder-jetty'[0]: Finished command related to promiser '/usr/bin/test -f /etc/rc`runlevel | /usr/bin/cut -d' ' -f2`.d/S??rudder-jetty' -- an error occurred, returned 1
R: [ERROR] Promise could not be repaired, error encountered: Execute the command /usr/bin/test -f /etc/rc`runlevel | /usr/bin/cut -d' ' -f2`.d/S??rudder-jetty
2015-06-26T08:10:02+0000    error: /default/root_component_check/methods/'any'/default/generic_process_check_bootstart/methods/'bootstart_service'/default/service_ensure_started_at_boot/methods/'check_at_boot'/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 rudder-jetty is defined at boot
2015-06-26T08:10:02+0000    error: /default/root_component_check/methods/'any'/default/generic_process_check_bootstart/methods/'bootstart_service'/default/service_ensure_started_at_boot/methods/'check_at_boot'[0]: Method 'service_check_started_at_boot' failed in some repairs
2015-06-26T08:10:02+0000   notice: /default/root_component_check/methods/'any'/default/generic_process_check_bootstart/methods/'bootstart_service'/default/service_ensure_started_at_boot/methods/'define_at_boot'/default/command_execution/commands/'/usr/sbin/update-rc.d rudder-jetty enable'[0]: Q: "...pdate-rc.d rudd": update-rc.d: warning:  start runlevel arguments (none) do not match rudder-jetty Default-Start values (2 3 4 5)
Q: "...pdate-rc.d rudd": update-rc.d: warning:  stop runlevel arguments (none) do not match rudder-jetty Default-Stop values (0 1 6)
Q: "...pdate-rc.d rudd":  System start/stop links for /etc/init.d/rudder-jetty do not exist.

2015-06-26T08:10:02+0000    error: /default/root_component_check/methods/'any'/default/generic_process_check_bootstart/methods/'bootstart_service'[0]: Method 'service_ensure_started_at_boot' failed in some repairs
R: @@server-roles@@result_repaired@@server-roles@@server-roles-directive@@0@@Check jetty boot script@@None@@2015-06-26 08:10:01+00:00##root@#Check jetty boot starting parameters was repaired
2015-06-26T08:10:02+0000    error: /default/root_component_check/methods/'any'[0]: Method 'generic_process_check_bootstart' failed in some repairs
R: @@server-roles@@result_success@@server-roles@@server-roles-directive@@0@@Check configuration-repository folder@@None@@2015-06-26 08:10:01+00:00##root@#The /var/rudder/configuration-repository directory is present
R: @@server-roles@@result_success@@server-roles@@server-roles-directive@@0@@Check configuration-repository GIT lock@@None@@2015-06-26 08:10:01+00:00##root@#The /var/rudder/configuration-repository GIT lock file is not present or not older than 5 minutes
R: @@server-roles@@result_success@@server-roles@@server-roles-directive@@0@@Check rudder status@@None@@2015-06-26 08:10:01+00:00##root@#The http://localhost:8080/rudder/api/status web application is running
R: @@server-roles@@result_success@@server-roles@@server-roles-directive@@0@@Check endpoint status@@None@@2015-06-26 08:10:01+00:00##root@#The http://localhost:8080/endpoint/api/status web application is running
R: @@server-roles@@result_success@@server-roles@@server-roles-directive@@0@@Check slapd process@@None@@2015-06-26 08:10:01+00:00##root@#The slapd process is already running
2015-06-26T08:10:02+0000    error: /default/root_component_check/methods/'any'/default/generic_process_check_bootstart/methods/'bootstart_service'/default/service_ensure_started_at_boot/methods/'check_at_boot'/default/service_check_started_at_boot/methods/'check_run'/default/command_execution/commands/'/usr/bin/test -f /etc/rc`runlevel | /usr/bin/cut -d' ' -f2`.d/S??rudder-slapd'[0]: Finished command related to promiser '/usr/bin/test -f /etc/rc`runlevel | /usr/bin/cut -d' ' -f2`.d/S??rudder-slapd' -- an error occurred, returned 1
R: [ERROR] Promise could not be repaired, error encountered: Execute the command /usr/bin/test -f /etc/rc`runlevel | /usr/bin/cut -d' ' -f2`.d/S??rudder-slapd
2015-06-26T08:10:02+0000    error: /default/root_component_check/methods/'any'/default/generic_process_check_bootstart/methods/'bootstart_service'/default/service_ensure_started_at_boot/methods/'check_at_boot'/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 rudder-slapd is defined at boot
2015-06-26T08:10:02+0000    error: /default/root_component_check/methods/'any'/default/generic_process_check_bootstart/methods/'bootstart_service'/default/service_ensure_started_at_boot/methods/'check_at_boot'[0]: Method 'service_check_started_at_boot' failed in some repairs
2015-06-26T08:10:02+0000   notice: /default/root_component_check/methods/'any'/default/generic_process_check_bootstart/methods/'bootstart_service'/default/service_ensure_started_at_boot/methods/'define_at_boot'/default/command_execution/commands/'/usr/sbin/update-rc.d rudder-slapd enable'[0]: Q: "...pdate-rc.d rudd": update-rc.d: warning:  start runlevel arguments (none) do not match rudder-slapd Default-Start values (2 3 4 5)
Q: "...pdate-rc.d rudd": update-rc.d: warning:  stop runlevel arguments (none) do not match rudder-slapd Default-Stop values (0 1 6)
Q: "...pdate-rc.d rudd":  System start/stop links for /etc/init.d/rudder-slapd do not exist.

2015-06-26T08:10:02+0000    error: /default/root_component_check/methods/'any'/default/generic_process_check_bootstart/methods/'bootstart_service'[0]: Method 'service_ensure_started_at_boot' failed in some repairs
R: @@server-roles@@result_repaired@@server-roles@@server-roles-directive@@0@@Check slapd boot script@@None@@2015-06-26 08:10:01+00:00##root@#Check slapd boot starting parameters was repaired
2015-06-26T08:10:02+0000    error: /default/root_component_check/methods/'any'[0]: Method 'generic_process_check_bootstart' failed in some repairs

Subtasks

Bug #6933: Rudder should not attempt to check if the "rudder" service is started at bootReleasedVincent MEMBRÉ2015-07-07Actions

Related issues

Related to Rudder - Bug #7645: Missing reporting for jetty and slapd on relayReleasedJonathan CLARKE2015-12-18Actions
Related to Rudder - Bug #8049: rudder-webapp and rudder-slapd does not register themself on boot on Debian 7 RejectedActions
#1

Updated by Alexis MOUSSET over 5 years ago

  • Assignee set to Matthieu CERDA
#2

Updated by Vincent MEMBRÉ over 5 years ago

  • Status changed from New to In progress
  • Assignee changed from Matthieu CERDA to Vincent MEMBRÉ
#3

Updated by Matthieu CERDA over 5 years ago

  • Assignee changed from Vincent MEMBRÉ to Matthieu CERDA
#4

Updated by Matthieu CERDA over 5 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Matthieu CERDA to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/712
#5

Updated by Matthieu CERDA over 5 years ago

  • Assignee changed from Nicolas CHARLES to Vincent MEMBRÉ
#6

Updated by Matthieu CERDA over 5 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
#8

Updated by Vincent MEMBRÉ over 5 years ago

  • Category changed from Techniques to System techniques
#9

Updated by Vincent MEMBRÉ over 5 years ago

  • Subject changed from root_component_check tries to start at boot uneeded services on 3.1 to System techniques tries to add old services at boot
#10

Updated by Vincent MEMBRÉ over 5 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 3.1.0 which was released today.

#11

Updated by Jonathan CLARKE about 5 years ago

  • Related to Bug #7645: Missing reporting for jetty and slapd on relay added
#12

Updated by Nicolas CHARLES almost 5 years ago

  • Related to Bug #8049: rudder-webapp and rudder-slapd does not register themself on boot on Debian 7 added

Also available in: Atom PDF