Actions
Bug #14742
closedBug #6403: Postgresql misconfigured when not the default distrib package (ex: Centos 6 with Postgresql 9.3 from pgfoundry.org)
System technique don't support PostgreSQL from other source than the distribution
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:
Description
if postgresql is not the system one, the component Check postgresql boot script and Check postgresql process are failing
agent ouput is
E| compliant server-roles Check PostgreSQL configu| There is no need of specific PostgreSQL configuration on this system R: [INFO] Executing is-active-process on postgres:.* writer process using the systemctl method warning server-roles Check postgresql process postgres:.* write| Check if the service postgres:.* writer process is started using ps could not be repaired rudder info: Executing 'no timeout' ... '/bin/systemctl --no-ask-password start postgresql.service' error: Finished command related to promiser '/bin/systemctl --no-ask-password start postgresql.service' -- an error occurred, returned 5 rudder info: Completed execution of '/bin/systemctl --no-ask-password start postgresql.service' R: [INFO] Executing start on postgresql using the systemctl method error: Method 'ncf_services' failed in some repairs warning server-roles Check postgresql process postgresql Run action start on service postgresql could not be repaired error: Method 'service_action' failed in some repairs warning server-roles Check postgresql process postgresql Start service postgresql could not be repaired error: Method 'service_start' failed in some repairs warning server-roles Check postgresql process postgresql Ensure that service postgresql is running could not be repaired error: Method 'service_started_path' failed in some repairs warning server-roles Check postgresql process postgresql Ensure that service postgresql is running could not be repaired error: Method 'service_ensure_running_path' failed in some repairs E| error server-roles Check postgresql process Check postgresql process running could not be repaired error: Method 'generic_process_check_process' failed in some repairs Failed to get unit file state for postgresql.service: No such file or directory R: [INFO] Executing is-enabled on postgresql using the systemctl method warning server-roles Check postgresql boot sc| postgresql Check if service postgresql is started at boot could not be repaired rudder info: Executing 'no timeout' ... '/bin/systemctl --no-ask-password enable postgresql.service' error: Finished command related to promiser '/bin/systemctl --no-ask-password enable postgresql.service' -- an error occurred, returned 1 rudder info: Completed execution of '/bin/systemctl --no-ask-password enable postgresql.service' R: [INFO] Executing enable on postgresql using the systemctl method error: Method 'ncf_services' failed in some repairs warning server-roles Check postgresql boot sc| postgresql Ensure service postgresql is started at boot could not be repaired error: Method 'service_enabled' failed in some repairs warning server-roles Check postgresql boot sc| postgresql Ensure service postgresql is started at boot could not be repaired error: Method 'service_ensure_started_at_boot' failed in some repairs E| error server-roles Check postgresql boot sc| Check postgresql boot starting parameters could not be repaired error: Method 'generic_process_check_bootstart' failed in some repairs error: Method 'root_component_check' failed in some repairs E| n/a server-roles Send metrics to rudder-p| Sending metrics to rudder-project.org is not enabled. Skipping. R: [INFO] Executing is-active on rsyslog using the systemctl method info Common Make sure syslog service| rsyslog Check if the service rsyslog is started was correct info Common Make sure syslog service| rsyslog Ensure that service rsyslog is running was correct info Common Make sure syslog service| rsyslog Ensure that service rsyslog is running was correct
Actions