Project

General

Profile

Actions

Bug #4728

closed

check-rudder-agent is not added to the crontab on AIX systems

Added by Vincent MEMBRÉ about 10 years ago. Updated almost 10 years ago.

Status:
Rejected
Priority:
1
Assignee:
Matthieu CERDA
Category:
System integration
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

check-rudder-agent script is not run using a cronjob on AIX.

We should add a cronjob to use in AIX.


Related issues 3 (0 open3 closed)

Related to Rudder - User story #4595: Support for AIX (agent only)ReleasedJonathan CLARKE2014-03-06Actions
Related to Rudder - Bug #4865: check_rudder_agent is not compatible with AIXReleasedJonathan CLARKE2014-05-18Actions
Related to Rudder - Bug #4907: The Techniques should use user crontabs on AIX instead of cron.dReleasedNicolas CHARLES2014-05-30Actions
Actions #1

Updated by François ARMAND almost 10 years ago

  • Status changed from New to 8
  • Assignee set to Matthieu CERDA

This bug is blocking for 2.10.2.

Actions #2

Updated by Matthieu CERDA almost 10 years ago

  • Subject changed from check-rudder-agent is missing on AIX agent to check-rudder-agent is not added to the crontab on AIX systems
Actions #3

Updated by Matthieu CERDA almost 10 years ago

  • Status changed from 8 to Discussion
  • Assignee changed from Matthieu CERDA to Jonathan CLARKE

AIX does not provide a /etc/cron.d mechanism, and no /etc/crontab too actually. The only thing usable is the /var/spool/cron/crontabs directory, containing the user crontabs. Problem is, we have no exclusivity here, the root crontab can contain something already and we can only use root.

We haven't a lot of possibilities here:
  • Do not use cron on AIX and trust startsvc / inittab (the "AIX" way)
  • Hack into /var/spool/cron/crontabs/root to add our check-rudder-agent script, with a lot of care

What should we do ?

Actions #4

Updated by Jonathan CLARKE almost 10 years ago

  • Assignee changed from Jonathan CLARKE to Matthieu CERDA

We don't really have a choice: let's add a line to the crintab.

But since we don't have historical upgrades to manage on AIX, just make it the simplest possible : if [ - X check Rudder agent then run check Rudder agent. Simple one liner.

Actions #5

Updated by Nicolas CHARLES almost 10 years ago

  • Status changed from Discussion to Rejected

This has been solved in http://www.rudder-project.org/redmine/issues/4907, rejecting it as duplicate

Actions

Also available in: Atom PDF