Project

General

Profile

Actions

Bug #7335

closed

check-rudder-agent silently fails if namespaces are not supported

Added by Jonathan CLARKE over 5 years ago. Updated over 5 years ago.

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

Description

Running on a Debian squeeze, /opt/rudder/bin/check-rudder-agent fails with this output from 'bash -x':

+ check_and_fix_cfengine_processes
++ ps -h -o utsns --pid 30877
+ ns=
jclarke@hostname:~$ echo $?
1

This comes from the following line:

 67   # Detect the correct ps tool to use
 68   ns=$(ps -h -o utsns --pid $$ 2>/dev/null)

I found this in 3.1.3 but it goes as far back as the 2.11 branch.

This was apparently introduced in #7189 and seems to be related to #7245, #7243.


Related issues

Related to Rudder - Bug #7189: issues with process management on physical hosting LXC containersReleasedMatthieu CERDA2015-09-12Actions
Related to Rudder - Bug #7245: check-rudder agent ps errorReleasedVincent MEMBRÉ2015-10-06Actions
Related to Rudder - Bug #7243: Check-rudder-agent fails on an error while checking processesReleasedVincent MEMBRÉ2015-10-06Actions
Actions #1

Updated by Jonathan CLARKE over 5 years ago

  • Related to Bug #7189: issues with process management on physical hosting LXC containers added
Actions #2

Updated by Jonathan CLARKE over 5 years ago

  • Related to Bug #7245: check-rudder agent ps error added
Actions #3

Updated by Jonathan CLARKE over 5 years ago

  • Related to Bug #7243: Check-rudder-agent fails on an error while checking processes added
Actions #4

Updated by Benoît PECCATTE over 5 years ago

  • Status changed from New to In progress
Actions #5

Updated by Benoît PECCATTE over 5 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Benoît PECCATTE to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/772
Actions #6

Updated by Benoît PECCATTE over 5 years ago

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

Updated by Vincent MEMBRÉ over 5 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.11.17, 3.0.12 and 3.1.5 which were released today.

Actions

Also available in: Atom PDF