Project

General

Profile

Actions

Bug #4120

closed

On rudder install, "/opt/rudder/etc/rudder-password.conf" does not exists leading to an error while installing

Added by Vincent MEMBRÉ over 10 years ago. Updated about 9 years ago.

Status:
Released
Priority:
1
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

When installing 2.8.0~rc i get this error message:

Setting up rudder-webapp (2.8.0~rc2-squeeze0) ...
INFO: Restarting syslog...Done
INFO: No usable SSL certificate detected for Rudder HTTP/S support, generating one automatically... Done
INFO: Restarting Apache HTTPd... Done
INFO: Launching script to check if a migration is needed
grep: /opt/rudder/etc/rudder-passwords.conf: No such file or directory
grep: /opt/rudder/etc/rudder-passwords.conf: No such file or directory
WARNING: LDAP credentials are missing in /opt/rudder/etc/rudder-passwords.conf. Using /opt/rudder/etc/openldap/slapd.conf as a reference instead.
ERROR: Unable to find SQL access credentials in /opt/rudder/etc/rudder-passwords.conf.
Setting up odbcinst (2.2.14p2-1) ...
dpkg: error processing rudder-webapp (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of rudder-server-root:
 rudder-server-root depends on rudder-webapp (= 2.8.0~rc2-squeeze0); however:
  Package rudder-webapp is not configured yet.
dpkg: error processing rudder-server-root (--configure):
 dependency problems - leaving unconfigured
configured to not write apport reports
configured to not write apport reports
Actions #1

Updated by Vincent MEMBRÉ over 10 years ago

  • Target version set to 2.8.0~rc2
Actions #2

Updated by Vincent MEMBRÉ over 10 years ago

  • Assignee changed from Vincent MEMBRÉ to Matthieu CERDA
Actions #3

Updated by Matthieu CERDA over 10 years ago

  • Status changed from New to In progress

On newer versions of rudder-passwords.conf, we do not set the user credentials, which breaks the new rudder-upgrade script (it would only work on upgrades from 2.4-2.7 to 2.8).

We have to remove the logic that checks the user creds and only keep the password checking.

Actions #4

Updated by Matthieu CERDA over 10 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Matthieu CERDA to Jonathan CLARKE
  • % Done changed from 0 to 100
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/175

PR available.

Actions #5

Updated by Matthieu CERDA over 10 years ago

I also found another logic flaw impacting older versions in #4121

Actions #6

Updated by Matthieu CERDA over 10 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset commit:33f88c4b69a772fc506b64293540b734ad245290.

Actions #7

Updated by Anonymous over 10 years ago

Applied in changeset commit:38e595b3149064c8c24d9e8067b09424a68cee8a.

Actions #8

Updated by Vincent MEMBRÉ over 10 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.8.0~rc2, which was released today.
Check out:

Actions #9

Updated by Benoît PECCATTE about 9 years ago

  • Project changed from 34 to Rudder
  • Category set to Packaging
Actions

Also available in: Atom PDF