Bug 1509248
| Summary: | upgrade fails when postgres extension was enabled | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Lucie Leistnerova <lleistne> |
| Component: | Setup.Core | Assignee: | Simone Tiraboschi <stirabos> |
| Status: | CLOSED NOTABUG | QA Contact: | Pavel Stehlik <pstehlik> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.2.0 | CC: | bugs, didi, lleistne |
| Target Milestone: | ovirt-4.2.0 | Keywords: | Regression |
| Target Release: | --- | Flags: | rule-engine:
ovirt-4.2+
rule-engine: blocker+ |
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-11-08 11:05:11 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Lucie Leistnerova
2017-11-03 12:09:52 UTC
Is that a supported change to PG configuration? pg_stat_statements is supported postgres module for statistics and debugging from version 9.3. https://www.postgresql.org/docs/9.5/static/pgstatstatements.html If you mean support in ovirt, I don't know that. (In reply to Lucie Leistnerova from comment #2) > pg_stat_statements is supported postgres module for statistics and debugging > from version 9.3. > https://www.postgresql.org/docs/9.5/static/pgstatstatements.html > If you mean support in ovirt, I don't know that. So you've enabled a 9.3 feature on 4.1.7 (which uses 9.2), we have no idea if it's support on oVirt (generally, no, don't play with the PG configuration of oVirt)... I'm closing as NOTABUG for the moment. Please reopen if you think differently. Problem is not only with pg_stat_statements, it could be any extension enabled with shared_preload_libraries. But I cannot think of some other reasonable extension now. A workaround is to remove the extension: 1. Remove in postgresql.conf relevant lines, e.g.: shared_preload_libraries = 'pg_stat_statements' pg_stat_statements.* 2. systemctl stop ovirt-engine And probably dwh etc. if you have them 3. systemctl restart postgresql.service 4. Connect to the databases where you installed the extension, and drop it in each of them, with the following sql command: =# drop extension pg_stat_statements; 5. systemctl start ovirt-engine And dwh etc. if you stopped them. Then try engine-setup again. |