Project

General

Profile

Actions

Bug #8451

closed

On Centos6.6, rsyslog is always restarted

Bug #8451: On Centos6.6, rsyslog is always restarted

Added by Nicolas CHARLES about 10 years ago. Updated about 10 years ago.

Status:
Released
Priority:
1 (highest)
Category:
System techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Testing on a Centos6.6, rsyslogd is restarted at each run
I got two edition per run, one with

2016-06-03T09:22:18+0000  verbose: /default/check_log_system/files/'/etc/rsyslog.d/rudder-agent.conf'/default/append_if_no_lines/insert_lines/'.Rudder log system
${rsyslogd_message_reduction}
if $syslogfacility-text == 'local6' and $programname startswith 'rudder' then @@relay.rudder.local:514
if $syslogfacility-text == 'local6' and $programname startswith 'rudder' then ~'[0]: Comment 'Append lines to the file if they don't already exist'
2016-06-03T09:22:18+0000     info: /default/check_log_system/files/'/etc/rsyslog.d/rudder-agent.conf'[0]: Moved '/etc/rsyslog.d/rudder-agent.conf_1464945735_Fri_Jun__3_09_22_18_2016.cf-before-edit' to repository location '/var/rudder/modified-files/_etc_rsyslog_d_rudder_agent_conf_1464945735_Fri_Jun__3_09_22_18_2016_cf_before_edit'

and one with

2016-06-03T09:22:18+0000  verbose: /default/check_log_system/files/'/etc/rsyslog.d/rudder-agent.conf'/default/append_if_no_lines/insert_lines/'.Rudder log system
$RepeatedMsgReduction off

if $syslogfacility-text == 'local6' and $programname startswith 'rudder' then @@relay.rudder.local:514
if $syslogfacility-text == 'local6' and $programname startswith 'rudder' then ~'[0]: Comment 'Append lines to the file if they don't already exist'
2016-06-03T09:22:18+0000  verbose: /default/check_log_system/files/'/etc/rsyslog.d/rudder-agent.conf'/default/append_if_no_lines/insert_lines/'.Rudder log system
$RepeatedMsgReduction off

if $syslogfacility-text == 'local6' and $programname startswith 'rudder' then @@relay.rudder.local:514


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #6421: Messages can be dropped on the node, resulting in Unknown reports on the Web InterfaceReleasedJonathan CLARKEActions

Updated by Nicolas CHARLES about 10 years ago Actions #1

  • Related to Bug #6421: Messages can be dropped on the node, resulting in Unknown reports on the Web Interface added

Updated by Jonathan CLARKE about 10 years ago Actions #2

Looks like a class/ordering issue. The first run had an unresolved variable in it, probably not set yet.

Updated by Nicolas CHARLES about 10 years ago Actions #3

indeed, its a class ordering issue, but 6421 also introduced a possibility where both rsyslog_version_not_ok and rsyslog_version_ok are defined (if version is between 5.6.5 and 5.7.1), as classes from module are global

Updated by Alexis Mousset about 10 years ago Actions #4

  • Status changed from New to In progress
  • Assignee set to Alexis Mousset

Updated by Alexis Mousset about 10 years ago Actions #5

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis Mousset to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/965

Updated by Alexis Mousset about 10 years ago Actions #6

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

Updated by Vincent MEMBRÉ about 10 years ago Actions #7

  • Target version changed from 2.11.23 to 2.11.22

Updated by Vincent MEMBRÉ about 10 years ago Actions #8

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.11.22, 3.0.17, 3.1.11 and 3.2.4 which were released today.

Actions

Also available in: PDF Atom