<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Mon, 11 Sep 2017 at 21:30 Roy Golan <<a href="mailto:rgolan@redhat.com">rgolan@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I think I solved it with <a href="https://gerrit.ovirt.org/#/c/81636/" target="_blank">https://gerrit.ovirt.org/#/c/81636/</a> so the revert can be reverted. <a class="m_-5473490040605368682GWVZpf m_-5473490040605368682gW" id="m_-5473490040605368682IloFPc-2" href="mailto:mmucha@redhat.com" target="_blank">+Martin Mucha</a> want to test it? It is working on my end.</div><div dir="ltr"><br></div></blockquote><div>sorry its this <a href="https://gerrit.ovirt.org/c/81637/2">https://gerrit.ovirt.org/c/81637/2</a> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_quote"><div dir="ltr">On Mon, 11 Sep 2017 at 18:41 Dan Kenigsberg <<a href="mailto:danken@redhat.com" target="_blank">danken@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, Sep 11, 2017 at 4:46 PM, Dusan Fodor <<a href="mailto:dfodor@redhat.com" target="_blank">dfodor@redhat.com</a>> wrote:<br>
><br>
> Hello all,<br>
> this same error still causes OST to fail.<br>
><br>
<br>
We are aware of it, but do not understand it at all.<br>
<br>
Anyway, a revert is proposed and <a href="https://gerrit.ovirt.org/#/c/81618/" rel="noreferrer" target="_blank">https://gerrit.ovirt.org/#/c/81618/</a><br>
would be merged once approved by CI.<br>
<br>
><br>
> Jobs:<br>
> <a href="http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/2466" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/2466</a><br>
><br>
> <a href="http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/2471" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/2471</a><br>
><br>
> Logs:<br>
> <a href="http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/2466/artifact/exported-artifacts/basic-suit-master-el7/test_logs/basic-suite-master/post-002_bootstrap.py/lago-basic-suite-master-engine/_var_log/ovirt-engine/engine.log" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/2466/artifact/exported-artifacts/basic-suit-master-el7/test_logs/basic-suite-master/post-002_bootstrap.py/lago-basic-suite-master-engine/_var_log/ovirt-engine/engine.log</a><br>
><br>
> <a href="http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/2471/artifact/exported-artifacts/basic-suit-master-el7/test_logs/basic-suite-master/post-002_bootstrap.py/lago-basic-suite-master-engine/_var_log/ovirt-engine/engine.log" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/2471/artifact/exported-artifacts/basic-suit-master-el7/test_logs/basic-suite-master/post-002_bootstrap.py/lago-basic-suite-master-engine/_var_log/ovirt-engine/engine.log</a><br>
><br>
><br>
> On Mon, Sep 11, 2017 at 1:22 PM, Eyal Edri <<a href="mailto:eedri@redhat.com" target="_blank">eedri@redhat.com</a>> wrote:<br>
>><br>
>><br>
>><br>
>> On Mon, Sep 11, 2017 at 1:21 PM, Dan Kenigsberg <<a href="mailto:danken@redhat.com" target="_blank">danken@redhat.com</a>> wrote:<br>
>>><br>
>>> On Mon, Sep 11, 2017 at 8:59 AM, Dan Kenigsberg <<a href="mailto:danken@redhat.com" target="_blank">danken@redhat.com</a>> wrote:<br>
>>> > On Thu, Sep 7, 2017 at 6:12 PM, Evgheni Dereveanchin<br>
>>> > <<a href="mailto:ederevea@redhat.com" target="_blank">ederevea@redhat.com</a>> wrote:<br>
>>> >> Test failed: [ import_template_from_glance ]<br>
>>> >><br>
>>> >> Link to suspected patches:<br>
>>> >> <a href="https://gerrit.ovirt.org/#/c/80450/" rel="noreferrer" target="_blank">https://gerrit.ovirt.org/#/c/80450/</a><br>
>>> ><br>
>>> > Martin, this is "core: when initializing MacPool also register in it<br>
>>> > nics in snapshots"<br>
>>> > and the error seems somewhat related to it<br>
>>><br>
>>> Gil, can you tell us which is the last Engine patch that passed OST? I<br>
>>> tried to build <a href="https://gerrit.ovirt.org/#/c/76309/" rel="noreferrer" target="_blank">https://gerrit.ovirt.org/#/c/76309/</a> but I'm guessing<br>
>>> that "ci please build" does not work on merged patches.<br>
>><br>
>><br>
>> Not sure I follow, the latest working engine should be deployed to tested repo,<br>
>> So if you'll run the manual job w/o any custom repos it should work ( if it doesn't, then it means something slipped in the tested repo and we should investigate ).<br>
>><br>
>> But anyhow, your 'ci please build' also worked, and produced RPMs on the job, so you can still try it:<br>
>><br>
>> Patch Set 26:<br>
>> Build Successful<br>
>> <a href="http://jenkins.ovirt.org/job/ovirt-engine_master_build-artifacts-on-demand-fc25-x86_64/377/" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/ovirt-engine_master_build-artifacts-on-demand-fc25-x86_64/377/</a> : SUCCESS<br>
>> <a href="http://jenkins.ovirt.org/job/ovirt-engine_master_build-artifacts-on-demand-el7-x86_64/428/" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/ovirt-engine_master_build-artifacts-on-demand-el7-x86_64/428/</a> : SUCCESS<br>
>><br>
>><br>
>>><br>
>>><br>
>>> ><br>
>>> >><br>
>>> >> Link to Job:<br>
>>> >> <a href="http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/2397/" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/2397/</a><br>
>>> >><br>
>>> >> Link to logs:<br>
>>> >> <a href="http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/2397/artifact/exported-artifacts/basic-suit-master-el7/test_logs/basic-suite-master/post-002_bootstrap.py/lago-basic-suite-master-engine/_var_log/ovirt-engine/engine.log" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/2397/artifact/exported-artifacts/basic-suit-master-el7/test_logs/basic-suite-master/post-002_bootstrap.py/lago-basic-suite-master-engine/_var_log/ovirt-engine/engine.log</a><br>
>>> >><br>
>>> >> Error snippet from log:<br>
>>> >><br>
>>> >> <error><br>
>>> >><br>
>>> >> 2017-09-07 08:21:48,657-04 INFO<br>
>>> >> [org.ovirt.engine.core.bll.AddVmTemplateCommand]<br>
>>> >> (EE-ManagedThreadFactory-engineScheduled-Thread-21) [74b41edb] Lock Acquired<br>
>>> >> to object<br>
>>> >> 'EngineLock:{exclusiveLocks='[2c2b56b5-cac6-469d-b0e0-9744309ca8c1=TEMPLATE,<br>
>>> >> CirrOS_0.3.5_for_x86_64_glance_template=TEMPLATE_NAME]', sharedLocks='[]'}'<br>
>>> >> 2017-09-07 08:21:48,675-04 INFO<br>
>>> >> [org.ovirt.engine.core.bll.AddVmTemplateCommand]<br>
>>> >> (EE-ManagedThreadFactory-engineScheduled-Thread-21) [74b41edb] Running<br>
>>> >> command: AddVmTemplateCommand internal: true. Entities affected : ID:<br>
>>> >> d279c4e9-09e7-4dd9-9eff-10b31ee2adfc Type: StoragePoolAction group<br>
>>> >> CREATE_TEMPLATE with role type USER<br>
>>> >> 2017-09-07 08:21:48,695-04 INFO<br>
>>> >> [org.ovirt.engine.core.bll.storage.disk.CreateAllTemplateDisksCommand]<br>
>>> >> (EE-ManagedThreadFactory-engineScheduled-Thread-21) [74b41edb] Running<br>
>>> >> command: CreateAllTemplateDisksCommand internal: true.<br>
>>> >> 2017-09-07 08:21:48,722-04 INFO<br>
>>> >> [org.ovirt.engine.core.utils.transaction.TransactionSupport]<br>
>>> >> (EE-ManagedThreadFactory-engineScheduled-Thread-21) [74b41edb] transaction<br>
>>> >> rolled back<br>
>>> >> 2017-09-07 08:21:48,722-04 ERROR<br>
>>> >> [org.ovirt.engine.core.bll.AddVmTemplateCommand]<br>
>>> >> (EE-ManagedThreadFactory-engineScheduled-Thread-21) [74b41edb] Command<br>
>>> >> 'org.ovirt.engine.core.bll.AddVmTemplateCommand' failed: null<br>
>>> >> 2017-09-07 08:21:48,722-04 ERROR<br>
>>> >> [org.ovirt.engine.core.bll.AddVmTemplateCommand]<br>
>>> >> (EE-ManagedThreadFactory-engineScheduled-Thread-21) [74b41edb] Exception:<br>
>>> >> java.lang.NullPointerException<br>
>>> >> at<br>
>>> >> org.ovirt.engine.core.bll.utils.VgamemVideoSettings.getVramMultiplier(VgamemVideoSettings.java:63)<br>
>>> >> [bll.jar:]<br>
>>> >> at<br>
>>> >> org.ovirt.engine.core.bll.utils.VgamemVideoSettings.getQxlVideoDeviceSettings(VgamemVideoSettings.java:40)<br>
>>> >> [bll.jar:]<br>
>>> >> at<br>
>>> >> org.ovirt.engine.core.bll.utils.VideoDeviceSettings.getVideoDeviceSettings(VideoDeviceSettings.java:34)<br>
>>> >> [bll.jar:]<br>
>>> >> at<br>
>>> >> org.ovirt.engine.core.bll.utils.VideoDeviceSettings.getVideoDeviceSpecParams(VideoDeviceSettings.java:49)<br>
>>> >> [bll.jar:]<br>
>>> >> at<br>
>>> >> org.ovirt.engine.core.bll.utils.VmDeviceUtils.getVideoDeviceSpecParams(VmDeviceUtils.java:586)<br>
>>> >> [bll.jar:]<br>
>>> >> at<br>
>>> >> org.ovirt.engine.core.bll.utils.VmDeviceUtils.copyVmDevices(VmDeviceUtils.java:1435)<br>
>>> >> [bll.jar:]<br>
>>> >> at<br>
>>> >> org.ovirt.engine.core.bll.utils.VmDeviceUtils.copyVmDevices(VmDeviceUtils.java:1559)<br>
>>> >> [bll.jar:]<br>
>>> >><br>
>>> >> ...<br>
>>> >><br>
>>> >> 2017-09-07 08:21:48,739-04 INFO<br>
>>> >> [org.ovirt.engine.core.bll.AddVmTemplateCommand]<br>
>>> >> (EE-ManagedThreadFactory-engineScheduled-Thread-21) [74b41edb] Command<br>
>>> >> [id=3d633182-982a-46f2-b4f1-27c5d04397a7]: Compensating NEW_ENTITY_ID of<br>
>>> >> org.ovirt.engine.core.common.businessentities.VmTemplate; snapshot:<br>
>>> >> 2c2b56b5-cac6-469d-b0e0-9744309ca8c1.<br>
>>> >> 2017-09-07 08:21:48,813-04 ERROR<br>
>>> >> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]<br>
>>> >> (EE-ManagedThreadFactory-engineScheduled-Thread-21) [74b41edb] EVENT_ID:<br>
>>> >> USER_ADD_VM_TEMPLATE_FAILURE(36), Failed creating Template<br>
>>> >> CirrOS_0.3.5_for_x86_64_glance_template.<br>
>>> >> 2017-09-07 08:21:48,834-04 INFO<br>
>>> >> [org.ovirt.engine.core.bll.AddVmTemplateCommand]<br>
>>> >> (EE-ManagedThreadFactory-engineScheduled-Thread-21) [74b41edb] Lock freed to<br>
>>> >> object<br>
>>> >> 'EngineLock:{exclusiveLocks='[2c2b56b5-cac6-469d-b0e0-9744309ca8c1=TEMPLATE,<br>
>>> >> CirrOS_0.3.5_for_x86_64_glance_template=TEMPLATE_NAME]', sharedLocks='[]'}'<br>
>>> >> 2017-09-07 08:21:48,848-04 DEBUG<br>
>>> >> [org.ovirt.engine.core.dal.dbbroker.CustomSQLErrorCodeSQLExceptionTranslator]<br>
>>> >> (EE-ManagedThreadFactory-engineScheduled-Thread-21) [74b41edb] Translating<br>
>>> >> SQLException with SQL state '23503', error code '0', message [ERROR: insert<br>
>>> >> or update on table "disk_vm_element" violates foreign key constraint<br>
>>> >> "fk_disk_vm_element_vm_static"<br>
>>> >> Detail: Key (vm_id)=(2c2b56b5-cac6-469d-b0e0-9744309ca8c1) is not present<br>
>>> >> in table "vm_static".<br>
>>> >> Where: SQL statement "INSERT INTO disk_vm_element (<br>
>>> >> disk_id,<br>
>>> >> vm_id,<br>
>>> >> is_boot,<br>
>>> >> pass_discard,<br>
>>> >> disk_interface,<br>
>>> >> is_using_scsi_reservation)<br>
>>> >> VALUES (<br>
>>> >> v_disk_id,<br>
>>> >> v_vm_id,<br>
>>> >> v_is_boot,<br>
>>> >> v_pass_discard,<br>
>>> >> v_disk_interface,<br>
>>> >> v_is_using_scsi_reservation)"<br>
>>> >> PL/pgSQL function insertdiskvmelement(uuid,uuid,boolean,boolean,character<br>
>>> >> varying,boolean) line 3 at SQL statement]; SQL was [{call<br>
>>> >> insertdiskvmelement(?, ?, ?, ?, ?, ?)}] for task [CallableStatementCallback]<br>
>>> >> 2017-09-07 08:21:48,850-04 INFO<br>
>>> >> [org.ovirt.engine.core.utils.transaction.TransactionSupport]<br>
>>> >> (EE-ManagedThreadFactory-engineScheduled-Thread-21) [74b41edb] transaction<br>
>>> >> rolled back<br>
>>> >> 2017-09-07 08:21:48,877-04 INFO<br>
>>> >> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]<br>
>>> >> (EE-ManagedThreadFactory-engineScheduled-Thread-21) [74b41edb] EVENT_ID:<br>
>>> >> USER_IMPORT_IMAGE_AS_TEMPLATE_FINISHED_SUCCESS(3,018), User<br>
>>> >> admin@internal-authz successfully imported image<br>
>>> >> CirrOS_0.3.5_for_x86_64_glance_template as template<br>
>>> >> CirrOS_0.3.5_for_x86_64_glance_template to domain iscsi.<br>
>>> >> 2017-09-07 08:21:48,878-04 ERROR<br>
>>> >> [org.ovirt.engine.core.bll.tasks.CommandCallbacksPoller]<br>
>>> >> (EE-ManagedThreadFactory-engineScheduled-Thread-21) [74b41edb] Failed<br>
>>> >> invoking callback end method 'onSucceeded' for command<br>
>>> >> '9c1ba73a-f6bb-4291-b1f2-d5806e38ba18' with exception<br>
>>> >> 'CallableStatementCallback; SQL [{call insertdiskvmelement(?, ?, ?, ?, ?,<br>
>>> >> ?)}]; ERROR: insert or update on table "disk_vm_element" violates foreign<br>
>>> >> key constraint "fk_disk_vm_element_vm_static"<br>
>>> >> Detail: Key (vm_id)=(2c2b56b5-cac6-469d-b0e0-9744309ca8c1) is not present<br>
>>> >> in table "vm_static".<br>
>>> >> Where: SQL statement "INSERT INTO disk_vm_element (<br>
>>> >> disk_id,<br>
>>> >> vm_id,<br>
>>> >> is_boot,<br>
>>> >> pass_discard,<br>
>>> >> disk_interface,<br>
>>> >> is_using_scsi_reservation)<br>
>>> >> VALUES (<br>
>>> >> v_disk_id,<br>
>>> >> v_vm_id,<br>
>>> >> v_is_boot,<br>
>>> >> v_pass_discard,<br>
>>> >> v_disk_interface,<br>
>>> >> v_is_using_scsi_reservation)"<br>
>>> >> PL/pgSQL function insertdiskvmelement(uuid,uuid,boolean,boolean,character<br>
>>> >> varying,boolean) line 3 at SQL statement; nested exception is<br>
>>> >> org.postgresql.util.PSQLException: ERROR: insert or update on table<br>
>>> >> "disk_vm_element" violates foreign key constraint<br>
>>> >> "fk_disk_vm_element_vm_static"<br>
>>> >> Detail: Key (vm_id)=(2c2b56b5-cac6-469d-b0e0-9744309ca8c1) is not present<br>
>>> >> in table "vm_static".<br>
>>> >> Where: SQL statement "INSERT INTO disk_vm_element (<br>
>>> >> disk_id,<br>
>>> >> vm_id,<br>
>>> >> is_boot,<br>
>>> >> pass_discard,<br>
>>> >> disk_interface,<br>
>>> >> is_using_scsi_reservation)<br>
>>> >> VALUES (<br>
>>> >> v_disk_id,<br>
>>> >> v_vm_id,<br>
>>> >> v_is_boot,<br>
>>> >> v_pass_discard,<br>
>>> >> v_disk_interface,<br>
>>> >> v_is_using_scsi_reservation)"<br>
>>> >> PL/pgSQL function insertdiskvmelement(uuid,uuid,boolean,boolean,character<br>
>>> >> varying,boolean) line 3 at SQL statement', the callback is marked for end<br>
>>> >> method retries<br>
>>> >> 2017-09-07 08:21:49,887-04 INFO<br>
>>> >> [org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback]<br>
>>> >> (EE-ManagedThreadFactory-engineScheduled-Thread-49) [74b41edb] Command<br>
>>> >> 'AddVmTemplate' id: '3d633182-982a-46f2-b4f1-27c5d04397a7' execution didn't<br>
>>> >> complete, not proceeding to perform the next operation<br>
>>> >> 2017-09-07 08:21:49,887-04 INFO<br>
>>> >> [org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback]<br>
>>> >> (EE-ManagedThreadFactory-engineScheduled-Thread-49) [74b41edb] Command<br>
>>> >> 'AddVmTemplate' id: '3d633182-982a-46f2-b4f1-27c5d04397a7' child commands<br>
>>> >> '[d168e950-e9c5-4c9b-9502-bff613d7f14d]' executions were completed, status<br>
>>> >> 'FAILED'<br>
>>> >><br>
>>> >><br>
>>> >> </error><br>
>>> >><br>
>>> >> --<br>
>>> >> Regards,<br>
>>> >> Evgheni Dereveanchin<br>
>>> >><br>
>>> >> _______________________________________________<br>
>>> >> Devel mailing list<br>
>>> >> <a href="mailto:Devel@ovirt.org" target="_blank">Devel@ovirt.org</a><br>
>>> >> <a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/devel</a><br>
>>> _______________________________________________<br>
>>> Devel mailing list<br>
>>> <a href="mailto:Devel@ovirt.org" target="_blank">Devel@ovirt.org</a><br>
>>> <a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/devel</a><br>
>>><br>
>>><br>
>><br>
>><br>
>><br>
>> --<br>
>><br>
>> Eyal edri<br>
>><br>
>><br>
>> ASSOCIATE MANAGER<br>
>><br>
>> RHV DevOps<br>
>><br>
>> EMEA VIRTUALIZATION R&D<br>
>><br>
>><br>
>> Red Hat EMEA<br>
>><br>
>> TRIED. TESTED. TRUSTED.<br>
>> phone: <a href="tel:+972%209-769-2018" value="+97297692018" target="_blank">+972-9-7692018</a><br>
>> irc: eedri (on #tlv #rhev-dev #rhev-integ)<br>
>><br>
>> _______________________________________________<br>
>> Devel mailing list<br>
>> <a href="mailto:Devel@ovirt.org" target="_blank">Devel@ovirt.org</a><br>
>> <a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/devel</a><br>
><br>
><br>
_______________________________________________<br>
Devel mailing list<br>
<a href="mailto:Devel@ovirt.org" target="_blank">Devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/devel</a><br>
</blockquote></div></div></blockquote></div></div>