Project

General

Profile

Bug #11253

Configuration of database password fails after install

Added by Alexis MOUSSET about 1 month ago. Updated 12 days ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Target version (plugin):
Severity:
User visibility:
Effort required:
Priority:
0

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"")

Associated revisions

Revision 4c0e85be
Added by Alexis MOUSSET about 1 month ago

Fixes #11253: Configuration of database password fails after install

History

#1 Updated by Alexis MOUSSET about 1 month ago

  • Description updated (diff)

#2 Updated by Alexis MOUSSET about 1 month 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

#3 Updated by Alexis MOUSSET about 1 month ago

Same as #10704 in 3.1

#4 Updated by Alexis MOUSSET about 1 month ago

  • Category changed from Initial promises & sys tech to Packaging
  • Assignee set to Alexis MOUSSET

#5 Updated by Alexis MOUSSET about 1 month ago

  • Status changed from New to In progress

#6 Updated by Alexis MOUSSET about 1 month 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

#7 Updated by Alexis MOUSSET about 1 month ago

  • Status changed from Pending technical review to Pending release

#8 Updated by Vincent MEMBRÉ 12 days 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.

Also available in: Atom PDF