Bug 1447624
Summary: | units in values causes error by changing auto-vacuum configuration defaults | ||||||
---|---|---|---|---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Lucie Leistnerova <lleistne> | ||||
Component: | Database.Core | Assignee: | Martin Perina <mperina> | ||||
Status: | CLOSED DEFERRED | QA Contact: | Lucie Leistnerova <lleistne> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 4.1.2 | CC: | bugs, lsvaty, mperina, rgolan | ||||
Target Milestone: | --- | Flags: | mperina:
ovirt-4.5?
|
||||
Target Release: | --- | ||||||
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: | 2020-04-01 14:46:57 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | 1388433 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Lucie Leistnerova
2017-05-03 10:58:57 UTC
Roy, can you look at this? I'm mostly interested in what happens with PG 9.5 9.5 Officially supports string memory units - https://www.postgresql.org/docs/9.5/static/config-setting.html. Is 9.5 for 4.2 is done? if yes I'll close currentrelease. (In reply to Roy Golan from comment #2) > 9.5 Officially supports string memory units - > https://www.postgresql.org/docs/9.5/static/config-setting.html. > > Is 9.5 for 4.2 is done? if yes I'll close currentrelease. Almost - https://gerrit.ovirt.org/#/q/topic:postgres9.5 Moving to ON_QA based on the above. I got this working for both 9.2 and 9.5 The problem is that the setup plugin for some reason gets "16MB" instead of 16384 The code here, which was there from the start is making sure to it always gets the the value through a sql query on pg_settings table: https://github.com/oVirt/ovirt-engine/blob/37c2a5ad06351c804bf8c5549610bd3c1e2ead26/packaging/setup/ovirt_engine_setup/engine_common/database.py#L1049 Verification on 9.5 and 9.2 using psql: ovirt=# select setting maintenance_work_mem from pg_settings where name = 'maintenance_work_mem'; maintenance_work_mem ---------------------- 16384 (1 row) ovirt=# show maintenance_work_mem ; maintenance_work_mem ---------------------- 16MB (1 row) It doesn't work (even when upgrading engine 4.2 to newest 4.2 version or only runing engine-setup with no new packages). engine-setup still ends with failure by fixing automatically. Steps to reproduce for ovirt 4.2: 1. change in /var/opt/rh/rh-postgresql95/lib/pgsql/data/postgresql.conf maintenance_work_mem = 16MB 2. restart service systemctl restart rh-postgresql95-postgresql 3. run engine-setup 4. on 'Fix automaticaly?' say yes Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release. Created attachment 1342144 [details]
setup log
We didn't get to this bug for more than 2 years, and it's not being considered for the upcoming 4.4. It's unlikely that it will ever be addressed so I'm suggesting to close it. If you feel this needs to be addressed and want to work on it please remove cond nack and target accordingly. Closing old bug. Please reopen if still relevant/you want to work on it. |