Project

General

Profile

Actions

Bug #8451

closed

On Centos6.6, rsyslog is always restarted

Added by Nicolas CHARLES almost 8 years ago. Updated almost 8 years ago.

Status:
Released
Priority:
1
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
Actions #1

Updated by Nicolas CHARLES almost 8 years ago

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

Updated by Jonathan CLARKE almost 8 years ago

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

Actions #3

Updated by Nicolas CHARLES almost 8 years ago

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

Actions #4

Updated by Alexis Mousset almost 8 years ago

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

Updated by Alexis Mousset almost 8 years ago

  • 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
Actions #6

Updated by Alexis Mousset almost 8 years ago

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

Updated by Vincent MEMBRÉ almost 8 years ago

  • Target version changed from 2.11.23 to 2.11.22
Actions #8

Updated by Vincent MEMBRÉ almost 8 years ago

  • 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: Atom PDF