<div dir="ltr">Working on a fix</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 31, 2017 at 5:42 PM, Yaniv Kaul <span dir="ltr"><<a href="mailto:ykaul@redhat.com" target="_blank">ykaul@redhat.com</a>></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 class="">On Tue, Jan 31, 2017 at 4:43 PM, Evgheni Dereveanchin <span dir="ltr"><<a href="mailto:ederevea@redhat.com" target="_blank">ederevea@redhat.com</a>></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/<wbr>71376</a><br>
<a href="https://gerrit.ovirt.org/71427" rel="noreferrer" target="_blank">https://gerrit.ovirt.org/<wbr>71427</a><br>
<a href="https://gerrit.ovirt.org/71345" rel="noreferrer" target="_blank">https://gerrit.ovirt.org/<wbr>71345</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.<wbr>AddVmTemplateCommand] (DefaultQuartzScheduler6) [17e8e3e] Command 'org.ovirt.engine.core.bll.<wbr>AddVmTemplateCommand' failed: null
2017-01-31 05:46:51,412-05 ERROR [org.ovirt.engine.core.bll.<wbr>AddVmTemplateCommand] (DefaultQuartzScheduler6) [17e8e3e] Exception: java.lang.NullPointerException
        at org.ovirt.engine.core.bll.<wbr>utils.VmDeviceUtils.<wbr>addManagedDevice(<wbr>VmDeviceUtils.java:1553) [bll.jar:]
        at org.ovirt.engine.core.bll.<wbr>utils.VmDeviceUtils.<wbr>addManagedDevice(<wbr>VmDeviceUtils.java:1509) [bll.jar:]
        at org.ovirt.engine.core.bll.<wbr>utils.VmDeviceUtils.<wbr>addCdDevice(VmDeviceUtils.<wbr>java:183) [bll.jar:]
        at org.ovirt.engine.core.bll.<wbr>utils.VmDeviceUtils.<wbr>copyVmDevices(VmDeviceUtils.<wbr>java:1390) [bll.jar:]
        at org.ovirt.engine.core.bll.<wbr>utils.VmDeviceUtils.<wbr>copyVmDevices(VmDeviceUtils.<wbr>java:1444) [bll.jar:]
        at org.ovirt.engine.core.bll.<wbr>AddVmTemplateCommand.lambda$<wbr>executeCommand$1(<wbr>AddVmTemplateCommand.java:356) [bll.jar:]
        at org.ovirt.engine.core.utils.<wbr>transaction.<wbr>TransactionSupport.<wbr>executeInNewTransaction(<wbr>TransactionSupport.java:202) [utils.jar:]
        at org.ovirt.engine.core.bll.<wbr>AddVmTemplateCommand.<wbr>executeCommand(<wbr>AddVmTemplateCommand.java:338) [bll.jar:]
        at org.ovirt.engine.core.bll.<wbr>CommandBase.<wbr>executeWithoutTransaction(<wbr>CommandBase.java:1251) [bll.jar:]
        at org.ovirt.engine.core.bll.<wbr>CommandBase.<wbr>executeActionInTransactionScop<wbr>e(CommandBase.java:1391) [bll.jar:]
        at org.ovirt.engine.core.bll.<wbr>CommandBase.runInTransaction(<wbr>CommandBase.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.<wbr>dbbroker.auditloghandling.<wbr>AuditLogDirector] (DefaultQuartzScheduler6) [17e8e3e] EVENT_ID: USER_ADD_VM_TEMPLATE_FAILURE(<wbr>36), Correlation ID: 17e8e3e, Job ID: 6d664704-97ff-4ff3-8aaa-<wbr>63389dc51663, Call Stack: null, Custom Event ID: -1, Message: Failed creating Template CirrOS_0.3.4_for_x86_64_<wbr>glance_template.
2017-01-31 05:46:51,431-05 INFO [org.ovirt.engine.core.bll.<wbr>AddVmTemplateCommand] (DefaultQuartzScheduler6) [17e8e3e] Lock freed to object 'EngineLock:{exclusiveLocks='<wbr>null', sharedLocks='[00000000-0000-<wbr>0000-0000-000000000000=<VM, ACTION_TYPE_FAILED_TEMPLATE_<wbr>IS_BEING_CREATED>]'}'
2017-01-31 05:46:51,435-05 DEBUG [org.ovirt.engine.core.dal.<wbr>dbbroker.<wbr>CustomSQLErrorCodeSQLException<wbr>Translator] (DefaultQuartzScheduler6) [17e8e3e] Translating SQLException with SQL state '23503', error code '0', message [ERROR: insert or update on table "disk_vm_element" violates foreign key constraint "fk_disk_vm_element_vm_static"
Detail: Key (vm_id)=(7dd54891-477c-4e64-<wbr>ad47-02afc12ab32d) is not present in table "vm_static".
Where: SQL statement "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)"
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.<wbr>transaction.<wbr>TransactionSupport] (DefaultQuartzScheduler6) [17e8e3e] transaction rolled back</pre></div><span class="HOEnZb"><font color="#888888"><div><span style="color:rgb(0,0,0)"></span>Y.</div></font></span><span class=""><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='ad8f48fc-de09-4c26-b052<wbr>-7a036d7651ad') Unexpected error (task:871)<br>
Traceback (most recent call last):<br>
File "/usr/lib/python2.7/site-packa<wbr>ges/vdsm/storage/task.py", line 878, in _run<br>
return fn(*args, **kargs)<br>
File "/usr/lib/python2.7/site-packa<wbr>ges/vdsm/logUtils.py", line 52, in wrapper<br>
res = f(*args, **kwargs)<br>
File "/usr/share/vdsm/storage/hsm.p<wbr>y", line 2215, in getAllTasksInfo<br>
allTasksInfo = self._pool.getAllTasksInfo()<br>
File "/usr/lib/python2.7/site-packa<wbr>ges/vdsm/storage/securable.py"<wbr>, line 77, in wrapper<br>
raise SecureError("Secured object is not in safe state")<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">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>