<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 7, 2016 at 10:05 AM, Michal Skrivanek <span dir="ltr"><<a href="mailto:michal.skrivanek@redhat.com" target="_blank">michal.skrivanek@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 class="HOEnZb"><div class="h5"><br>
> On 07 Jul 2016, at 08:54, Tomas Jelinek <<a href="mailto:tjelinek@redhat.com">tjelinek@redhat.com</a>> wrote:<br>
><br>
><br>
><br>
> ----- Original Message -----<br>
>> From: "Yaniv Kaul" <<a href="mailto:ykaul@redhat.com">ykaul@redhat.com</a>><br>
>> To: "devel" <<a href="mailto:devel@ovirt.org">devel@ovirt.org</a>><br>
>> Sent: Sunday, July 3, 2016 12:59:29 PM<br>
>> Subject: [ovirt-devel] (MASTER) exception on server.log: ERROR: insert or update on table "host_device" violates<br>
>> foreign key constraint "fk_host_device_parent_name"<br>
>><br>
>> Caused by: org.postgresql.util.PSQLException: ERROR: insert or update on<br>
>> table "host_device" violates foreign key constraint<br>
>> "fk_host_device_parent_name"<br>
>> Detail: Key (host_id,<br>
>> parent_device_name)=(767142d5-6242-4bb1-bcbd-095595c3b7f1, scsi_host2) is<br>
>> not present in table "host_device".<br>
>> at<br>
>> org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2157)<br>
>> at<br>
>> org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1886)<br>
>> at<br>
>> org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)<br>
>> at<br>
>> org.postgresql.jdbc2.AbstractJdbc2Connection.executeTransactionCommand(AbstractJdbc2Connection.java:793)<br>
>> at<br>
>> org.postgresql.jdbc2.AbstractJdbc2Connection.commit(AbstractJdbc2Connection.java:817)<br>
>> at<br>
>> org.jboss.jca.adapters.jdbc.local.LocalManagedConnection.commit(LocalManagedConnection.java:96)<br>
>><br>
>><br>
>> Seen on<br>
>> ovirt-engine-4.1.0-0.0.master.20160701111322.gitf1c9a5c.el7.centos.noarch<br>
>> Y.<br>
><br>
> it is a known issue: <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1315100" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1315100</a> (ugly stack trace but not dangerous by itself)<br>
> caused by underlying libvirt issue: <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1306333" rel="noreferrer" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1306333</a><br>
> which seems to be hard to reproduce consistently and no one have found a good reproducer so far...<br>
> So, if you have faced this issue and know how did you get to it, please comment to the bug.<br>
<br>
</div></div>Important thing to note would be if this is a real hw or lago/virtual host, and whether there is a history of adding/removing of a device on that host while running.<br></blockquote><div><br></div><div>- I've seen it on Lago.</div><div>- We do perform hot add of disk and NIC in ovirt-system-tests, AFAIR.</div><div>Y.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br>
><br>
>><br>
>><br>
>> _______________________________________________<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/mailman/listinfo/devel</a><br>
> _______________________________________________<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/mailman/listinfo/devel</a><br>
><br>
><br>
<br>
</div></div></blockquote></div><br></div></div>