Project

General

Profile

Actions

Bug #11921

closed

Agent process detection is wrong in rudder agent check on AIX

Added by Alexis Mousset almost 7 years ago. Updated over 6 years ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

This leads to restarting the agent every 5 minutes.


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #11920: Use rudder agent check in aix crontabReleasedBenoît PECCATTEActions
Actions #1

Updated by Alexis Mousset almost 7 years ago

  • Status changed from New to In progress
Actions #2

Updated by Alexis Mousset almost 7 years ago

  • Status changed from In progress to New

Count of total CFEngine processes does not work:

+ + ps -ef
+ grep /var/rudder/cfengine-community/bin/cf-execd
+ sed -e /grep/d
+ cat
CF_EXECD_RUNNING=    root 430332 209076   5 09:55:03      -  0:00 /var/rudder/cfengine-community/bin/cf-execd -F
+ + echo     root 430332 209076   5 09:55:03      -  0:00 /var/rudder/cfengine-community/bin/cf-execd -F
+ sed -e /^$/d
+ wc -l
NB_CF_EXECD_RUNNING=       1
+ [ 1 -gt 1 ]
+ + ps -ef
+ cat
+ sed -ne \%/var/rudder/cfengine-community/bin/\(cf-execd\|cf-agent\)%p
CF_PROCESS_RUNNING=
+ + echo 
+ sed -e /^$/d
+ wc -l
NB_CF_PROCESS_RUNNING=       0
Actions #3

Updated by Alexis Mousset almost 7 years ago

  • Status changed from New to Pending technical review
  • Assignee changed from Alexis Mousset to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-agent/pull/147
Actions #4

Updated by Rudder Quality Assistant almost 7 years ago

  • Assignee changed from Benoît PECCATTE to Alexis Mousset
Actions #5

Updated by Alexis Mousset almost 7 years ago

  • Status changed from Pending technical review to Pending release
Actions #6

Updated by Vincent MEMBRÉ almost 7 years ago

  • Related to Bug #11920: Use rudder agent check in aix crontab added
Actions #7

Updated by Vincent MEMBRÉ over 6 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.1.10 and 4.2.4 which were released today.

Actions

Also available in: Atom PDF