Project

General

Profile

Actions

Bug #17612

closed

system techniques start rudder-relayd before setting postgresql passwords

Added by Nicolas CHARLES over 4 years ago. Updated over 4 years ago.

Status:
Released
Priority:
N/A
Category:
System techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

so password can be invalid, and error like

Jun 04 07:27:48 server cf-agent[4316]: CFEngine(agent) rudder R: @@server-roles@@log_info@@server-roles@@server-roles-directive@@0@@Check LDAP credentials@@None@@2020-06-04 05:27:47+00:00##root@#rudder-slapd has been restarted
Jun 04 07:27:48 server cf-agent[4316]: CFEngine(agent) rudder R: @@server-roles@@result_repaired@@server-roles@@server-roles-directive@@0@@Check rudder-passwords.conf@@None@@2020-06-04 05:27:47+00:00##root@#Presence and permissions of Rudder p
Jun 04 07:27:48 server rudder-relayd[4680]:  ERROR r2d2: FATAL:  password authentication failed for user "rudder" 
Jun 04 07:27:48 server rudder-relayd[4680]: FATAL:  password authentication failed for user "rudder" 
Jun 04 07:27:48 server rudder-relayd[4680]:     
Jun 04 07:27:48 server rudder-relayd[4680]:  ERROR r2d2: FATAL:  password authentication failed for user "rudder" 
Jun 04 07:27:48 server rudder-relayd[4680]: FATAL:  password authentication failed for user "rudder" 
Jun 04 07:27:48 server rudder-relayd[4680]:     
Jun 04 07:27:48 server cf-agent[4316]: CFEngine(agent) rudder R: @@server-roles@@result_repaired@@server-roles@@server-roles-directive@@0@@Check pgpass file@@None@@2020-06-04 05:27:47+00:00##root@#Presence and permissions of pgsql password fil
Jun 04 07:27:48 server rudder-relayd[4680]:  ERROR r2d2: FATAL:  password authentication failed for user "rudder" 
Jun 04 07:27:48 server rudder-relayd[4680]: FATAL:  password authentication failed for user "rudder" 
Jun 04 07:27:48 server rudder-relayd[4680]:     
Jun 04 07:27:48 server rudder-relayd[4680]:  ERROR r2d2: FATAL:  password authentication failed for user "rudder" 
Jun 04 07:27:48 server rudder-relayd[4680]: FATAL:  password authentication failed for user "rudder" 
Jun 04 07:27:48 server rudder-relayd[4680]:     
Jun 04 07:27:48 server rudder-relayd[4680]:  ERROR r2d2: FATAL:  password authentication failed for user "rudder" 
Jun 04 07:27:48 server rudder-relayd[4680]: FATAL:  password authentication failed for user "rudder" 
Jun 04 07:27:48 server rudder-relayd[4680]:     
Jun 04 07:27:48 server rudder-relayd[4680]:  ERROR r2d2: FATAL:  password authentication failed for user "rudder" 
Jun 04 07:27:48 server rudder-relayd[4680]: FATAL:  password authentication failed for user "rudder" 
Jun 04 07:27:48 server rudder-relayd[4680]:     
Jun 04 07:27:48 server rudder-relayd[4680]:  ERROR r2d2: FATAL:  password authentication failed for user "rudder" 
Jun 04 07:27:48 server rudder-relayd[4680]: FATAL:  password authentication failed for user "rudder" 
Jun 04 07:27:48 server rudder-relayd[4680]:     
Jun 04 07:27:48 server rudder-relayd[4680]:  ERROR r2d2: FATAL:  password authentication failed for user "rudder" 
Jun 04 07:27:48 server rudder-relayd[4680]: FATAL:  password authentication failed for user "rudder" 
Jun 04 07:27:48 server rudder-relayd[4680]:     
Jun 04 07:27:48 server rudder-relayd[4680]:  ERROR r2d2: FATAL:  password authentication failed for user "rudder" 
Jun 04 07:27:48 server rudder-relayd[4680]: FATAL:  password authentication failed for user "rudder" 
Jun 04 07:27:48 server rudder-relayd[4680]:     
Jun 04 07:27:48 server rudder-relayd[4680]:  ERROR r2d2: FATAL:  password authentication failed for user "rudder" 
Jun 04 07:27:48 server rudder-relayd[4680]: FATAL:  password authentication failed for user "rudder" 
Jun 04 07:27:48 server rudder-relayd[4680]:     
Jun 04 07:27:48 server cf-agent[4316]: CFEngine(agent) rudder R: @@server-roles@@result_repaired@@server-roles@@server-roles-directive@@0@@Check SQL in rudder-webapp.properties@@None@@2020-06-04 05:27:47+00:00##root@#Web interface configuratio
Jun 04 07:27:48 server cf-agent[4316]: CFEngine(agent) rudder R: @@server-roles@@result_repaired@@server-roles@@server-roles-directive@@0@@Check SQL credentials@@None@@2020-06-04 05:27:47+00:00##root@#PostgreSQL user account's password was rep
Jun 04 07:27:48 server systemd[1]: Starting Jetty Web Application Server...
Jun 04 07:27:49 server rudder-jetty.sh[4754]: Setting umask to 0007


appears in journald

this is cosmetic, as it is fixed later, but it would be great if there were no errors

it seems it happen also for rudder-jetty that is restarted during installation, for no apparent reasons

Actions #1

Updated by Nicolas CHARLES over 4 years ago

  • Project changed from 41 to Rudder
  • Category set to System techniques
Actions #2

Updated by Nicolas CHARLES over 4 years ago

  • Subject changed from system techniques start rudder-relayd before setting the password to system techniques start rudder-relayd before setting postgresql passwords
  • Description updated (diff)
Actions #3

Updated by Nicolas CHARLES over 4 years ago

  • Status changed from New to In progress
  • Assignee set to Nicolas CHARLES
Actions #4

Updated by Nicolas CHARLES over 4 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Alexis Mousset
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/1604
Actions #5

Updated by Nicolas CHARLES over 4 years ago

  • Status changed from Pending technical review to Pending release
Actions #6

Updated by Vincent MEMBRÉ over 4 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.1.0~rc3 which was released today.

Actions

Also available in: Atom PDF