Project

General

Profile

Actions

Bug #6845

closed

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

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

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

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)

Actions #1

Updated by Vincent MEMBRÉ almost 10 years ago

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

Updated by Matthieu CERDA almost 10 years ago

  • Status changed from New to In progress
Actions #3

Updated by Matthieu CERDA almost 10 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
Actions #4

Updated by Matthieu CERDA almost 10 years ago

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

Updated by Vincent MEMBRÉ almost 10 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.

Actions #7

Updated by Vincent MEMBRÉ almost 10 years ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF