<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body style="font-family: sans-serif; font-size: 16px;" text="#000000"
bgcolor="#FFFFFF">
<div id="QCMcontainer"
style="font-family:sans-serif;font-size:16px;">I confirm it is a
language issue<br>
<br>
export LC_ALL=C ; engine-upgrade<br>
<br>
fixes the problem and does the upgrade work<br>
<br>
I suggest to include the language setting inside the upgrade
script before it starts the process <br>
<br>
Thank you<br>
<br>
<span style="color:#000000; font-family:sans-serif;
font-size:12px; font-weight:normal" class="headerSpan">
<div class="moz-cite-prefix">Il 28/05/2013 07:58, Sandro
Bonazzola ha scritto:<br>
</div>
</span>
<blockquote style="border-left: 2px solid rgb(0, 153, 0) !
important; border-right: 2px solid rgb(0, 153, 0) ! important;
padding: 0px 15px; margin: 8px 2px; font-size: medium;"
cite="mid:51A4478D.9020706@redhat.com" type="cite"><!--[if !IE]><DIV style="border-left: 2px solid #009900; border-right: 2px solid #009900; padding: 0px 15px; margin: 2px 0px;"><![endif]-->
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Il 28/05/2013 07:54, Sandro
Bonazzola ha scritto:<br>
</div>
<blockquote style="border-left: 2px solid #009900 !important;
border-right: 2px solid #009900 !important; padding: 0px 15px
0px 15px; margin: 8px 2px;"
cite="mid:51A44681.3080309@redhat.com" type="cite"><!--[if !IE]><DIV style="border-left: 2px solid #009900; border-right: 2px solid #009900; padding: 0px 15px; margin: 2px 0px;"><![endif]-->
<pre wrap="">Hi Alessandro,
try LC_ALL=C engine-upgrade, it should work</pre>
<!--[if !IE]></DIV><![endif]--></blockquote>
<br>
export LC_ALL=C ; engine-upgrade<br>
<br>
<blockquote style="border-left: 2px solid #009900 !important;
border-right: 2px solid #009900 !important; padding: 0px 15px
0px 15px; margin: 8px 2px;"
cite="mid:51A44681.3080309@redhat.com" type="cite"><!--[if !IE]><DIV style="border-left: 2px solid #009900; border-right: 2px solid #009900; padding: 0px 15px; margin: 2px 0px;"><![endif]-->
<pre wrap="">Il 27/05/2013 18:26, Alessandro Bianchi ha scritto:
</pre>
<blockquote style="border-left: 2px solid #009900 !important;
border-right: 2px solid #009900 !important; padding: 0px
15px 0px 15px; margin: 8px 2px;" type="cite"><!--[if !IE]><DIV style="border-left: 2px solid #009900; border-right: 2px solid #009900; padding: 0px 15px; margin: 2px 0px;"><![endif]-->
<pre wrap="">Hi all
I tried to run engine-upgrade on Fedora 18 but upgrade hangs stating for
fictious tasks as follows:
2013-05-27 18:12:45::DEBUG::common_utils::434::root:: Executing command -->
'/usr/bin/psql -h localhost -p 5432 -U engine -d engine -c select command_type,
entity_type from business_entity_snapshot;'
2013-05-27 18:12:45::DEBUG::common_utils::472::root:: output = command_type |
entity_type
--------------+-------------
(0 righe)
2013-05-27 18:12:45::DEBUG::common_utils::473::root:: stderr =
2013-05-27 18:12:45::DEBUG::common_utils::474::root:: retcode = 0
2013-05-27 18:12:45::DEBUG::engine-upgrade::863::root:: Still waiting for system
tasks to be cleared.
2013-05-27 18:12:45::DEBUG::common_utils::994::root:: asking user:
Info: The following tasks have been found running in the system:
*System Tasks:**
**
** command_type | entity_type **
**--------------+-------------**
**(0 righe)* <----- this means 0 rows (system uses italian language)
[ May 27 18:12:45 ] Would you like to proceed and try to stop tasks automatically?
(Answering 'no' will stop the upgrade)? (yes|no):
2013-05-27 18:13:05::DEBUG::common_utils::998::root:: user answered: yes
2013-05-27 18:13:05::DEBUG::engine-upgrade::882::root:: Retrying to clear system
tasks. System will try to clear tasks during the next 3 minutes.
2013-05-27 18:16:05::DEBUG::common_utils::481::root:: running sql query 'select
* from fn_db_get_async_tasks();' on db server: 'localhost'.
2013-05-27 18:16:05::DEBUG::common_utils::434::root:: Executing command -->
'/usr/bin/psql -h localhost -p 5432 -U engine -d engine -c select * from
fn_db_get_async_tasks();'
2013-05-27 18:16:05::DEBUG::common_utils::472::root:: output =
dc_id | dc_name | spm_host_id | spm_host_name | task_count
--------------------------------------+---------+-------------+---------------+------------
0b6c934f-de25-4de6-b389-cf62b7a9f674 | | | | 1
(1 riga)
2013-05-27 18:16:05::DEBUG::common_utils::473::root:: stderr =
2013-05-27 18:16:05::DEBUG::common_utils::474::root:: retcode = 0
2013-05-27 18:16:05::DEBUG::common_utils::481::root:: running sql query 'select
command_type, entity_type from business_entity_snapshot;' on db server: 'localhost'.
2013-05-27 18:16:05::DEBUG::common_utils::434::root:: Executing command -->
'/usr/bin/psql -h localhost -p 5432 -U engine -d engine -c select command_type,
entity_type from business_entity_snapshot;'
2013-05-27 18:16:05::DEBUG::common_utils::472::root:: output = command_type |
entity_type
--------------+-------------
*(0 righe)*
Here is the relevamt rpm list:
ovirt-engine-tools-3.2.1-1.fc18.noarch
ovirt-engine-3.2.1-1.fc18.noarch
ovirt-log-collector-3.2.2-1.fc18.noarch
ovirt-engine-dbscripts-3.2.1-1.fc18.noarch
ovirt-engine-sdk-3.2.0.11-1.fc18.noarch
ovirt-engine-setup-plugin-allinone-3.2.2-1.1.fc18.noarch
ovirt-release-fedora-5-3.noarch
ovirt-engine-userportal-3.2.1-1.fc18.noarch
ovirt-engine-restapi-3.2.1-1.fc18.noarch
ovirt-iso-uploader-3.2.2-1.fc18.noarch
ovirt-engine-webadmin-portal-3.2.1-1.fc18.noarch
ovirt-host-deploy-1.0.2-1.fc18.noarch
ovirt-engine-backend-3.2.1-1.fc18.noarch
ovirt-engine-cli-3.2.0.12-1.fc18.noarch
ovirt-host-deploy-offline-1.0.2-1.fc18.noarch
ovirt-image-uploader-3.2.2-1.fc18.noarch
ovirt-engine-genericapi-3.2.1-1.fc18.noarch
ovirt-engine-setup-3.2.2-1.1.fc18.noarch
ovirt-host-deploy-java-1.0.2-1.fc18.noarch
How may I skip/fix this control to let upgrade proceed?
Is there someone else experimenting this "0 rows" detection?
Any advice is higly welcome!
Thank you
Best regards
Alessandro Bianchi
_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a>
</pre>
<!--[if !IE]></DIV><![endif]--></blockquote>
<pre wrap=""></pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a>
</pre>
<!--[if !IE]></DIV><![endif]--></blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com</pre>
<br>
-- <br>
Il messaggio è stato analizzato alla ricerca di virus o
<br>
contenuti pericolosi da
<strong><a moz-do-not-send="true" href="http://www.skynet.it/">SkyNet
Srl></a></strong>, ed è
<br>
risultato non infetto.<br>
<br>
This message has been checked for virus or dangerous content
<br>
by <strong><a moz-do-not-send="true"
href="http://www.skynet.it/">SkyNet SRL</a></strong> and
seems to be clean.
<!--[if !IE]></DIV><![endif]--></blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="CONTENT-TYPE" content="text/html;
charset=ISO-8859-1">
<title></title>
<meta name="generator" content="Bluefish 2.0.3">
<meta name="author" content="Alessandro Bianchi">
<meta name="CREATED" content="20100306;9474300">
<meta name="CHANGEDBY" content="Alessandro ">
<meta name="CHANGED" content="20100306;10212100">
<style type="text/css">
        <!--
                P { font-family: "Arial", "Helvetica", sans-serif; font-size: 10pt }
                P.nome { color: #ff8000; font-family: "Arial", "Helvetica", sans-serif; font-size: 12pt; font-weight: bold; text-align: center }
                P.indirizzo { color: #0084d1; font-family: "Arial", "Helvetica", sans-serif; font-size: 10pt; font-weight: bold; line-height: 0.48cm; text-align: center }
                P.info { color: #b3b3b3; font-family: "Arial", "Helvetica", sans-serif; font-size: 9pt }
                A:link { color: #005dff; text-decoration: none }
                A:visited { color: #005dff; text-decoration: none }
        -->
        </style>
<p class="nome">SkyNet SRL</p>
<p class="indirizzo">Via Maggiate 67/a - 28021 Borgomanero (NO)
- tel.
+39 0322-836487/834765 - fax +39 0322-836608</p>
<p align="CENTER"><a href="http://www.skynet.it/">http://www.skynet.it</a></p>
<p class="indirizzo">Autorizzazione Ministeriale n.197</p>
<p class="info">Le informazioni contenute in questo messaggio
sono
riservate e confidenziali ed è vietata la diffusione in
qualunque
modo eseguita.<br>
Qualora Lei non fosse la persona a cui il presente
messaggio è destinato, La invitiamo ad eliminarlo ed a
distruggerlo
non divulgandolo, dandocene gentilmente comunicazione. <br>
Per
qualsiasi informazione si prega di contattare <a class="moz-txt-link-abbreviated" href="mailto:info@skynet.it">info@skynet.it</a>
(e-mail dell'azienda). Rif. D.L. 196/2003</p>
</div>
<br>
</div>
</body>
</html>