Project

General

Profile

Actions

Bug #9858

closed

When upgrading Rudder, we get mails from cron saying "ok: Rudder agent check ran without errors."

Added by Nicolas CHARLES over 7 years ago. Updated about 7 years ago.

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

Description

When we upgrade rudder-agent, the file /etc/cron.d/rudder-agent-uuid is created (see http://www.rudder-project.org/redmine/issues/3930 and http://www.rudder-project.org/redmine/issues/3925 )
This file now calls check_rudder_agent, and it became verbose in 4.0

So during upgrade, we create this cron file ( https://github.com/Normation/rudder-packages/blob/master/rudder-agent/SOURCES/rudder-agent-postinst ) without the > /dev/null, and the file is deleted afterward by techniques

We should probably:
  • in 4.0 redirect to > /dev/null in the cron
  • remove this cron in version 4.1 (cause of the file was in 2.7.2 ...)

Related issues 2 (0 open2 closed)

Related to Rudder - Architecture #3930: Rudder-agent cron file now use check-rudder-agent script (/opt/rudder/bin/check-rudder-agent)ReleasedMatthieu CERDA2013-09-17Actions
Related to Rudder - Bug #7911: Add an output to all Rudder commandsReleasedBenoît PECCATTE2016-05-20Actions
Actions #1

Updated by Nicolas CHARLES over 7 years ago

  • Related to Architecture #3930: Rudder-agent cron file now use check-rudder-agent script (/opt/rudder/bin/check-rudder-agent) added
Actions #2

Updated by Nicolas CHARLES over 7 years ago

Actions #3

Updated by Nicolas CHARLES over 7 years ago

Actions #4

Updated by Nicolas CHARLES over 7 years ago

  • Related to Bug #7911: Add an output to all Rudder commands added
Actions #5

Updated by Alexandre Anriot about 7 years ago

Thanks for the ticket Nicolas.

Nicolas CHARLES wrote:

When we upgrade rudder-agent, the file /etc/cron.d/rudder-agent-uuid is created (see http://www.rudder-project.org/redmine/issues/3930 and http://www.rudder-project.org/redmine/issues/3925 )
This file now calls check_rudder_agent, and it became verbose in 4.0

So during upgrade, we create this cron file ( https://github.com/Normation/rudder-packages/blob/master/rudder-agent/SOURCES/rudder-agent-postinst ) without the > /dev/null, and the file is deleted afterward by techniques

We should probably:
  • in 4.0 redirect to > /dev/null in the cron
  • remove this cron in version 4.1 (cause of the file was in 2.7.2 ...)
Actions #6

Updated by Benoît PECCATTE about 7 years ago

  • Status changed from New to In progress
  • Assignee set to Benoît PECCATTE
Actions #7

Updated by Benoît PECCATTE about 7 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Benoît PECCATTE to Alexis Mousset
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/1162
Actions #8

Updated by Benoît PECCATTE about 7 years ago

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

Updated by Vincent MEMBRÉ about 7 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.0.3 and 4.1.0~beta3 which were released today.

Actions

Also available in: Atom PDF