Project

General

Profile

Bug #11921

Agent process detection is wrong in rudder agent check on AIX

Added by Alexis MOUSSET 6 months ago. Updated 4 months ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
Target version (plugin):
Severity:
User visibility:
Effort required:
Priority:
0

Description

This leads to restarting the agent every 5 minutes.


Related issues

Related to Rudder - Bug #11920: Use rudder agent check in aix crontabReleased

Associated revisions

Revision 1d16c69b (diff)
Added by Alexis MOUSSET 6 months ago

Fixes #11921: Agent process detection is wrong in rudder agent check on AIX

History

#1 Updated by Alexis MOUSSET 6 months ago

  • Status changed from New to In progress

#2 Updated by Alexis MOUSSET 6 months 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

#3 Updated by Alexis MOUSSET 6 months 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

#4 Updated by Normation Quality Assistant 6 months ago

  • Assignee changed from Benoît PECCATTE to Alexis MOUSSET

#5 Updated by Alexis MOUSSET 6 months ago

  • Status changed from Pending technical review to Pending release

#6 Updated by Vincent MEMBRÉ 4 months ago

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

#7 Updated by Vincent MEMBRÉ 4 months 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.

Also available in: Atom PDF