<br /><br />El Domingo, 6 de Julio de 2014 07.06 CLT, Arik Hadas &lt;ahadas@redhat.com&gt; Ha escrito:<br />&nbsp;<blockquote><br /><br />----- Original Message -----<br />&gt; On 04/07/14 14:45, Oved Ourfali wrote:<br />&gt; &gt; Is there a migration of this VM in progress? Did it migrate recently?<br />&gt; Thank you Oved, I have already solved the problem, I have posted the<br />&gt; solution to the list.<br />&gt;<br />&gt; However I don&#39;t understand how the data is recorded in the table<br />&gt; &quot;vm_dyanmic&quot;.<br />&gt;<br />&gt; I guess that in this table the engine records the current status data of<br />&gt; the vm&#39;s in the datacenter. In my engine DB almost all the registries in<br />&gt; the &quot;vm_dynamic&quot; table have a vm id in the &quot;migrating_to_vds&quot; field,<br />&gt; this id is the same in the &quot;run_on_vds&quot; field.<br />&gt;<br />&gt; Is it right that the &quot;migrating_to_vds&quot; field have a value after the vm<br />&g
 t; has been migrated??<br /><br />Yes, we&#39;re about to fix it.<br /><br />Note that there is an open bug for this issue:<br />https://bugzilla.redhat.com/show_bug.cgi?id=1112359<br />If you will be able to provide the info I&#39;ve asked for there,<br />it could help us to solve it faster :)<br /><br />Arik<br /><br />&gt;<br />&gt; My setup:<br />&gt;<br />&gt; oVirt Engine Version: 3.4.0-1.el6<br />&gt; Nodes (vds&#39;s, hosts, etc.): Centos 6.5 ovirt-node 3.4, vdsm-4.14.6-0.el6<br />&gt;<br />&gt; Thank you, and happy weekend!<br />&gt;<br />&gt; Federico<br />&gt; &gt; I suggest to attach the engine log here as well, if possible, for<br />&gt; &gt; examination. Cc-ing some guys that might help but bare in mind that for<br />&gt; &gt; some of them it is already weekend.<br />&gt; &gt;<br />&gt; &gt; Oved<br />&gt; &gt;<br />&gt; &gt; On Jul 4, 2014 6:07 PM, Federico Alberto Sayd wrote:<br />&gt; &gt;&gt; Hello People:<br />&gt; &gt;&gt;<br />&gt; &gt;&gt; I am trying t
 o remove a host from ovirt-engine but I have fouHello People:<br />&gt; &gt; I am trying to remove a host from ovirt-engine but I have found that a<br />&gt; &gt; orphaned record in the engine DB prevents the removal of the host.<br />&gt; &gt; The host is in maintenance mode, it doesn&#39;t have vm&#39;s running on it.<br />&gt; &gt; The engine logs says that there is a reference to the id of the host<br />&gt; &gt; (vds_id in the table vds_static) in the field &quot;migrating_to_vds&quot; in the<br />&gt; &gt; table &quot;dynamic_vds&quot;. Obviously this is a orphaned record, but a<br />&gt; &gt; constraint in the table &quot;dynamic_vds&quot; prevents the removal of the host.<br />&gt; &gt; How can I solve this?<br />&gt; &gt; Someone that knows the internals of engine&#39;s DB that can confirm if I<br />&gt; &gt; can remove the problematic registry in order to remove the host??<br />&gt; &gt; Another solution?<br />&gt; &gt;<br />&gt; &gt; I really need to remove this h
 ost. Please help and<br />&gt; &gt;<br />&gt; &gt; Thanks!<br />&gt; &gt; _______________________________________________<br />&gt; &gt; Users mailing list<br />&gt; &gt; Users@ovirt.org<br />&gt; &gt; http://lists.ovirt.org/mailman/listinfo/user</blockquote><br />Indeed, you are right, is the same bug. I didn&#39;t find this bug when googled the problem. I have attached an extract of the logs when I tried to remove the host, it looks identical to the logs reported in the bug except that postgres transactions are logged in Spanish.<br />I will try to find the log entry when the vm was migrated and the value was not correctly updated in the &quot;migrating_to_vds&quot; field. I think that that is the more critical bug.<br /><br />Thank you<br /><br />Federico<br />&nbsp;