Actions
Bug #3397
closedpsql error when running rudder-init.sh
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
Nothing critical, just a bit confusing.
When running rudder-init.sh to setup a server (2.5), and specifically when this script runs cf-agent, errors from psql are visible in the output:
R: @@DistributePolicy@@log_info@@root-DP@@root-distributePolicy@@00@@reports@@None@@2013-04-06 19:30:47+01:00##root@#slapd has been restarted psql: FATAL: password authentication failed for user "rudder" FATAL: password authentication failed for user "rudder" password retrieved from file "/root/.pgpass" R: @@DistributePolicy@@result_repaired@@root-DP@@root-distributePolicy@@00@@reports@@None@@2013-04-06 19:30:47+01:00##root@#The Rudder Webapp configuration files were updated with a new SQL password R: @@DistributePolicy@@result_repaired@@root-DP@@root-distributePolicy@@00@@reports@@None@@2013-04-06 19:30:47+01:00##root@#The Rudder PostgreSQL user account's password has been changed
This is a bit confusing as it appears there is nothing fatal about this error :) In fact it looks like output from psql command used in distributePolicy/1.0/passwordCheck.cf
in bundle root_password_check_psql
when defining class psql_cant_connect
(I was able to reproduce the same errors when the password in .pgpass file is incorrect).
The command uses --output /dev/null
option, but psql prints the error to stderr anyway.
Updated by Vincent MEMBRÉ about 12 years ago
- Category set to System techniques
- Target version set to 2.4.5
Updated by Jonathan CLARKE about 12 years ago
- Status changed from New to 8
- Assignee set to Vincent MEMBRÉ
- Priority changed from N/A to 3
Updated by Jonathan CLARKE about 12 years ago
- Status changed from 8 to Pending release
- % Done changed from 0 to 100
Updated by Jonathan CLARKE about 12 years ago
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/118
Actions