[ovirt-devel] [ OST Failure Report ] [ oVirt master ] [ 31.01.2017 ] [add_secondary_storage_domains]

Yaniv Kaul ykaul at redhat.com
Tue Jan 31 15:42:53 UTC 2017


On Tue, Jan 31, 2017 at 4:43 PM, Evgheni Dereveanchin <ederevea at redhat.com>
wrote:

> Test failed: add_secondary_storage_domains
> Links to suspected patches:
>  https://gerrit.ovirt.org/71376
>  https://gerrit.ovirt.org/71427
>  https://gerrit.ovirt.org/71345
>
> Link to Job:
>  http://jenkins.ovirt.org/job/test-repo_ovirt_experimental_master/5040/
>
> Link to all logs:
>  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/


I think the issue is actually:

2017-01-31 05:46:51,412-05 ERROR
[org.ovirt.engine.core.bll.AddVmTemplateCommand]
(DefaultQuartzScheduler6) [17e8e3e] Command
'org.ovirt.engine.core.bll.AddVmTemplateCommand' failed: null
2017-01-31 05:46:51,412-05 ERROR
[org.ovirt.engine.core.bll.AddVmTemplateCommand]
(DefaultQuartzScheduler6) [17e8e3e] Exception:
java.lang.NullPointerException
	at org.ovirt.engine.core.bll.utils.VmDeviceUtils.addManagedDevice(VmDeviceUtils.java:1553)
[bll.jar:]
	at org.ovirt.engine.core.bll.utils.VmDeviceUtils.addManagedDevice(VmDeviceUtils.java:1509)
[bll.jar:]
	at org.ovirt.engine.core.bll.utils.VmDeviceUtils.addCdDevice(VmDeviceUtils.java:183)
[bll.jar:]
	at org.ovirt.engine.core.bll.utils.VmDeviceUtils.copyVmDevices(VmDeviceUtils.java:1390)
[bll.jar:]
	at org.ovirt.engine.core.bll.utils.VmDeviceUtils.copyVmDevices(VmDeviceUtils.java:1444)
[bll.jar:]
	at org.ovirt.engine.core.bll.AddVmTemplateCommand.lambda$executeCommand$1(AddVmTemplateCommand.java:356)
[bll.jar:]
	at org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInNewTransaction(TransactionSupport.java:202)
[utils.jar:]
	at org.ovirt.engine.core.bll.AddVmTemplateCommand.executeCommand(AddVmTemplateCommand.java:338)
[bll.jar:]
	at org.ovirt.engine.core.bll.CommandBase.executeWithoutTransaction(CommandBase.java:1251)
[bll.jar:]
	at org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:1391)
[bll.jar:]
	at org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:2055)
[bll.jar:]

...

2017-01-31 05:46:51,430-05 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(DefaultQuartzScheduler6) [17e8e3e] EVENT_ID:
USER_ADD_VM_TEMPLATE_FAILURE(36), Correlation ID: 17e8e3e, Job ID:
6d664704-97ff-4ff3-8aaa-63389dc51663, Call Stack: null, Custom Event
ID: -1, Message: Failed creating Template
CirrOS_0.3.4_for_x86_64_glance_template.
2017-01-31 05:46:51,431-05 INFO
[org.ovirt.engine.core.bll.AddVmTemplateCommand]
(DefaultQuartzScheduler6) [17e8e3e] Lock freed to object
'EngineLock:{exclusiveLocks='null',
sharedLocks='[00000000-0000-0000-0000-000000000000=<VM,
ACTION_TYPE_FAILED_TEMPLATE_IS_BEING_CREATED>]'}'
2017-01-31 05:46:51,435-05 DEBUG
[org.ovirt.engine.core.dal.dbbroker.CustomSQLErrorCodeSQLExceptionTranslator]
(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-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,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.transaction.TransactionSupport]
(DefaultQuartzScheduler6) [17e8e3e] transaction rolled back

Y.


>
>
> Error snippet from log:
> 2017-01-31 05:54:53,862-0500 ERROR (jsonrpc/5) [storage.TaskManager.Task]
> (Task='ad8f48fc-de09-4c26-b052-7a036d7651ad') Unexpected error (task:871)
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/task.py", line 878,
> in _run
>     return fn(*args, **kargs)
>   File "/usr/lib/python2.7/site-packages/vdsm/logUtils.py", line 52, in
> wrapper
>     res = f(*args, **kwargs)
>   File "/usr/share/vdsm/storage/hsm.py", line 2215, in getAllTasksInfo
>     allTasksInfo = self._pool.getAllTasksInfo()
>   File "/usr/lib/python2.7/site-packages/vdsm/storage/securable.py", line
> 77, in wrapper
>     raise SecureError("Secured object is not in safe state")
> SecureError: Secured object is not in safe state
>
>
>
> Regards,
> Evgheni Dereveanchin
>
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20170131/086387a7/attachment.html>


More information about the Devel mailing list