<div dir="ltr"><div><div><div>Hi again,<br><br></div>I tried with the snapshot repository, but I am having this error while executing engine-setup<br><br>






<div>
<span style="font-family:monospace"><span style="color:rgb(84,255,84);background-color:rgb(255,255,255)">[ INFO  ]</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"> Creating/refreshing Engine database schema
</span><br><span style="color:rgb(178,24,24);background-color:rgb(255,255,255)">[ ERROR ]</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"> Failed to execute stage &#39;Misc configuration&#39;: Command &#39;/usr/share/ovirt-engine/dbscripts/schema.sh&#39; failed to execu</span><br>te
<br><span style="color:rgb(84,255,84);background-color:rgb(255,255,255)">[ INFO  ]</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"> DNF Performing DNF transaction rollback
</span><br><span style="color:rgb(84,255,84);background-color:rgb(255,255,255)">[ INFO  ]</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"> Rolling back database schema
</span><br><span style="color:rgb(84,255,84);background-color:rgb(255,255,255)">[ INFO  ]</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"> Clearing Engine database engine
</span><br><span style="color:rgb(178,24,24);background-color:rgb(255,255,255)">[ ERROR ]</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"> Engine database rollback failed: must be owner of schema pg_catalog  </span><br><span style="color:rgb(84,255,84);background-color:rgb(255,255,255)">[ INFO  ]</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"> Stage: Clean up
</span><br>          Log file is located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20150901153202-w0ds25.log
<br><span style="color:rgb(84,255,84);background-color:rgb(255,255,255)">[ INFO  ]</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"> Generating answer file &#39;/var/lib/ovirt-engine/setup/answers/20150901153939-setup.conf&#39;
</span><br><span style="color:rgb(84,255,84);background-color:rgb(255,255,255)">[ INFO  ]</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"> Stage: Pre-termination
</span><br><span style="color:rgb(84,255,84);background-color:rgb(255,255,255)">[ INFO  ]</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"> Stage: Termination
</span><br><span style="color:rgb(178,24,24);background-color:rgb(255,255,255)">[ ERROR ]</span><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)"> Execution of setup failed</span><br></span></div>


