Project

General

Profile

Bug #6845

Nodes using syslogd coninue to report to their old server when changing their policy server

Added by Vincent MEMBRÉ over 5 years ago. Updated over 5 years ago.

Status:
Released
Priority:
2
Category:
System techniques
Target version:
Severity:
User visibility:
Effort required:
Priority:

Description

The title says it all:

Let say i have:

  • a Server
  • a node linked to the server and based on Centos5
  • a relay

/etc/syslog.conf looks like this:

local6.notice     @server

If i switch my node to be under the relay, the syslog conf will chenge to:

local6.notice     @server
local6.notice     @relay

Making the node reporting bith to the server and the relay, having 2 reports at the end on the Server

We should change the deletion condition in promises.cf (ligne 768):

some ideas:

  • Replacing both delete lines by: "^local6(\..*)?\s+(?!${syslogd}).*" (more complex but more like we want to achieve
  • Delete all lines stating by local6

In both cases keep the adding line

This can be impreved by only editing a section of the file between two tags (so we don't delete other local6 attempts)

#1

Updated by Vincent MEMBRÉ over 5 years ago

  • Project changed from Rudder tools to Rudder
  • Category set to System techniques
  • Target version set to 2.10.15
#2

Updated by Matthieu CERDA over 5 years ago

  • Status changed from New to In progress
#3

Updated by Matthieu CERDA over 5 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Matthieu CERDA to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/706
#4

Updated by Matthieu CERDA over 5 years ago

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

Updated by Vincent MEMBRÉ over 5 years ago

This bug has been fixed in Rudder 2.10.15, 2.11.12, 3.0.7 and 3.1.0 which were released today.

#7

Updated by Vincent MEMBRÉ over 5 years ago

  • Status changed from Pending release to Released

Also available in: Atom PDF