Bug 1579268
Summary: | Upgrade of PostgreSQL during RHV 4.1 to 4.2 upgrade fails with locale mismatch | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Peter McGowan <pmcgowan> | ||||
Component: | ovirt-engine | Assignee: | Yedidyah Bar David <didi> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Lucie Leistnerova <lleistne> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | urgent | ||||||
Version: | 4.2.3 | CC: | amashah, aperotti, bgraveno, didi, dmardones, gchakkar, lsurette, mavital, mburgerh, mkalinin, mperina, pmcgowan, pstehlik, rabraham, rbalakri, Rhev-m-bugs, sbonazzo, shipatil, sraje, srevivo, stirabos, usurse, ykaul, ylavi | ||||
Target Milestone: | ovirt-4.2.3-1 | Keywords: | ZStream | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | ovirt-engine-4.2.3.6 | Doc Type: | If docs needed, set a value | ||||
Doc Text: |
This update enables engine-setup to upgrade PostgreSQL 9.2 to 9.5, even when the locale of the 9.2 database is different from the system locale.
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2018-06-21 12:02:48 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: | |||||||
Attachments: |
|
Description
Peter McGowan
2018-05-17 09:31:02 UTC
I believe many of our customers will be affected, by the unfiltered DB check. Can you please assign urgently? I believe this is an async candidate. (In reply to Peter McGowan from comment #0) > Steps to Reproduce: > 1. Unsure. The existing RHV system was upgraded from 4.0 to 4.1, but I'm not > sure how the original locale settings were created. This is the hard part :-( I'd expected this bug to be fixed by the fix to bug 1528371 (that is, close it as duplicate of it), but apparently it's not, but not sure how to reproduce. Please attach engine-setup logs, for a start, so that we can see we passed the correct/intended options to postgresql-setup. If we did, we need to understand how to reproduce. Restoring lost needinfo Created attachment 1437871 [details]
Engine setup log
As far as I can remember, the RHV 4.0 system was a clean RHEL 7 installed on 2017-12-05, expressly to upgrade a RHEV 3.6 environment. I would have installed a fairly basic RHEL 7 installation as suggested by the upgrade docs, then performed the steps to export the old 3.6 databases and install RHV 4.0. I don't remember explicitly setting the locale but I installed the RHEL 7 system using the GUI installer, so it was probably set by anaconda when I set my timezone. Thanks. The fix for 1528371 didn't work - e.g., we didn't check lc_collate. Looking OK, now I understand. Seems like the fix for bug 1528371 for the 4.2 branch was broken. Sorry, must have been something in the way I handled the back-porting. Will fix soon. Engine upgraded with postgres database in SQL_ASCII or en_GB.UTF-8 encoding with success. verified in ovirt-engine-4.2.3.8-0.1.el7.noarch BZ<2>Jira Resync |