<div dir="ltr">Link?</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 31, 2017 at 7:08 PM, Arik Hadas <span dir="ltr">&lt;<a href="mailto:ahadas@redhat.com" target="_blank">ahadas@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">Fixed</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 31, 2017 at 6:34 PM, Arik Hadas <span dir="ltr">&lt;<a href="mailto:ahadas@redhat.com" target="_blank">ahadas@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">Working on a fix</div><div class="m_-9143594560636474767HOEnZb"><div class="m_-9143594560636474767h5"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 31, 2017 at 5:42 PM, Yaniv Kaul <span dir="ltr">&lt;<a href="mailto:ykaul@redhat.com" target="_blank">ykaul@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><div class="gmail_extra"><br><div class="gmail_quote"><span>On Tue, Jan 31, 2017 at 4:43 PM, Evgheni Dereveanchin <span dir="ltr">&lt;<a href="mailto:ederevea@redhat.com" target="_blank">ederevea@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">Test failed: add_secondary_storage_domains<br>
Links to suspected patches:<br>
 <a href="https://gerrit.ovirt.org/71376" rel="noreferrer" target="_blank">https://gerrit.ovirt.org/7137<wbr>6</a><br>
 <a href="https://gerrit.ovirt.org/71427" rel="noreferrer" target="_blank">https://gerrit.ovirt.org/7142<wbr>7</a><br>
 <a href="https://gerrit.ovirt.org/71345" rel="noreferrer" target="_blank">https://gerrit.ovirt.org/7134<wbr>5</a><br>
<br>
Link to Job:<br>
 <a href="http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/5040/" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>test-repo_ovirt_experimental_m<wbr>aster/5040/</a><br>
<br>
Link to all logs:<br>
 <a href="http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/5040/artifact/exported-artifacts/basic-suit-master-el7/test_logs/basic-suite-master/post-002_bootstrap.py/" rel="noreferrer" target="_blank">http://jenkins.ovirt.org/job/<wbr>test-repo_ovirt_experimental_m<wbr>aster/5040/artifact/exported-a<wbr>rtifacts/basic-suit-master-el7<wbr>/test_logs/basic-suite-master/<wbr>post-002_bootstrap.py/</a></blockquote><div><br></div></span><div>I think the issue is actually:</div><pre style="color:rgb(0,0,0)">2017-01-31 05:46:51,412-05 ERROR [org.ovirt.engine.core.bll.Add<wbr>VmTemplateCommand] (DefaultQuartzScheduler6) [17e8e3e] Command &#39;org.ovirt.engine.core.bll.Add<wbr>VmTemplateCommand&#39; failed: null
2017-01-31 05:46:51,412-05 ERROR [org.ovirt.engine.core.bll.Add<wbr>VmTemplateCommand] (DefaultQuartzScheduler6) [17e8e3e] Exception: java.lang.NullPointerException
        at org.ovirt.engine.core.bll.util<wbr>s.VmDeviceUtils.addManagedDevi<wbr>ce(VmDeviceUtils.java:1553) [bll.jar:]
        at org.ovirt.engine.core.bll.util<wbr>s.VmDeviceUtils.addManagedDevi<wbr>ce(VmDeviceUtils.java:1509) [bll.jar:]
        at org.ovirt.engine.core.bll.util<wbr>s.VmDeviceUtils.addCdDevice(Vm<wbr>DeviceUtils.java:183) [bll.jar:]
        at org.ovirt.engine.core.bll.util<wbr>s.VmDeviceUtils.copyVmDevices(<wbr>VmDeviceUtils.java:1390) [bll.jar:]
        at org.ovirt.engine.core.bll.util<wbr>s.VmDeviceUtils.copyVmDevices(<wbr>VmDeviceUtils.java:1444) [bll.jar:]
        at org.ovirt.engine.core.bll.AddV<wbr>mTemplateCommand.lambda$execut<wbr>eCommand$1(AddVmTemplateComman<wbr>d.java:356) [bll.jar:]
        at <a href="http://org.ovirt.engine.core.utils.tr" target="_blank">org.ovirt.engine.core.utils.tr</a><wbr>ansaction.TransactionSupport.e<wbr>xecuteInNewTransaction(Transac<wbr>tionSupport.java:202) [utils.jar:]
        at org.ovirt.engine.core.bll.AddV<wbr>mTemplateCommand.executeComman<wbr>d(AddVmTemplateCommand.java:33<wbr>8) [bll.jar:]
        at org.ovirt.engine.core.bll.Comm<wbr>andBase.executeWithoutTransact<wbr>ion(CommandBase.java:1251) [bll.jar:]
        at org.ovirt.engine.core.bll.Comm<wbr>andBase.executeActionInTransac<wbr>tionScope(CommandBase.java:139<wbr>1) [bll.jar:]
        at org.ovirt.engine.core.bll.Comm<wbr>andBase.runInTransaction(Comma<wbr>ndBase.java:2055) [bll.jar:] </pre><div><font color="#000000">...</font></div><div><font color="#000000"><br></font></div><div><pre style="color:rgb(0,0,0)">2017-01-31 05:46:51,430-05 ERROR [org.ovirt.engine.core.dal.dbb<wbr>roker.auditloghandling.AuditLo<wbr>gDirector] (DefaultQuartzScheduler6) [17e8e3e] EVENT_ID: USER_ADD_VM_TEMPLATE_FAILURE(3<wbr>6), Correlation ID: 17e8e3e, Job ID: 6d664704-97ff-4ff3-8aaa-63389d<wbr>c51663, Call Stack: null, Custom Event ID: -1, Message: Failed creating Template CirrOS_0.3.4_for_x86_64_glance<wbr>_template.
