<div dir="ltr"><div><div><div>Hello Vered,<br><br></div>I didnt change anything after installing the engine on a clean CentOS 6.5 minimal install.<br><br></div>I see logs of the format vdsm.log.1.xz up to vdsm.log.100.xz which is as old as the 15th of june and some older logs with an other naming convention like vdsm.log-20140522.xz.<br>
<br></div>Kind regards.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-07-03 13:43 GMT+02:00 Vered Volansky <span dir="ltr">&lt;<a href="mailto:vered@redhat.com" target="_blank">vered@redhat.com</a>&gt;</span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class=""><br>
<br>
----- Original Message -----<br>
&gt; From: &quot;Andy Michielsen&quot; &lt;<a href="mailto:andy.michielsen@gmail.com">andy.michielsen@gmail.com</a>&gt;<br>
&gt; To: &quot;Vered Volansky&quot; &lt;<a href="mailto:vered@redhat.com">vered@redhat.com</a>&gt;<br>
&gt; Cc: <a href="mailto:users@ovirt.org">users@ovirt.org</a><br>
</div><div class="">&gt; Sent: Thursday, July 3, 2014 2:31:06 PM<br>
&gt; Subject: Re: [ovirt-users] Disk&#39;s locked of VM<br>
&gt;<br>
</div><div class="">&gt; Hello Vered,<br>
&gt;<br>
&gt; Unfortunately do the log files for vdsm go back that far.<br>
</div>Don&#39;t they rotate?<br>
<div class="HOEnZb"><div class="h5"> The engine.log<br>
&gt; does.<br>
&gt;<br>
&gt; It happend on the 10the of june.<br>
&gt;<br>
&gt; Kind regards.<br>
&gt;<br>
&gt;<br>
&gt; 2014-06-30 17:40 GMT+02:00 Vered Volansky &lt; <a href="mailto:vered@redhat.com">vered@redhat.com</a> &gt; :<br>
&gt;<br>
&gt;<br>
&gt; Or better yet, just use:<br>
&gt;<br>
&gt; &gt;&gt; &lt;oVirtDir&gt;/share/ovirt-engine/dbscripts/unlock_entity.sh<br>
&gt;<br>
&gt; I suppose you have the images GUIDs from engine.<br>
&gt;<br>
&gt; BUT -<br>
&gt; If the images never got released you might want to get to know what got them<br>
&gt; into this in the first place.<br>
&gt; You can send vdsm and engine logs from that period of time if you still got<br>
&gt; them, and we&#39;ll take a look.<br>
&gt;<br>
&gt; Regards,<br>
&gt; Vered<br>
&gt;<br>
&gt; ----- Original Message -----<br>
&gt; &gt; From: &quot;Vered Volansky&quot; &lt; <a href="mailto:vered@redhat.com">vered@redhat.com</a> &gt;<br>
&gt; &gt; To: &quot;Andy Michielsen&quot; &lt; <a href="mailto:andy.michielsen@gmail.com">andy.michielsen@gmail.com</a> &gt;<br>
&gt; &gt; Cc: <a href="mailto:users@ovirt.org">users@ovirt.org</a><br>
&gt; &gt; Sent: Monday, June 30, 2014 6:03:15 PM<br>
&gt; &gt; Subject: Re: [ovirt-users] Disk&#39;s locked of VM<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; ----- Original Message -----<br>
&gt; &gt; &gt; From: &quot;Andy Michielsen&quot; &lt; <a href="mailto:andy.michielsen@gmail.com">andy.michielsen@gmail.com</a> &gt;<br>
&gt; &gt; &gt; To: &quot;Vered Volansky&quot; &lt; <a href="mailto:vered@redhat.com">vered@redhat.com</a> &gt;<br>
&gt; &gt; &gt; Cc: <a href="mailto:users@ovirt.org">users@ovirt.org</a><br>
&gt; &gt; &gt; Sent: Monday, June 30, 2014 4:57:05 PM<br>
&gt; &gt; &gt; Subject: Re: [ovirt-users] Disk&#39;s locked of VM<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Hello,<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; How can I connect to my postgress database ?<br>
&gt; &gt; Try this:<br>
&gt; &gt; psql -d engine -U engine .<br>
&gt; &gt;<br>
&gt; &gt; This is assuming you&#39;re using password authentication.<br>
&gt; &gt; If you aren&#39;t please send me your pg_hba.conf settings and we&#39;ll go forward<br>
&gt; &gt; from there:<br>
&gt; &gt;<br>
&gt; &gt; Fedora,RHEL /var/lib/pgsql/data/pg_hba.conf<br>
&gt; &gt; Debian /etc/postgresql/*/main/pg_hba.conf<br>
&gt; &gt; Gentoo /etc/postgresql-*/pg_hba.conf<br>
&gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Kind regards.<br>
&gt; &gt; &gt; On Jun 30, 2014 10:10 AM, &quot;Vered Volansky&quot; &lt; <a href="mailto:vered@redhat.com">vered@redhat.com</a> &gt; wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Hi Andy,<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; In the DB, try<br>
&gt; &gt; &gt; update images set imagestatus = 1 where imagestatus = 2;<br>
&gt; &gt; &gt; commit;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Let me know if this helps.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; Regards,<br>
&gt; &gt; &gt; Vered<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; ----- Original Message -----<br>
&gt; &gt; &gt; &gt; From: &quot;Andy Michielsen&quot; &lt; <a href="mailto:andy.michielsen@gmail.com">andy.michielsen@gmail.com</a> &gt;<br>
&gt; &gt; &gt; &gt; To: <a href="mailto:users@ovirt.org">users@ovirt.org</a><br>
&gt; &gt; &gt; &gt; Sent: Friday, June 27, 2014 11:08:47 AM<br>
&gt; &gt; &gt; &gt; Subject: [ovirt-users] Disk&#39;s locked of VM<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Hello all,<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Does anyone know how I can check if a VM&#39;s disk are indeed locked or<br>
&gt; &gt; &gt; &gt; not.<br>
&gt; &gt; &gt; &gt; The<br>
&gt; &gt; &gt; &gt; engine tell&#39;s me they are locked but this is now already 16 day&#39;s and<br>
&gt; &gt; &gt; &gt; counting.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; I already restarted every server involved but to no avail.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; I can not remove, change or start the VM as long as the disks are<br>
&gt; &gt; &gt; &gt; locked.<br>
&gt; &gt; &gt; &gt; Can<br>
&gt; &gt; &gt; &gt; I give a command to check the status of this machine in the CLI<br>
&gt; &gt; &gt; &gt; enviroment<br>
&gt; &gt; &gt; &gt; or after connecting to the database and checking a table (Realy don&#39;t<br>
&gt; &gt; &gt; &gt; know<br>
&gt; &gt; &gt; &gt; how to do this).<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Kind regards.<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; &gt; Users mailing list<br>
&gt; &gt; &gt; &gt; <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
&gt; &gt; &gt; &gt; <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; Users mailing list<br>
&gt; &gt; &gt; <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
&gt; &gt; &gt; <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
&gt; &gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Users mailing list<br>
&gt; &gt; <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
&gt; &gt; <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
&gt; <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
&gt;<br>
</div></div></blockquote></div><br></div>