<br><br><br></div>and in the deployement log I have these errors<br><br>Saving custom users permissions on database objects...<br>upgrade script detected a change in Config, View or Stored Procedure...<br>Running upgrade shell script &#39;/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0000_config.sql&#39;...<br>Running upgrade shell script &#39;/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0010_custom.sql&#39;...<br>Running upgrade shell script &#39;/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0020_add_materialized_views_table.sql&#39;...<br>Running upgrade shell script &#39;/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0030_materialized_views_extensions.sql&#39;...<br>Running upgrade shell script &#39;/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0040_extend_installed_by_column.sql&#39;...<br><br>2015-09-01 15:39:35 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema plugin.execute:941 execute-output: [&#39;/usr/share/ovirt-engine/dbscripts/schema.sh&#39;, &#39;-s&#39;, &#39;localhost&#39;, &#39;-p&#39;, &#39;5432&#39;, &#39;-u&#39;, &#39;engine&#39;, &#39;-d&#39;, &#39;engine&#39;, &#39;-l&#39;, &#39;/var/log<b>/ovirt-engine/setup/ovirt-engine-setup-20150901153202-w0ds25.log&#39;, &#39;-c&#39;, &#39;apply&#39;] stderr:<br>/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0000_config.sql: ligne 1: /bin : is a directory<br>/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0000_config.sql: ligne 2: DATABASE : command not found<br>/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0000_config.sql: ligne 4: This : command not found<br>/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0000_config.sql: ligne 5: The : command not found<br>/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0000_config.sql: ligne 6: Add : command not found<br>/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0000_config.sql: ligne 7: syntax error near the symbole unexpected « ( »<br><br>/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0000_config.sql: ligne 7: `    Update section (w/o overriding current value)&#39;<br>/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0010_custom.sql: ligne 1: /bin : is a directory<br>/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0010_custom.sql: ligne 2: Currently : command not found<br>/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0010_custom.sql: ligne 3: This : command not found<br>/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0010_custom.sql: ligne 4: This : command not found<br>/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0010_custom.sql: ligne 5: So, : command not found<br>/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0010_custom.sql: ligne 6: Since : command not found<br>/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0010_custom.sql: ligne 7: bin/ : is a directory<br>/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0010_custom.sql: ligne 9: update : command not found<br>/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0010_custom.sql: ligne 10: </b><b><b>syntax error near the symbole unexpected</b> « ( »<br>/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0010_custom.sql: ligne 10: `and exists(select 1 from schema_version where version = &#39;03010250&#39; and current = true);&#39;<br>/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0020_add_materialized_views_table.sql: ligne 1: -- : command not found<br>/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0020_add_materialized_views_table.sql: ligne 2: </b><b><b>syntax error near the symbole unexpected</b> « ( »</b><br>/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0020_add_materialized_views_table.sql: ligne 2: `CREATE FUNCTION __temp__0030_add_materialized_views_table()&#39;<br>/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0030_materialized_views_extensions.sql: ligne 1: -- : commande introuvable<br>/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0030_materialized_views_extensions.sql: ligne 2: erreur de syntaxe près du symbole inattendu « ( »<br>/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0030_materialized_views_extensions.sql: ligne 2: `select fn_db_add_column(&#39;materialized_views&#39;, &#39;min_refresh_rate_in_sec&#39;, &#39;int default 0&#39;);&#39;<br>/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0040_extend_installed_by_column.sql: ligne 1: erreur de syntaxe près du symbole inattendu « ( »<br>/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0040_extend_installed_by_column.sql: ligne 1: `ALTER TABLE schema_version ALTER COLUMN installed_by TYPE varchar(63);&#39;<br>2015-09-01 15:39:35 DEBUG otopi.context context._executeMethod:156 method exception<br>Traceback (most recent call last):<br>  File &quot;/usr/lib/python2.7/site-packages/otopi/context.py&quot;, line 146, in _executeMethod<br>    method[&#39;method&#39;]()<br>  File &quot;/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/db/schema.py&quot;, line 291, in _misc<br>    oenginecons.EngineDBEnv.PGPASS_FILE<br>  File &quot;/usr/lib/python2.7/site-packages/otopi/plugin.py&quot;, line 946, in execute<br>    command=args[0],<br>RuntimeError: Command &#39;/usr/share/ovirt-engine/dbscripts/schema.sh&#39; failed to execute<br>2015-09-01 15:39:35 ERROR otopi.context context._executeMethod:165 Failed to execute stage &#39;Misc configuration&#39;: Command &#39;/usr/share/ovirt-engine/dbscripts/schema.sh&#39; failed to execute<br>2015-09-01 15:39:35 DEBUG otopi.transaction transaction.abort:134 aborting &#39;DNF Transaction&#39;<br>2015-09-01 15:39:35 DEBUG otopi.plugins.otopi.packagers.dnfpackager dnfpackager.verbose:90 DNF Closing transaction with rollback<br>2015-09-01 15:39:35 INFO otopi.plugins.otopi.packagers.dnfpackager <a href="http://dnfpackager.info:94">dnfpackager.info:94</a> DNF Performing DNF transaction rollback<br><br></div>Regards<br><div class="gmail_extra"><br><div class="gmail_quote">2015-09-01 13:04 GMT+01:00 Simone Tiraboschi <span dir="ltr">&lt;<a href="mailto:stirabos@redhat.com" target="_blank">stirabos@redhat.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Tue, Sep 1, 2015 at 12:40 PM, Yedidyah Bar David <span dir="ltr">&lt;<a href="mailto:didi@redhat.com" target="_blank">didi@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>On Tue, Sep 1, 2015 at 1:25 PM, wodel youchi &lt;<a href="mailto:wodel.youchi@gmail.com" target="_blank">wodel.youchi@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
</span><span>&gt; I am using the repo of the 3.6 version<br>
&gt; (<a href="http://plain.resources.ovirt.org/pub/ovirt-3.6-pre/rpm/fc22/" rel="noreferrer" target="_blank">http://plain.resources.ovirt.org/pub/ovirt-3.6-pre/rpm/fc22/</a>)<br>
&gt;<br>
&gt; I installed the ovirt-hosted-engine-setup with it&#39;s dependencies,and the<br>
&gt; ovirt-hosted-engine-ha package is one of them.<br>
&gt;<br>
&gt; Correction: The problem with this version<br>
&gt; ovirt-hosted-engine-ha-1.3.0-0.0.master.20150819082341.20150819082338.git183a4ff.fc22.noarch.rpm,<br>
&gt; is that after the installation is done, the service ovirt-ha-agent crashes<br>
&gt; after being started, see the bug :<br>
&gt;<br>
&gt; <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1254745" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1254745</a><br>
&gt;<br>
&gt; A new version was produced, I downloaded it manually a few days ago, this is<br>
&gt; it :<br>
&gt; ovirt-hosted-engine-ha-1.3.0-0.0.master.20150820064645.20150820064642.git02529e0.fc22.noarch.rpm<br>
&gt;<br>
&gt; This one did correct the problem, but it&#39;s not present anymore on the<br>
&gt; repository.<br>
<br>
</span>Was this on ovirt-3.6-pre?<br>
<br>
ovirt-3.6-snapshot has a newer version.<br>
<span><br>
&gt;<br>
&gt; For Simone: yes I did added an NFS4 data domain, but no success so far, no<br>
&gt; VM engine present.<br>
&gt;<br>
&gt; Regards.<br>
&gt;<br>
&gt; 2015-09-01 11:15 GMT+01:00 Simone Tiraboschi &lt;<a href="mailto:stirabos@redhat.com" target="_blank">stirabos@redhat.com</a>&gt;:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Tue, Sep 1, 2015 at 11:46 AM, Yedidyah Bar David &lt;<a href="mailto:didi@redhat.com" target="_blank">didi@redhat.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Tue, Sep 1, 2015 at 11:25 AM, wodel youchi &lt;<a href="mailto:wodel.youchi@gmail.com" target="_blank">wodel.youchi@gmail.com</a>&gt;<br>
&gt;&gt;&gt; wrote:<br>
&gt;&gt;&gt; &gt; Hi,<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; Another test of ovirt hosted-engine on FC22 using ovirt 3.6 Beta3.<br>
&gt;&gt;&gt; &gt; VM engine is also a FC22<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; Problem:<br>
&gt;&gt;&gt; &gt; - No VM engine on webui<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; This is still not supported, see/follow [1].<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; [1] <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1224889" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1224889</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ? :-)<br>
<br>
</span>Sorry :-(<br>
<br>
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1160094" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1160094</a></blockquote><div><br></div></div></div><div>This is just about editing the VM from the web GUI but in order to be able to edit the engine VM you should be able at least to find the engine VM in the engine as it was also in 3.5</div><div><br></div><div>I&#39;ll try to reproduce verifying another patch</div><div><div class="h5"><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I see that all patches there are merged, but bug is in POST.<br>
<div><div><br>
&gt;&gt;<br>
&gt;&gt; Did you also try adding an additional storage domain for regular VMs?<br>
&gt;&gt; engine-VM will be shown on the engine only when you add at least one<br>
&gt;&gt; additional storage domain for regulars VM and the whole datacenter goes up:<br>
&gt;&gt; <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1222010#c1" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1222010#c1</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt; Test Environment<br>
&gt;&gt;&gt; &gt; Just two machines:<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; 1 - Machine 1 used as storage :<br>
&gt;&gt;&gt; &gt;    - iscsi target with a raw file for the VM engine storage<br>
&gt;&gt;&gt; &gt;    - NFS4 for other data domains<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; 2 - Machine 2 used as hypervisor<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; The installation went without problem, but as always, the VM engine is<br>
&gt;&gt;&gt; &gt; not<br>
&gt;&gt;&gt; &gt; present on the webui.<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; PS:<br>
&gt;&gt;&gt; &gt; 1- I gave the VM engine just 2Gb of memory since I don&#39;t have too much<br>
&gt;&gt;&gt; &gt; RAM<br>
&gt;&gt;&gt; &gt; on hypervisor, could that be the cause of the problem?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Shouldn&#39;t be related<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt; 2- This version of<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; ovirt-hosted-engine-ha-1.3.0-0.0.master.20150424113926.20150424113923.git7c14f4c.fc22.noarch.rpm<br>
&gt;&gt;&gt; &gt; package is causing the ovirt-ha-agent to crash, it was replaced with<br>
&gt;&gt;&gt; &gt; another<br>
&gt;&gt;&gt; &gt; which I still have<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; ovirt-hosted-engine-ha-1.3.0-0.0.master.20150820064645.20150820064642.git02529e0.fc22.noarch.rpm,<br>
&gt;&gt;&gt; &gt; but it&#39;s not present on the repository, I had to update the package<br>
&gt;&gt;&gt; &gt; manually<br>
&gt;&gt;&gt; &gt; at the end of ovirt-hosted-engine-setup installation.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Not sure I follow.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; What exact repo was used?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; hosted-engine --deploy does not update/install packages for you (as<br>
&gt;&gt;&gt; does engine-setup),<br>
&gt;&gt;&gt; it&#39;s up to you to make sure what you want/need is installed prior to<br>
&gt;&gt;&gt; running it.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Best,<br>
&gt;&gt;&gt; --<br>
&gt;&gt;&gt; Didi<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; Users mailing list<br>
&gt;&gt;&gt; <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
&gt;&gt;&gt; <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div></div><span><font color="#888888">--<br>
Didi<br>
</font></span></blockquote></div></div></div><br></div></div>
</blockquote></div><br></div></div>