Actions
Bug #6833
closedSystem techniques tries to add old services at boot
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
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
Updated by Vincent MEMBRÉ over 9 years ago
- Status changed from New to In progress
- Assignee changed from Matthieu CERDA to Vincent MEMBRÉ
Updated by Matthieu CERDA over 9 years ago
- Assignee changed from Vincent MEMBRÉ to Matthieu CERDA
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
Updated by Matthieu CERDA over 9 years ago
- Assignee changed from Nicolas CHARLES to Vincent MEMBRÉ
Updated by Matthieu CERDA over 9 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder-techniques|dd59d47fcc8d431058c0856a5f6c584b22b7b5e9.
Updated by Nicolas CHARLES over 9 years ago
Applied in changeset rudder-techniques|1f573db4539cc3661bf85ed312dc94db76d40ec7.
Updated by Vincent MEMBRÉ about 9 years ago
- Category changed from Techniques to System techniques
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
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.
- Announcement 3.1
- Changelog 3.1
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/
Updated by Jonathan CLARKE almost 9 years ago
- Related to Bug #7645: Missing reporting for jetty and slapd on relay added
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