Bug #5495
closedupgrade on 2.11 does not end correctly
Description
An error occurs during rudder-server-root upgradewhen you upgrade between two 2.11 versions:
It occurs during the check of postgresql of rudder, and only in non distributed mode.
INFO: Checking PostgreSQL service status............PostgreSQL service verification failed after 10 tries. Aborting the migration. Please restart the Rudder service, and start the migration script again: # /etc/init.d/rudder-server-root restart # /opt/rudder/bin/rudder-upgrade dpkg: error processing rudder-webapp (--configure): subprocess installed post-installation script returned error exit status 1
command ran by upgrade process is:
This does not work because postgresql is configured to listen on localhost only on rudder server
We get that hostname because we get the hostname of the sql server from '/var/rudder/cfengine-community/inputs/rudder-server-roles.conf'
previously we lookedrudder-db:server.rudder.local for that value in /opt/rudder/etc/rudder-web.properties (which contain localhost).
My guess is that we should look if rudder-reports is installed on the local machine to define that variable and lese look to server-roles
Updated by Jonathan CLARKE about 12 years ago
- Status changed from New to Pending technical review
- Assignee changed from Jonathan CLARKE to Benoît PECCATTE
- Pull Request set to https://github.com/Normation/rudder-packages/pull/477
PR available for review: https://github.com/Normation/rudder-packages/pull/477
Updated by Jonathan CLARKE about 12 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset packages:commit:763dbab0fa020afbec450a825cbc671f57e38b1d.
Updated by Benoît PECCATTE about 12 years ago
Applied in changeset packages:commit:fb14fb5f5ee5f99efd512217263a9b36bdd835c3.
Updated by Vincent MEMBRÉ almost 12 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 2.11.3, which was released on the 25/09/2014.
- Announcement
- Changelog
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/