<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 1, 2015 at 7:29 PM, wodel youchi <span dir="ltr"><<a href="mailto:wodel.youchi@gmail.com" target="_blank">wodel.youchi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>Hi,<br><br></div>After removing the -x from the sql files, the installation terminated successfully, but ...<br><br></div>I had a problem with vdsm, and error about permission denied with KVM module, so I restarted my machine.<br></div>After the reboot the ovirt-ha-agent stops complaining about the vm.conf file not present in /var/rum/ovirt-hosted-engine-ha<br><br></div>And the mount command doesn't show any iscsi mount, the disk is detected via fdisk -l<br></div>the lvs command returns all logical volumes created.<br><br></div>I think it's a mount problem, but since there are many lv, I don't how to mount them manually.<br></div></blockquote><div><br></div><div>Do you have something mounted under <span style="color:rgb(53,53,53);font-family:sans-serif;white-space:pre-wrap">/rhev/data-center/mnt ?</span></div><div><span style="color:rgb(53,53,53);font-family:sans-serif;white-space:pre-wrap">If not you probably hit this bug: </span><font color="#353535" face="sans-serif"><span style="white-space:pre-wrap"><a href="https://bugzilla.redhat.com/1258465">https://bugzilla.redhat.com/1258465</a></span></font></div><div><span style="color:rgb(53,53,53);font-family:sans-serif;white-space:pre-wrap"><br></span></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">
<div>
<span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">LV VG Attr LSize Pool Origin Data% Meta% Move</span><br> Log Cpy%Sync Convert <br> 3b894e23-429d-43bf-b6cd-6427a387799a 5445bbee-bb3a-4e6d-9614-a0c9378fe078 -wi-ao---- 128,00m <br> <br> be78c0fd-52bf-445a-9555-64061029c2d9 5445bbee-bb3a-4e6d-9614-a0c9378fe078 -wi-a----- 1,00g <br> <br> c9f74ffc-2eba-40a9-9c1c-f3b6d8e12657 5445bbee-bb3a-4e6d-9614-a0c9378fe078 -wi-a----- 40,00g <br> <br> feede664-5754-4ca2-aeb3-af7aff32ed42 5445bbee-bb3a-4e6d-9614-a0c9378fe078 -wi-a----- 128,00m <br> <br> ids 5445bbee-bb3a-4e6d-9614-a0c9378fe078 -wi-ao---- 128,00m <br> <br> inbox 5445bbee-bb3a-4e6d-9614-a0c9378fe078 -wi-a----- 128,00m <br> <br> leases 5445bbee-bb3a-4e6d-9614-a0c9378fe078 -wi-a----- 2,00g <br> <br> master 5445bbee-bb3a-4e6d-9614-a0c9378fe078 -wi-a----- 1,00g <br> <br> metadata 5445bbee-bb3a-4e6d-9614-a0c9378fe078 -wi-a----- 512,00m <br> <br> outbox 5445bbee-bb3a-4e6d-9614-a0c9378fe078 -wi-a----- 128,00m <br></span></div>
<br><div><br><br></div></div><div class=""><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2015-09-01 16:57 GMT+01:00 Simone Tiraboschi <span dir="ltr"><<a href="mailto:stirabos@redhat.com" target="_blank">stirabos@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span>On Tue, Sep 1, 2015 at 5:08 PM, wodel youchi <span dir="ltr"><<a href="mailto:wodel.youchi@gmail.com" target="_blank">wodel.youchi@gmail.com</a>></span> wrote:<br></span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><span><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 'Misc configuration': Command '/usr/share/ovirt-engine/dbscripts/schema.sh' 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 '/var/lib/ovirt-engine/setup/answers/20150901153939-setup.conf'
</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 '/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0000_config.sql'...<br>Running upgrade shell script '/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0010_custom.sql'...<br>Running upgrade shell script '/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0020_add_materialized_views_table.sql'...<br>Running upgrade shell script '/usr/share/ovirt-engine/dbscripts/upgrade/pre_upgrade/0030_materialized_views_extensions.sql'...<br></span>Running upgrade shell script '/usr/share/ovirt-engine/dbscripts/pre_upgrade/0040_extend_installed_by_column.sql'...<div><div><br><br>2015-09-01 15:39:35 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema plugin.execute:941 execute-output: ['/usr/share/ovirt-engine/dbscripts/schema.sh', '-s', 'localhost', '-p', '5432', '-u', 'engine', '-d', 'engine', '-l', '/var/log<b>/ovirt-engine/setup/ovirt-engine-setup-20150901153202-w0ds25.log', '-c', 'apply'] 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)'<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 = '03010250' and current = true);'<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()'<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('materialized_views', 'min_refresh_rate_in_sec', 'int default 0');'<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);'<br>2015-09-01 15:39:35 DEBUG otopi.context context._executeMethod:156 method exception<br>Traceback (most recent call last):<br> File "/usr/lib/python2.7/site-packages/otopi/context.py", line 146, in _executeMethod<br> method['method']()<br> File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/db/schema.py", line 291, in _misc<br> oenginecons.EngineDBEnv.PGPASS_FILE<br> File "/usr/lib/python2.7/site-packages/otopi/plugin.py", line 946, in execute<br> command=args[0],<br>RuntimeError: Command '/usr/share/ovirt-engine/dbscripts/schema.sh' failed to execute<br>2015-09-01 15:39:35 ERROR otopi.context context._executeMethod:165 Failed to execute stage 'Misc configuration': Command '/usr/share/ovirt-engine/dbscripts/schema.sh' failed to execute<br>2015-09-01 15:39:35 DEBUG otopi.transaction transaction.abort:134 aborting 'DNF Transaction'<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" target="_blank">dnfpackager.info:94</a> DNF Performing DNF transaction rollback<br></div></div></div></div></blockquote><div><br></div><div><br></div><div>It was an issue with package building: all the sql files where executable and so the issue.</div><div>We fixed it and tomorrow build should be OK. If you prefer to continue right now simply recursively remove the x attribute on each sql file under /usr/share/ovirt-engine/dbscripts</div><div><div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">2015-09-01 13:04 GMT+01:00 Simone Tiraboschi <span dir="ltr"><<a href="mailto:stirabos@redhat.com" target="_blank">stirabos@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Tue, Sep 1, 2015 at 12:40 PM, Yedidyah Bar David <span dir="ltr"><<a href="mailto:didi@redhat.com" target="_blank">didi@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span>On Tue, Sep 1, 2015 at 1:25 PM, wodel youchi <<a href="mailto:wodel.youchi@gmail.com" target="_blank">wodel.youchi@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
</span><span>> I am using the repo of the 3.6 version<br>
> (<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>
><br>
> I installed the ovirt-hosted-engine-setup with it's dependencies,and the<br>
> ovirt-hosted-engine-ha package is one of them.<br>
><br>
> Correction: The problem with this version<br>
> ovirt-hosted-engine-ha-1.3.0-0.0.master.20150819082341.20150819082338.git183a4ff.fc22.noarch.rpm,<br>
> is that after the installation is done, the service ovirt-ha-agent crashes<br>
> after being started, see the bug :<br>
><br>
> <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>
><br>
> A new version was produced, I downloaded it manually a few days ago, this is<br>
> it :<br>
> ovirt-hosted-engine-ha-1.3.0-0.0.master.20150820064645.20150820064642.git02529e0.fc22.noarch.rpm<br>
><br>
> This one did correct the problem, but it's not present anymore on the<br>
> repository.<br>
<br>
</span>Was this on ovirt-3.6-pre?<br>
<br>
ovirt-3.6-snapshot has a newer version.<br>
<span><br>
><br>
> For Simone: yes I did added an NFS4 data domain, but no success so far, no<br>
> VM engine present.<br>
><br>
> Regards.<br>
><br>
> 2015-09-01 11:15 GMT+01:00 Simone Tiraboschi <<a href="mailto:stirabos@redhat.com" target="_blank">stirabos@redhat.com</a>>:<br>
>><br>
>><br>
>><br>
>> On Tue, Sep 1, 2015 at 11:46 AM, Yedidyah Bar David <<a href="mailto:didi@redhat.com" target="_blank">didi@redhat.com</a>><br>
>> wrote:<br>
>>><br>
>>> On Tue, Sep 1, 2015 at 11:25 AM, wodel youchi <<a href="mailto:wodel.youchi@gmail.com" target="_blank">wodel.youchi@gmail.com</a>><br>
>>> wrote:<br>
>>> > Hi,<br>
>>> ><br>
>>> > Another test of ovirt hosted-engine on FC22 using ovirt 3.6 Beta3.<br>
>>> > VM engine is also a FC22<br>
>>> ><br>
>>> > Problem:<br>
>>> > - No VM engine on webui<br>
>>><br>
>>> This is still not supported, see/follow [1].<br>
>>><br>
>>> [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>
>><br>
>><br>
>> ? :-)<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'll try to reproduce verifying another patch</div><div><div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
I see that all patches there are merged, but bug is in POST.<br>
<div><div><br>
>><br>
>> Did you also try adding an additional storage domain for regular VMs?<br>
>> engine-VM will be shown on the engine only when you add at least one<br>
>> additional storage domain for regulars VM and the whole datacenter goes up:<br>
>> <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>
>><br>
>><br>
>>><br>
>>> > Test Environment<br>
>>> > Just two machines:<br>
>>> ><br>
>>> > 1 - Machine 1 used as storage :<br>
>>> > - iscsi target with a raw file for the VM engine storage<br>
>>> > - NFS4 for other data domains<br>
>>> ><br>
>>> > 2 - Machine 2 used as hypervisor<br>
>>> ><br>
>>> ><br>
>>> > The installation went without problem, but as always, the VM engine is<br>
>>> > not<br>
>>> > present on the webui.<br>
>>> ><br>
>>> ><br>
>>> > PS:<br>
>>> > 1- I gave the VM engine just 2Gb of memory since I don't have too much<br>
>>> > RAM<br>
>>> > on hypervisor, could that be the cause of the problem?<br>
>>><br>
>>> Shouldn't be related<br>
>>><br>
>>> > 2- This version of<br>
>>> ><br>
>>> > ovirt-hosted-engine-ha-1.3.0-0.0.master.20150424113926.20150424113923.git7c14f4c.fc22.noarch.rpm<br>
>>> > package is causing the ovirt-ha-agent to crash, it was replaced with<br>
>>> > another<br>
>>> > which I still have<br>
>>> ><br>
>>> > ovirt-hosted-engine-ha-1.3.0-0.0.master.20150820064645.20150820064642.git02529e0.fc22.noarch.rpm,<br>
>>> > but it's not present on the repository, I had to update the package<br>
>>> > manually<br>
>>> > at the end of ovirt-hosted-engine-setup installation.<br>
>>><br>
>>> Not sure I follow.<br>
>>><br>
>>> What exact repo was used?<br>
>>><br>
>>> hosted-engine --deploy does not update/install packages for you (as<br>
>>> does engine-setup),<br>
>>> it's up to you to make sure what you want/need is installed prior to<br>
>>> running it.<br>
>>><br>
>>> Best,<br>
>>> --<br>
>>> Didi<br>
>>> _______________________________________________<br>
>>> Users mailing list<br>
>>> <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
>>> <a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
>><br>
>><br>
><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></div></div>
</blockquote></div></div></div><br></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div>