Project

General

Profile

Actions

Bug #6833

closed

System techniques tries to add old services at boot

Added by Alexis Mousset over 9 years ago. Updated about 9 years ago.

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

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 1 (0 open1 closed)

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

Related issues 2 (0 open2 closed)

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
Actions #1

Updated by Alexis Mousset over 9 years ago

  • Assignee set to Matthieu CERDA
Actions #2

Updated by Vincent MEMBRÉ over 9 years ago

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

Updated by Matthieu CERDA over 9 years ago

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

Updated by Matthieu CERDA over 9 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
Actions #5

Updated by Matthieu CERDA over 9 years ago

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

Updated by Matthieu CERDA over 9 years ago

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

Updated by Vincent MEMBRÉ about 9 years ago

  • Category changed from Techniques to System techniques
Actions #9

Updated by Vincent MEMBRÉ about 9 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
Actions #10

Updated by Vincent MEMBRÉ about 9 years ago

  • Status changed from Pending release to Released

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

Actions #11

Updated by Jonathan CLARKE almost 9 years ago

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

Updated by Nicolas CHARLES over 8 years ago

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

Also available in: Atom PDF