Bug #5098
closedrudder-init does not run all required bundles to set up a policy server (in particular rsyslog config is not correct)
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.
Updated by Lionel Le Folgoc over 10 years ago
Obviously, epic failure with ^^ stuff: this was supposed to highlight "localhost".
Updated by Jonathan CLARKE over 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).
Updated by Jonathan CLARKE over 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).
Updated by Jonathan CLARKE over 10 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset packages:commit:904f084e223541cfe1cba3cfed8bf5973b347d60.
Updated by Nicolas CHARLES over 10 years ago
Applied in changeset packages:commit:ad80dccc76b3cf63d19193625a735bd988771123.
Updated by Vincent MEMBRÉ over 10 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.
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/