Project

General

Profile

Actions

Bug #11253

closed

Configuration of database password fails after install

Added by Alexis Mousset over 7 years ago. Updated about 7 years ago.

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

Description

The agent does not manage to set the "rudder" psql user's password:

Every run shows:

2017-08-14T09:37:38+0000     info: /default/root_component_check/methods/'any'/default/root_password_check_psql/commands/'/usr/bin/psql -q -c "ALTER USER rudder WITH PASSWORD '91d1d580efb5'"'[0]: Executing 'no timeout,uid=26' ... '/usr/bin/psql -q -c "ALTER USER rudder WITH PASSWORD '91d1d580efb5'"'
2017-08-14T09:37:38+0000     info: /default/root_component_check/methods/'any'/default/root_password_check_psql/commands/'/usr/bin/psql -q -c "ALTER USER rudder WITH PASSWORD '91d1d580efb5'"'[0]: Completed execution of '/usr/bin/psql -q -c "ALTER USER rudder WITH PASSWORD '91d1d580efb5'"'
success  server-roles              Check SQL in rudder-weba|                    The Rudder Webapp configuration files are OK (checked SQL password)
repaired server-roles              Check SQL credentials                        The Rudder PostgreSQL user account's password has been changed

And the webapp fails to connect ("FATAL: Ident authentication failed for user "rudder"")

Actions #1

Updated by Alexis Mousset over 7 years ago

  • Description updated (diff)
Actions #2

Updated by Alexis Mousset over 7 years ago

  Installing : rsyslog-pgsql-5.8.10-10.el6_6.x86_64                       58/86
==> centos6_server:  
==> centos6_server: Initializing database: [  OK  ]
==> centos6_server: Starting postgresql service: [  OK  ]
==> centos6_server: psql: could not connect to server: No such file or directory
==> centos6_server:     Is the server running locally and accepting
==> centos6_server:     connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
==> centos6_server: sed: no input files
==> centos6_server: sed: no input files

Actions #3

Updated by Alexis Mousset over 7 years ago

Same as #10704 in 3.1

Actions #4

Updated by Alexis Mousset over 7 years ago

  • Category changed from System techniques to Packaging
  • Assignee set to Alexis Mousset
Actions #5

Updated by Alexis Mousset over 7 years ago

  • Status changed from New to In progress
Actions #6

Updated by Alexis Mousset over 7 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis Mousset to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/1376
Actions #7

Updated by Alexis Mousset over 7 years ago

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

Updated by Vincent MEMBRÉ about 7 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 3.1.23, 4.1.7 and 4.2.0~rc1 which were released today.

Actions

Also available in: Atom PDF