Project

General

Profile

Actions

Bug #5098

closed

rudder-init does not run all required bundles to set up a policy server (in particular rsyslog config is not correct)

Added by Lionel Le Folgoc almost 10 years ago. Updated over 9 years ago.

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

Description

Hi again,

Still with the 4 components architecture (cf. #5080, #5087 and #5089).

On server-4 (rudder-webapp), the rsyslog-pgsql configuration file (/etc/rsyslog.d/rudder.conf) seems incorrect:
(line 64)
:ompgsql:localhost,rudder,rudder,rudder;RudderReportsFormat
^^^^^^^^

I think this should be the hostname of rudder-db (where postgresql is).

Thanks.

Actions #1

Updated by Lionel Le Folgoc almost 10 years ago

Obviously, epic failure with ^^ stuff: this was supposed to highlight "localhost".

Actions #2

Updated by Jonathan CLARKE almost 10 years ago

  • Category set to System integration
  • Status changed from New to Discussion
  • Assignee set to Lionel Le Folgoc
  • Priority changed from N/A to 2
  • Target version set to 2.11.0~beta2

Lionel, did you change your uuid.hive file to contain "root" (see #5089)? If not, that would explain this.

For information, the default rsyslog file used at installation contains "localhost". This gets overwritten by CFEngine (via the initial-promises) on it's first run. However, that only happens on host's with uuid=root (or the role rudder-front).

Actions #3

Updated by Jonathan CLARKE almost 10 years ago

  • Subject changed from Incorrect rsyslog-pgsql config to rudder-init does not run all required bundles to set up a policy server (in particular rsyslog config is not correct)
  • Status changed from Discussion to Pending technical review
  • Assignee changed from Lionel Le Folgoc to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/396

I've found a way to enforce that the rsyslog config gets defined ASAP - rudder-init selectively runs a few bundles from the initial-promises at the end, to set up basic system services. I'm going to add a couple of bundles here to ensure that the rsyslog config is set (and the other basics).

Actions #4

Updated by Jonathan CLARKE almost 10 years ago

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

Applied in changeset packages:commit:904f084e223541cfe1cba3cfed8bf5973b347d60.

Actions #5

Updated by Nicolas CHARLES almost 10 years ago

Applied in changeset packages:commit:ad80dccc76b3cf63d19193625a735bd988771123.

Actions #6

Updated by Vincent MEMBRÉ over 9 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.11.0~beta2 (announcement , changelog), which were released today.

Actions

Also available in: Atom PDF