DescriptionSandro Bonazzola
2013-03-12 09:34:03 UTC
+++ This bug was initially created as a clone of Bug #912426 +++
Description of problem:
running engine-upgrade from 3.2 to 3.3 nightly with italian locale fails while checking running tasks.
Version-Release number of selected component (if applicable):
ovirt-engine-setup-3.3.0-0.1.20130217110611.20130217.gite03d604.fc18.noarch
How reproducible:
Always reproducible
Steps to Reproduce:
1. set locale to italian (it-IT.utf-8)
2. install ovirt-engine from stable repository
3. enable nightly repository
4. upgrade ovirt-engine-setup
5. run engine-upgrade
Actual results:
engine-upgrade wait for compensation that doesn't exists
Expected results:
engine-upgrade correctly detect that there aren't compensations
Additional info:
The error is caused by the parsing of psql command in engine-upgrade getCompensations: it search for "0 rows" and it is "0 righe" in italian.
psql should be run with LC_ALL=C or the parser has to be rewritten.
--- Additional comment from Sandro Bonazzola on 2013-02-20 04:39:28 EST ---
Talking with Juan Hernandez, it seems that the best solution is run psql with LC_ALL=C and rewrite the parser since searching for 0 rows match also "10 rows".
--- Additional comment from Sandro Bonazzola on 2013-02-21 09:34:21 EST ---
patch 12220 merged upstream master: http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commit;h=a5bc44f6bc4c6f138b5398b026af62cc34d00ea4
--- Additional comment from Sandro Bonazzola on 2013-02-25 03:39:58 EST ---
patch 12227 merged upstream master: http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commit;h=f4da1607762ccece3eddebf1b68d00afa3115a0d