2017-01-31 05:46:51,431-05 INFO  [org.ovirt.engine.core.bll.Add<wbr>VmTemplateCommand] (DefaultQuartzScheduler6) [17e8e3e] Lock freed to object &#39;EngineLock:{exclusiveLocks=&#39;n<wbr>ull&#39;, sharedLocks=&#39;[00000000-0000-00<wbr>00-0000-000000000000=&lt;VM, ACTION_TYPE_FAILED_TEMPLATE_IS<wbr>_BEING_CREATED&gt;]&#39;}&#39;
2017-01-31 05:46:51,435-05 DEBUG [org.ovirt.engine.core.dal.dbb<wbr>roker.CustomSQLErrorCodeSQLExc<wbr>eptionTranslator] (DefaultQuartzScheduler6) [17e8e3e] Translating SQLException with SQL state &#39;23503&#39;, error code &#39;0&#39;, message [ERROR: insert or update on table &quot;disk_vm_element&quot; violates foreign key constraint &quot;fk_disk_vm_element_vm_static&quot;
  Detail: Key (vm_id)=(7dd54891-477c-4e64-ad<wbr>47-02afc12ab32d) is not present in table &quot;vm_static&quot;.
  Where: SQL statement &quot;INSERT INTO disk_vm_element (
        disk_id,
        vm_id,
        is_boot,
        pass_discard,
        disk_interface,
        is_using_scsi_reservation)
    VALUES (
        v_disk_id,
        v_vm_id,
        v_is_boot,
        v_pass_discard,
        v_disk_interface,
        v_is_using_scsi_reservation)&quot;
PL/pgSQL function insertdiskvmelement(uuid,uuid,<wbr>boolean,boolean,character varying,boolean) line 3 at SQL statement]; SQL was [{call insertdiskvmelement(?, ?, ?, ?, ?, ?)}] for task [CallableStatementCallback]
2017-01-31 05:46:51,436-05 INFO  [org.ovirt.engine.core.utils.t<wbr>ransaction.TransactionSupport] (DefaultQuartzScheduler6) [17e8e3e] transaction rolled back</pre></div><span class="m_-9143594560636474767m_2074210090393067508HOEnZb"><font color="#888888"><div><span style="color:rgb(0,0,0)"></span>Y.</div></font></span><span><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
Error snippet from log:<br>
2017-01-31 05:54:53,862-0500 ERROR (jsonrpc/5) [storage.TaskManager.Task] (Task=&#39;ad8f48fc-de09-4c26-b052<wbr>-7a036d7651ad&#39;) Unexpected error (task:871)<br>
Traceback (most recent call last):<br>
  File &quot;/usr/lib/python2.7/site-packa<wbr>ges/vdsm/storage/task.py&quot;, line 878, in _run<br>
    return fn(*args, **kargs)<br>
  File &quot;/usr/lib/python2.7/site-packa<wbr>ges/vdsm/logUtils.py&quot;, line 52, in wrapper<br>
    res = f(*args, **kwargs)<br>
  File &quot;/usr/share/vdsm/storage/hsm.p<wbr>y&quot;, line 2215, in getAllTasksInfo<br>
    allTasksInfo = self._pool.getAllTasksInfo()<br>
  File &quot;/usr/lib/python2.7/site-packa<wbr>ges/vdsm/storage/securable.py&quot;<wbr>, line 77, in wrapper<br>
    raise SecureError(&quot;Secured object is not in safe state&quot;)<br>
SecureError: Secured object is not in safe state<br>
<br>
<br>
<br>
Regards,<br>
Evgheni Dereveanchin<br>
<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/mailman<wbr>/listinfo/devel</a><br>
</blockquote></span></div><br></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/mailman<wbr>/listinfo/devel</a><br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</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>