Actions
Bug #12792
closedDatasources postinst SQL does not use Rudder connection parameters
Pull Request:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Priority:
0
Name check:
Fix check:
Regression:
Description
Datasource plugin has a script which create the needed table in `rudder` database. But the script doesn't use postgresql conection parameters and assume a local database, leading to:
./rudder-pkg install-file /tmp/rudder-plugin-datasources-4.3-1.3-SNAPSHOT.rpkg Installing /tmp/rudder-plugin-datasources-4.3-1.3-SNAPSHOT.rpkg ... psql: could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? could not connect to server: Connection refused Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432?
It can be workaround by executing by hand:
psql -U rudder -h pg_host_server_ip -p pg_port_default_is5432 -d rudder -f /opt/rudder/share/plugins/datasources/datasources-schema.sql
Updated by Vincent MEMBRÉ over 6 years ago
- Assignee changed from Benoît PECCATTE to Nicolas CHARLES
Updated by Nicolas CHARLES over 6 years ago
- Status changed from New to In progress
Updated by Nicolas CHARLES over 6 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-plugins/pull/51
Updated by Rudder Quality Assistant over 6 years ago
- Status changed from Pending technical review to Discussion
- Assignee changed from Alexis Mousset to Nicolas CHARLES
Updated by Nicolas CHARLES over 6 years ago
- Status changed from Discussion to Pending release
Applied in changeset commit:rudder-plugins|d13c648ecfcde87ffc97099d067fc3898aa4e5a5.
Updated by Vincent MEMBRÉ over 6 years ago
- Status changed from Pending release to Released
Updated by Vincent MEMBRÉ over 6 years ago
- Project changed from Rudder to 54
- Category deleted (
71) - Target version changed from 4.1.13 to 432
- Priority changed from 65 to 64
Updated by Vincent MEMBRÉ about 6 years ago
- Project changed from 54 to Datasources
- Target version changed from 432 to 4.3-1.4
- Priority changed from 64 to 62
Actions