<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 11, 2017 at 9:47 PM, Roy Golan <span dir="ltr">&lt;<a href="mailto:rgolan@redhat.com" target="_blank">rgolan@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Mon, 11 Sep 2017 at 22:34 Allon Mureinik &lt;<a href="mailto:amureini@redhat.com" target="_blank">amureini@redhat.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:monospace,monospace">That was more a less the my guess from the brief look I took at the stacktrace.</div><div style="font-family:monospace,monospace"><br></div><div style="font-family:monospace,monospace">I don&#39;t want to +2 a patch in the network area, but I&#39;d suggest merging this patch (which seems right regardless of the recent failure), and see if it solves the OST issue.</div></div><div class="gmail_extra"><br></div></blockquote><div>OST will run with the network patch reverted, so I need to bring it into the Q again (revert the reverted :))</div><div><br></div><div>On my side, with the MacPool changes it works, imported vms from domains, started vm, basic editing.</div><div><br></div><div>To add to that, CoCoAsyncTaskHelper is another @Singleton EJB, but if I&#39;m not mistaken here it should be available _before_ the Backend in order to keep compensation running? in case we have a complete action that needs to during compensation.</div><div>Maybe this is a reason for MacPool to NOT depend on Backend, so compensation would complete?</div><div>Needs a second look.<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_extra"><div class="gmail_quote"></div></div></blockquote></div></div></blockquote><div><br><div style="font-family:arial,helvetica,sans-serif;display:inline" class="gmail_default">​Ravi/Moti, could you please comment?<br>​</div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_extra"><div class="gmail_quote">On Mon, Sep 11, 2017 at 9:47 PM, Roy Golan <span dir="ltr">&lt;<a href="mailto:rgolan@redhat.com" target="_blank">rgolan@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><br><div class="gmail_quote"><span><div dir="ltr">On Mon, 11 Sep 2017 at 21:30 Roy Golan &lt;<a href="mailto:rgolan@redhat.com" target="_blank">rgolan@redhat.com</a>&gt; 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/<wbr>81636/</a>  so the revert can be reverted. <a class="m_4051881901373801606m_-8428633830963963233m_8948180421808593260m_-5473490040605368682GWVZpf m_4051881901373801606m_-8428633830963963233m_8948180421808593260m_-5473490040605368682gW" id="m_4051881901373801606m_-8428633830963963233m_8948180421808593260m_-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></span><div>sorry its this <a href="https://gerrit.ovirt.org/c/81637/2" target="_blank">https://gerrit.ovirt.org/c/<wbr>81637/2</a> <br></div><div><div class="m_4051881901373801606m_-8428633830963963233h5"><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 &lt;<a href="mailto:danken@redhat.com" target="_blank">danken@redhat.com</a>&gt; 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 &lt;<a href="mailto:dfodor@redhat.com" target="_blank">dfodor@redhat.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hello all,<br>
&gt; this same error still causes OST to fail.<br>
&gt;<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/<wbr>81618/</a><br>
would be merged once approved by CI.<br>
<br>
&gt;<br>
&gt; Jobs:<br>
&gt; <a href="http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/2466" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt-master_change-queue-<wbr>tester/2466</a><br>
&gt;<br>
&gt; <a href="http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/2471" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt-master_change-queue-<wbr>tester/2471</a><br>
&gt;<br>
&gt; Logs:<br>
&gt; <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/<wbr>ovirt-master_change-queue-<wbr>tester/2466/artifact/exported-<wbr>artifacts/basic-suit-master-<wbr>el7/test_logs/basic-suite-<wbr>master/post-002_bootstrap.py/<wbr>lago-basic-suite-master-<wbr>engine/_var_log/ovirt-engine/<wbr>engine.log</a><br>
&gt;<br>
&gt; <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/<wbr>ovirt-master_change-queue-<wbr>tester/2471/artifact/exported-<wbr>artifacts/basic-suit-master-<wbr>el7/test_logs/basic-suite-<wbr>master/post-002_bootstrap.py/<wbr>lago-basic-suite-master-<wbr>engine/_var_log/ovirt-engine/<wbr>engine.log</a><br>
&gt;<br>
&gt;<br>
&gt; On Mon, Sep 11, 2017 at 1:22 PM, Eyal Edri &lt;<a href="mailto:eedri@redhat.com" target="_blank">eedri@redhat.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Mon, Sep 11, 2017 at 1:21 PM, Dan Kenigsberg &lt;<a href="mailto:danken@redhat.com" target="_blank">danken@redhat.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Mon, Sep 11, 2017 at 8:59 AM, Dan Kenigsberg &lt;<a href="mailto:danken@redhat.com" target="_blank">danken@redhat.com</a>&gt; wrote:<br>
&gt;&gt;&gt; &gt; On Thu, Sep 7, 2017 at 6:12 PM, Evgheni Dereveanchin<br>
&gt;&gt;&gt; &gt; &lt;<a href="mailto:ederevea@redhat.com" target="_blank">ederevea@redhat.com</a>&gt; wrote:<br>
&gt;&gt;&gt; &gt;&gt; Test failed: [ import_template_from_glance ]<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; Link to suspected patches:<br>
&gt;&gt;&gt; &gt;&gt; <a href="https://gerrit.ovirt.org/#/c/80450/" rel="noreferrer" target="_blank">https://gerrit.ovirt.org/#/c/<wbr>80450/</a><br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; Martin, this is &quot;core: when initializing MacPool also register in it<br>
&gt;&gt;&gt; &gt; nics in snapshots&quot;<br>
&gt;&gt;&gt; &gt; and the error seems somewhat related to it<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Gil, can you tell us which is the last Engine patch that passed OST? I<br>
&gt;&gt;&gt; tried to build <a href="https://gerrit.ovirt.org/#/c/76309/" rel="noreferrer" target="_blank">https://gerrit.ovirt.org/#/c/<wbr>76309/</a> but I&#39;m guessing<br>
&gt;&gt;&gt; that &quot;ci please build&quot; does not work on merged patches.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Not sure I follow, the latest working engine should be deployed to tested repo,<br>
&gt;&gt; So if you&#39;ll run the manual job w/o any custom repos it should work ( if it doesn&#39;t, then it means something slipped in the tested repo and we should investigate ).<br>
&gt;&gt;<br>
&gt;&gt; But anyhow, your &#39;ci please build&#39; also worked, and produced RPMs on the job, so you can still try it:<br>
&gt;&gt;<br>
&gt;&gt; Patch Set 26:<br>
&gt;&gt; Build Successful<br>
&gt;&gt; <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/<wbr>ovirt-engine_master_build-<wbr>artifacts-on-demand-fc25-x86_<wbr>64/377/</a> : SUCCESS<br>
&gt;&gt; <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/<wbr>ovirt-engine_master_build-<wbr>artifacts-on-demand-el7-x86_<wbr>64/428/</a> : SUCCESS<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; Link to Job:<br>
&gt;&gt;&gt; &gt;&gt; <a href="http://jenkins.ovirt.org/job/ovirt-master_change-queue-tester/2397/" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>ovirt-master_change-queue-<wbr>tester/2397/</a><br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; Link to logs:<br>
&gt;&gt;&gt; &gt;&gt; <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/<wbr>ovirt-master_change-queue-<wbr>tester/2397/artifact/exported-<wbr>artifacts/basic-suit-master-<wbr>el7/test_logs/basic-suite-<wbr>master/post-002_bootstrap.py/<wbr>lago-basic-suite-master-<wbr>engine/_var_log/ovirt-engine/<wbr>engine.log</a><br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; Error snippet from log:<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; &lt;error&gt;<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; 2017-09-07 08:21:48,657-04 INFO<br>
&gt;&gt;&gt; &gt;&gt; [org.ovirt.engine.core.bll.<wbr>AddVmTemplateCommand]<br>
&gt;&gt;&gt; &gt;&gt; (EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-21) [74b41edb] Lock Acquired<br>
&gt;&gt;&gt; &gt;&gt; to object<br>
&gt;&gt;&gt; &gt;&gt; &#39;EngineLock:{exclusiveLocks=&#39;[<wbr>2c2b56b5-cac6-469d-b0e0-<wbr>9744309ca8c1=TEMPLATE,<br>
&gt;&gt;&gt; &gt;&gt; CirrOS_0.3.5_for_x86_64_<wbr>glance_template=TEMPLATE_NAME]<wbr>&#39;, sharedLocks=&#39;[]&#39;}&#39;<br>
&gt;&gt;&gt; &gt;&gt; 2017-09-07 08:21:48,675-04 INFO<br>
&gt;&gt;&gt; &gt;&gt; [org.ovirt.engine.core.bll.<wbr>AddVmTemplateCommand]<br>
&gt;&gt;&gt; &gt;&gt; (EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-21) [74b41edb] Running<br>
&gt;&gt;&gt; &gt;&gt; command: AddVmTemplateCommand internal: true. Entities affected :  ID:<br>
&gt;&gt;&gt; &gt;&gt; d279c4e9-09e7-4dd9-9eff-<wbr>10b31ee2adfc Type: StoragePoolAction group<br>
&gt;&gt;&gt; &gt;&gt; CREATE_TEMPLATE with role type USER<br>
&gt;&gt;&gt; &gt;&gt; 2017-09-07 08:21:48,695-04 INFO<br>
&gt;&gt;&gt; &gt;&gt; [org.ovirt.engine.core.bll.<wbr>storage.disk.<wbr>CreateAllTemplateDisksCommand]<br>
&gt;&gt;&gt; &gt;&gt; (EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-21) [74b41edb] Running<br>
&gt;&gt;&gt; &gt;&gt; command: CreateAllTemplateDisksCommand internal: true.<br>
&gt;&gt;&gt; &gt;&gt; 2017-09-07 08:21:48,722-04 INFO<br>
&gt;&gt;&gt; &gt;&gt; [org.ovirt.engine.core.utils.<wbr>transaction.<wbr>TransactionSupport]<br>
&gt;&gt;&gt; &gt;&gt; (EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-21) [74b41edb] transaction<br>
&gt;&gt;&gt; &gt;&gt; rolled back<br>
&gt;&gt;&gt; &gt;&gt; 2017-09-07 08:21:48,722-04 ERROR<br>
&gt;&gt;&gt; &gt;&gt; [org.ovirt.engine.core.bll.<wbr>AddVmTemplateCommand]<br>
&gt;&gt;&gt; &gt;&gt; (EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-21) [74b41edb] Command<br>
&gt;&gt;&gt; &gt;&gt; &#39;org.ovirt.engine.core.bll.<wbr>AddVmTemplateCommand&#39; failed: null<br>
&gt;&gt;&gt; &gt;&gt; 2017-09-07 08:21:48,722-04 ERROR<br>
&gt;&gt;&gt; &gt;&gt; [org.ovirt.engine.core.bll.<wbr>AddVmTemplateCommand]<br>
&gt;&gt;&gt; &gt;&gt; (EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-21) [74b41edb] Exception:<br>
&gt;&gt;&gt; &gt;&gt; java.lang.NullPointerException<br>
&gt;&gt;&gt; &gt;&gt; at<br>
&gt;&gt;&gt; &gt;&gt; org.ovirt.engine.core.bll.<wbr>utils.VgamemVideoSettings.<wbr>getVramMultiplier(<wbr>VgamemVideoSettings.java:63)<br>
&gt;&gt;&gt; &gt;&gt; [bll.jar:]<br>
&gt;&gt;&gt; &gt;&gt; at<br>
&gt;&gt;&gt; &gt;&gt; org.ovirt.engine.core.bll.<wbr>utils.VgamemVideoSettings.<wbr>getQxlVideoDeviceSettings(<wbr>VgamemVideoSettings.java:40)<br>
&gt;&gt;&gt; &gt;&gt; [bll.jar:]<br>
&gt;&gt;&gt; &gt;&gt; at<br>
&gt;&gt;&gt; &gt;&gt; org.ovirt.engine.core.bll.<wbr>utils.VideoDeviceSettings.<wbr>getVideoDeviceSettings(<wbr>VideoDeviceSettings.java:34)<br>
&gt;&gt;&gt; &gt;&gt; [bll.jar:]<br>
&gt;&gt;&gt; &gt;&gt; at<br>
&gt;&gt;&gt; &gt;&gt; org.ovirt.engine.core.bll.<wbr>utils.VideoDeviceSettings.<wbr>getVideoDeviceSpecParams(<wbr>VideoDeviceSettings.java:49)<br>
&gt;&gt;&gt; &gt;&gt; [bll.jar:]<br>
&gt;&gt;&gt; &gt;&gt; at<br>
&gt;&gt;&gt; &gt;&gt; org.ovirt.engine.core.bll.<wbr>utils.VmDeviceUtils.<wbr>getVideoDeviceSpecParams(<wbr>VmDeviceUtils.java:586)<br>
&gt;&gt;&gt; &gt;&gt; [bll.jar:]<br>
&gt;&gt;&gt; &gt;&gt; at<br>
&gt;&gt;&gt; &gt;&gt; org.ovirt.engine.core.bll.<wbr>utils.VmDeviceUtils.<wbr>copyVmDevices(VmDeviceUtils.<wbr>java:1435)<br>
&gt;&gt;&gt; &gt;&gt; [bll.jar:]<br>
&gt;&gt;&gt; &gt;&gt; at<br>
&gt;&gt;&gt; &gt;&gt; org.ovirt.engine.core.bll.<wbr>utils.VmDeviceUtils.<wbr>copyVmDevices(VmDeviceUtils.<wbr>java:1559)<br>
&gt;&gt;&gt; &gt;&gt; [bll.jar:]<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; ...<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; 2017-09-07 08:21:48,739-04 INFO<br>
&gt;&gt;&gt; &gt;&gt; [org.ovirt.engine.core.bll.<wbr>AddVmTemplateCommand]<br>
&gt;&gt;&gt; &gt;&gt; (EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-21) [74b41edb] Command<br>
&gt;&gt;&gt; &gt;&gt; [id=3d633182-982a-46f2-b4f1-<wbr>27c5d04397a7]: Compensating NEW_ENTITY_ID of<br>
&gt;&gt;&gt; &gt;&gt; org.ovirt.engine.core.common.<wbr>businessentities.VmTemplate; snapshot:<br>
&gt;&gt;&gt; &gt;&gt; 2c2b56b5-cac6-469d-b0e0-<wbr>9744309ca8c1.<br>
&gt;&gt;&gt; &gt;&gt; 2017-09-07 08:21:48,813-04 ERROR<br>
&gt;&gt;&gt; &gt;&gt; [org.ovirt.engine.core.dal.<wbr>dbbroker.auditloghandling.<wbr>AuditLogDirector]<br>
&gt;&gt;&gt; &gt;&gt; (EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-21) [74b41edb] EVENT_ID:<br>
&gt;&gt;&gt; &gt;&gt; USER_ADD_VM_TEMPLATE_FAILURE(<wbr>36), Failed creating Template<br>
&gt;&gt;&gt; &gt;&gt; CirrOS_0.3.5_for_x86_64_<wbr>glance_template.<br>
&gt;&gt;&gt; &gt;&gt; 2017-09-07 08:21:48,834-04 INFO<br>
&gt;&gt;&gt; &gt;&gt; [org.ovirt.engine.core.bll.<wbr>AddVmTemplateCommand]<br>
&gt;&gt;&gt; &gt;&gt; (EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-21) [74b41edb] Lock freed to<br>
&gt;&gt;&gt; &gt;&gt; object<br>
&gt;&gt;&gt; &gt;&gt; &#39;EngineLock:{exclusiveLocks=&#39;[<wbr>2c2b56b5-cac6-469d-b0e0-<wbr>9744309ca8c1=TEMPLATE,<br>
&gt;&gt;&gt; &gt;&gt; CirrOS_0.3.5_for_x86_64_<wbr>glance_template=TEMPLATE_NAME]<wbr>&#39;, sharedLocks=&#39;[]&#39;}&#39;<br>
&gt;&gt;&gt; &gt;&gt; 2017-09-07 08:21:48,848-04 DEBUG<br>
&gt;&gt;&gt; &gt;&gt; [org.ovirt.engine.core.dal.<wbr>dbbroker.<wbr>CustomSQLErrorCodeSQLException<wbr>Translator]<br>
&gt;&gt;&gt; &gt;&gt; (EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-21) [74b41edb] Translating<br>
&gt;&gt;&gt; &gt;&gt; SQLException with SQL state &#39;23503&#39;, error code &#39;0&#39;, message [ERROR: insert<br>
&gt;&gt;&gt; &gt;&gt; or update on table &quot;disk_vm_element&quot; violates foreign key constraint<br>
&gt;&gt;&gt; &gt;&gt; &quot;fk_disk_vm_element_vm_static&quot;<br>
&gt;&gt;&gt; &gt;&gt;   Detail: Key (vm_id)=(2c2b56b5-cac6-469d-<wbr>b0e0-9744309ca8c1) is not present<br>
&gt;&gt;&gt; &gt;&gt; in table &quot;vm_static&quot;.<br>
&gt;&gt;&gt; &gt;&gt;   Where: SQL statement &quot;INSERT INTO disk_vm_element (<br>
&gt;&gt;&gt; &gt;&gt;         disk_id,<br>
&gt;&gt;&gt; &gt;&gt;         vm_id,<br>
&gt;&gt;&gt; &gt;&gt;         is_boot,<br>
&gt;&gt;&gt; &gt;&gt;         pass_discard,<br>
&gt;&gt;&gt; &gt;&gt;         disk_interface,<br>
&gt;&gt;&gt; &gt;&gt;         is_using_scsi_reservation)<br>
&gt;&gt;&gt; &gt;&gt;     VALUES (<br>
&gt;&gt;&gt; &gt;&gt;         v_disk_id,<br>
&gt;&gt;&gt; &gt;&gt;         v_vm_id,<br>
&gt;&gt;&gt; &gt;&gt;         v_is_boot,<br>
&gt;&gt;&gt; &gt;&gt;         v_pass_discard,<br>
&gt;&gt;&gt; &gt;&gt;         v_disk_interface,<br>
&gt;&gt;&gt; &gt;&gt;         v_is_using_scsi_reservation)&quot;<br>
&gt;&gt;&gt; &gt;&gt; PL/pgSQL function insertdiskvmelement(uuid,uuid,<wbr>boolean,boolean,character<br>
&gt;&gt;&gt; &gt;&gt; varying,boolean) line 3 at SQL statement]; SQL was [{call<br>
&gt;&gt;&gt; &gt;&gt; insertdiskvmelement(?, ?, ?, ?, ?, ?)}] for task [CallableStatementCallback]<br>
&gt;&gt;&gt; &gt;&gt; 2017-09-07 08:21:48,850-04 INFO<br>
&gt;&gt;&gt; &gt;&gt; [org.ovirt.engine.core.utils.<wbr>transaction.<wbr>TransactionSupport]<br>
&gt;&gt;&gt; &gt;&gt; (EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-21) [74b41edb] transaction<br>
&gt;&gt;&gt; &gt;&gt; rolled back<br>
&gt;&gt;&gt; &gt;&gt; 2017-09-07 08:21:48,877-04 INFO<br>
&gt;&gt;&gt; &gt;&gt; [org.ovirt.engine.core.dal.<wbr>dbbroker.auditloghandling.<wbr>AuditLogDirector]<br>
&gt;&gt;&gt; &gt;&gt; (EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-21) [74b41edb] EVENT_ID:<br>
&gt;&gt;&gt; &gt;&gt; USER_IMPORT_IMAGE_AS_TEMPLATE_<wbr>FINISHED_SUCCESS(3,018), User<br>
&gt;&gt;&gt; &gt;&gt; admin@internal-authz successfully imported image<br>
&gt;&gt;&gt; &gt;&gt; CirrOS_0.3.5_for_x86_64_<wbr>glance_template as template<br>
&gt;&gt;&gt; &gt;&gt; CirrOS_0.3.5_for_x86_64_<wbr>glance_template to domain iscsi.<br>
&gt;&gt;&gt; &gt;&gt; 2017-09-07 08:21:48,878-04 ERROR<br>
&gt;&gt;&gt; &gt;&gt; [org.ovirt.engine.core.bll.<wbr>tasks.CommandCallbacksPoller]<br>
&gt;&gt;&gt; &gt;&gt; (EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-21) [74b41edb] Failed<br>
&gt;&gt;&gt; &gt;&gt; invoking callback end method &#39;onSucceeded&#39; for command<br>
&gt;&gt;&gt; &gt;&gt; &#39;9c1ba73a-f6bb-4291-b1f2-<wbr>d5806e38ba18&#39; with exception<br>
&gt;&gt;&gt; &gt;&gt; &#39;CallableStatementCallback; SQL [{call insertdiskvmelement(?, ?, ?, ?, ?,<br>
&gt;&gt;&gt; &gt;&gt; ?)}]; ERROR: insert or update on table &quot;disk_vm_element&quot; violates foreign<br>
&gt;&gt;&gt; &gt;&gt; key constraint &quot;fk_disk_vm_element_vm_static&quot;<br>
&gt;&gt;&gt; &gt;&gt;   Detail: Key (vm_id)=(2c2b56b5-cac6-469d-<wbr>b0e0-9744309ca8c1) is not present<br>
&gt;&gt;&gt; &gt;&gt; in table &quot;vm_static&quot;.<br>
&gt;&gt;&gt; &gt;&gt;   Where: SQL statement &quot;INSERT INTO disk_vm_element (<br>
&gt;&gt;&gt; &gt;&gt;         disk_id,<br>
&gt;&gt;&gt; &gt;&gt;         vm_id,<br>
&gt;&gt;&gt; &gt;&gt;         is_boot,<br>
&gt;&gt;&gt; &gt;&gt;         pass_discard,<br>
&gt;&gt;&gt; &gt;&gt;         disk_interface,<br>
&gt;&gt;&gt; &gt;&gt;         is_using_scsi_reservation)<br>
&gt;&gt;&gt; &gt;&gt;     VALUES (<br>
&gt;&gt;&gt; &gt;&gt;         v_disk_id,<br>
&gt;&gt;&gt; &gt;&gt;         v_vm_id,<br>
&gt;&gt;&gt; &gt;&gt;         v_is_boot,<br>
&gt;&gt;&gt; &gt;&gt;         v_pass_discard,<br>
&gt;&gt;&gt; &gt;&gt;         v_disk_interface,<br>
&gt;&gt;&gt; &gt;&gt;         v_is_using_scsi_reservation)&quot;<br>
&gt;&gt;&gt; &gt;&gt; PL/pgSQL function insertdiskvmelement(uuid,uuid,<wbr>boolean,boolean,character<br>
&gt;&gt;&gt; &gt;&gt; varying,boolean) line 3 at SQL statement; nested exception is<br>
&gt;&gt;&gt; &gt;&gt; org.postgresql.util.<wbr>PSQLException: ERROR: insert or update on table<br>
&gt;&gt;&gt; &gt;&gt; &quot;disk_vm_element&quot; violates foreign key constraint<br>
&gt;&gt;&gt; &gt;&gt; &quot;fk_disk_vm_element_vm_static&quot;<br>
&gt;&gt;&gt; &gt;&gt;   Detail: Key (vm_id)=(2c2b56b5-cac6-469d-<wbr>b0e0-9744309ca8c1) is not present<br>
&gt;&gt;&gt; &gt;&gt; in table &quot;vm_static&quot;.<br>
&gt;&gt;&gt; &gt;&gt;   Where: SQL statement &quot;INSERT INTO disk_vm_element (<br>
&gt;&gt;&gt; &gt;&gt;         disk_id,<br>
&gt;&gt;&gt; &gt;&gt;         vm_id,<br>
&gt;&gt;&gt; &gt;&gt;         is_boot,<br>
&gt;&gt;&gt; &gt;&gt;         pass_discard,<br>
&gt;&gt;&gt; &gt;&gt;         disk_interface,<br>
&gt;&gt;&gt; &gt;&gt;         is_using_scsi_reservation)<br>
&gt;&gt;&gt; &gt;&gt;     VALUES (<br>
&gt;&gt;&gt; &gt;&gt;         v_disk_id,<br>
&gt;&gt;&gt; &gt;&gt;         v_vm_id,<br>
&gt;&gt;&gt; &gt;&gt;         v_is_boot,<br>
&gt;&gt;&gt; &gt;&gt;         v_pass_discard,<br>
&gt;&gt;&gt; &gt;&gt;         v_disk_interface,<br>
&gt;&gt;&gt; &gt;&gt;         v_is_using_scsi_reservation)&quot;<br>
&gt;&gt;&gt; &gt;&gt; PL/pgSQL function insertdiskvmelement(uuid,uuid,<wbr>boolean,boolean,character<br>
&gt;&gt;&gt; &gt;&gt; varying,boolean) line 3 at SQL statement&#39;, the callback is marked for end<br>
&gt;&gt;&gt; &gt;&gt; method retries<br>
&gt;&gt;&gt; &gt;&gt; 2017-09-07 08:21:49,887-04 INFO<br>
&gt;&gt;&gt; &gt;&gt; [org.ovirt.engine.core.bll.<wbr>SerialChildCommandsExecutionCa<wbr>llback]<br>
&gt;&gt;&gt; &gt;&gt; (EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-49) [74b41edb] Command<br>
&gt;&gt;&gt; &gt;&gt; &#39;AddVmTemplate&#39; id: &#39;3d633182-982a-46f2-b4f1-<wbr>27c5d04397a7&#39; execution didn&#39;t<br>
&gt;&gt;&gt; &gt;&gt; complete, not proceeding to perform the next operation<br>
&gt;&gt;&gt; &gt;&gt; 2017-09-07 08:21:49,887-04 INFO<br>
&gt;&gt;&gt; &gt;&gt; [org.ovirt.engine.core.bll.<wbr>SerialChildCommandsExecutionCa<wbr>llback]<br>
&gt;&gt;&gt; &gt;&gt; (EE-ManagedThreadFactory-<wbr>engineScheduled-Thread-49) [74b41edb] Command<br>
&gt;&gt;&gt; &gt;&gt; &#39;AddVmTemplate&#39; id: &#39;3d633182-982a-46f2-b4f1-<wbr>27c5d04397a7&#39; child commands<br>
&gt;&gt;&gt; &gt;&gt; &#39;[d168e950-e9c5-4c9b-9502-<wbr>bff613d7f14d]&#39; executions were completed, status<br>
&gt;&gt;&gt; &gt;&gt; &#39;FAILED&#39;<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; &lt;/error&gt;<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; --<br>
&gt;&gt;&gt; &gt;&gt; Regards,<br>
&gt;&gt;&gt; &gt;&gt; Evgheni Dereveanchin<br>
&gt;&gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt;&gt; &gt;&gt; Devel mailing list<br>
&gt;&gt;&gt; &gt;&gt; <a href="mailto:Devel@ovirt.org" target="_blank">Devel@ovirt.org</a><br>
&gt;&gt;&gt; &gt;&gt; <a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/devel</a><br>
&gt;&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt;&gt; Devel mailing list<br>
&gt;&gt;&gt; <a href="mailto:Devel@ovirt.org" target="_blank">Devel@ovirt.org</a><br>
&gt;&gt;&gt; <a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/devel</a><br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt;<br>
&gt;&gt; Eyal edri<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ASSOCIATE MANAGER<br>
&gt;&gt;<br>
&gt;&gt; RHV DevOps<br>
&gt;&gt;<br>
&gt;&gt; EMEA VIRTUALIZATION R&amp;D<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Red Hat EMEA<br>
&gt;&gt;<br>
&gt;&gt; TRIED. TESTED. TRUSTED.<br>
&gt;&gt; phone: <a href="tel:+972%209-769-2018" value="+97297692018" target="_blank">+972-9-7692018</a><br>
&gt;&gt; irc: eedri (on #tlv #rhev-dev #rhev-integ)<br>
&gt;&gt;<br>
&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt; Devel mailing list<br>
&gt;&gt; <a href="mailto:Devel@ovirt.org" target="_blank">Devel@ovirt.org</a><br>
&gt;&gt; <a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/devel</a><br>
&gt;<br>
&gt;<br>
______________________________<wbr>_________________<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/<wbr>mailman/listinfo/devel</a><br>
</blockquote></div></div></blockquote></div></div></div></div>
<br>______________________________<wbr>_________________<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/<wbr>mailman/listinfo/devel</a><br></blockquote></div><br></div>
</blockquote></div></div>
<br>______________________________<wbr>_________________<br>
Devel mailing list<br>
<a href="mailto:Devel@ovirt.org">Devel@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/<wbr>mailman/listinfo/devel</a><br></blockquote></div><br></div></div>