Project

General

Profile

Actions

Bug #4499

closed

Rudder init script kill all agent on Open VZ (or similar system)

Bug #4499: Rudder init script kill all agent on Open VZ (or similar system)

Added by Nicolas CHARLES over 11 years ago. Updated over 9 years ago.

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

Description

As reported by Alex in #4498, the init script is too eager in its agent killing

                # Presence of PID file
                # If the pid file is not readable or is empty, kill all process by name
                if [ ! -r ${CFENGINE_COMMUNITY_PID_FILE[$daemon]} -o ! -s ${CFENGINE_COMMUNITY_PID_FILE[$daemon]} ]
                then
                        # Try a killall
                        /usr/bin/killall -KILL ${CFENGINE_COMMUNITY_BIN[$daemon]}

On a openvz system, it would simply wipe all the daemon running

We should implement a similar fix as in http://www.rudder-project.org/redmine/issues/3928 / https://github.com/Normation/rudder-packages/pull/211/files to detect if its a VZ system, and kill only the relevant deamon

(as vzps.py is present only in 2.8, i'm targeting this ticket to 2.8)


Related issues 2 (0 open2 closed)

Related to Rudder - Bug #4498: Several issues with process management on Proxmox host (and container)RejectedActions
Related to Rudder - Bug #7381: Process management issues on nodes hosting LXC containersReleasedAlexis MoussetActions

Updated by Nicolas CHARLES over 11 years ago Actions #1

  • Project changed from Rudder to 34

Updated by Vincent MEMBRÉ over 11 years ago Actions #2

  • Target version changed from 2.8.3 to 2.8.4

Updated by Vincent MEMBRÉ over 11 years ago Actions #3

  • Target version changed from 2.8.4 to 133

Updated by Vincent MEMBRÉ over 11 years ago Actions #4

  • Target version changed from 133 to 2.9.5

Updated by Vincent MEMBRÉ over 11 years ago Actions #5

  • Target version changed from 2.9.5 to 2.9.6

Updated by Jonathan CLARKE over 11 years ago Actions #6

  • Target version changed from 2.9.6 to 2.9.7

Updated by Jonathan CLARKE over 11 years ago Actions #7

  • Target version changed from 2.9.7 to 150

Updated by Vincent MEMBRÉ over 11 years ago Actions #8

  • Target version changed from 150 to 2.10.4

Updated by Nicolas PERRON over 11 years ago Actions #9

  • Target version changed from 2.10.4 to 2.6.18

Updated by Nicolas PERRON over 11 years ago Actions #10

  • Target version changed from 2.6.18 to 2.10.5

Updated by Vincent MEMBRÉ about 11 years ago Actions #11

  • Target version changed from 2.10.5 to 2.10.6

Updated by Matthieu CERDA about 11 years ago Actions #12

  • Target version changed from 2.10.6 to 2.10.7

Updated by Vincent MEMBRÉ about 11 years ago Actions #13

  • Target version changed from 2.10.7 to 2.10.8

Updated by Vincent MEMBRÉ almost 11 years ago Actions #14

  • Target version changed from 2.10.8 to 2.10.9

Updated by Nicolas CHARLES almost 11 years ago Actions #15

  • Target version changed from 2.10.9 to 2.11.6

Support for vzps is in branhc 2.11, so this ticket should be fixed in 2.11

Updated by Nicolas CHARLES almost 11 years ago Actions #16

  • Assignee set to Benoît PECCATTE

Updated by Vincent MEMBRÉ almost 11 years ago Actions #17

  • Target version changed from 2.11.6 to 2.11.7

Updated by Vincent MEMBRÉ almost 11 years ago Actions #18

  • Target version changed from 2.11.7 to 2.11.8

Updated by Vincent MEMBRÉ over 10 years ago Actions #19

  • Target version changed from 2.11.8 to 2.11.9

Updated by Benoît PECCATTE over 10 years ago Actions #20

  • Project changed from 34 to Rudder
  • Category set to Packaging

Updated by Vincent MEMBRÉ over 10 years ago Actions #21

  • Target version changed from 2.11.9 to 2.11.10

Updated by Vincent MEMBRÉ over 10 years ago Actions #22

  • Target version changed from 2.11.10 to 2.11.11

Updated by Vincent MEMBRÉ over 10 years ago Actions #23

  • Target version changed from 2.11.11 to 2.11.12

Updated by Vincent MEMBRÉ over 10 years ago Actions #24

  • Target version changed from 2.11.12 to 2.11.13

Updated by Vincent MEMBRÉ over 10 years ago Actions #25

  • Target version changed from 2.11.13 to 2.11.14

Updated by Vincent MEMBRÉ about 10 years ago Actions #26

  • Target version changed from 2.11.14 to 2.11.15

Updated by Vincent MEMBRÉ about 10 years ago Actions #27

  • Target version changed from 2.11.15 to 2.11.16

Updated by Vincent MEMBRÉ about 10 years ago Actions #28

  • Target version changed from 2.11.16 to 2.11.17

Updated by Vincent MEMBRÉ almost 10 years ago Actions #29

  • Target version changed from 2.11.17 to 2.11.18

Updated by Vincent MEMBRÉ almost 10 years ago Actions #30

  • Target version changed from 2.11.18 to 2.11.19

Updated by Alexis Mousset almost 10 years ago Actions #31

  • Related to Bug #7381: Process management issues on nodes hosting LXC containers added

Updated by Alexis Mousset almost 10 years ago Actions #32

  • Status changed from New to In progress
  • Assignee changed from Benoît PECCATTE to Alexis Mousset

Updated by Alexis Mousset almost 10 years ago Actions #33

  • Status changed from In progress to Pending technical review
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/879

Updated by Alexis Mousset almost 10 years ago Actions #34

  • Assignee changed from Alexis Mousset to Benoît PECCATTE

Updated by Alexis Mousset almost 10 years ago Actions #35

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

Updated by Vincent MEMBRÉ over 9 years ago Actions #36

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.11.19, 3.0.14, 3.1.8 and 3.2.1 which were released today.

Actions

Also available in: PDF Atom