<div dir="ltr"><div><div>Hi Pym,<br><br></div>the feature is know in testing. I am not sure when it will be released, but I hope for sooner date.<br><br></div>Petr<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 6, 2018 at 12:36 PM, Pym <span dir="ltr">&lt;<a href="mailto:pym0914@163.com" target="_blank">pym0914@163.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial">Thank you very much for your help, so is this patch released now? Where can I get this patch?<div><div class="h5"><br><br><br><br><br><div style="zoom:1"></div><div id="m_1676435570088583764divNeteaseMailCard"></div><br>At 2018-02-05 20:52:04, &quot;Petr Kotas&quot; &lt;<a href="mailto:pkotas@redhat.com" target="_blank">pkotas@redhat.com</a>&gt; wrote:<br> <blockquote id="m_1676435570088583764isReplyContent" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid"><div dir="ltr"><div><div><div><div><div><div><div>Hi,<br><br></div>I have experimented on the issue and figured out the reason for the original issue. <br><br></div>You are right, that the vm1 is not properly stopped. This is due to the known issue in the graceful shutdown introduced in the ovirt 4.2. <br>The vm on the host in shutdown are killed, but are not marked as stopped. This results in the behavior you have observed.<br><br></div>Luckily, the patch is already done and present in the latest ovirt. However, be ware that gracefully shutting down the host, will result in graceful shutdown of<br></div>the VMs. This result in engine not migrating them, since they have been terminated gracefully.<br><br></div>Hope this helps.<br><br></div>Best,<br></div>Petr<br><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 2, 2018 at 6:00 PM, Simone Tiraboschi <span dir="ltr">&lt;<a href="mailto:stirabos@redhat.com" target="_blank">stirabos@redhat.com</a>&gt;</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>On Thu, Feb 1, 2018 at 1:06 PM, Pym <span dir="ltr">&lt;<a href="mailto:pym0914@163.com" target="_blank">pym0914@163.com</a>&gt;</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"><div style="line-height:1.7;color:rgb(0,0,0);font-size:14px;font-family:Arial"><div>The environment on my side may be different from the link. My VM1 can be used normally after it is started on host2, but there is still information left on host1 that is not cleaned up.</div><div><br></div><div>Only the interface and background can still get the information of vm1 on host1, but the vm2 has been successfully started on host2, with the HA function.</div><div><br></div><div>I would like to ask a question, whether the UUID of the virtual machine is stored in the database or where is it maintained? Is it not successfully deleted after using the HA function?</div><br></div></blockquote><div><br></div></span><div>I just encounter a similar behavior:</div><div>after a reboot of the host &#39;vdsm-client Host getVMFullList&#39; is still reporting an old VM that is not visible with &#39;virsh -r list --all&#39;.</div><div><br></div><div>I filed a bug to track it:</div><div><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1541479" target="_blank">https://bugzilla.redhat.com/sh<wbr>ow_bug.cgi?id=1541479</a><br></div><div><div class="m_1676435570088583764h5"><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="line-height:1.7;color:rgb(0,0,0);font-size:14px;font-family:Arial"><u></u><br><br><br><div style="zoom:1"></div><div id="m_1676435570088583764m_-1509218316449644008gmail-m_-5295755361115761295divNeteaseMailCard"></div><br> 2018-02-01 16:12:16,&quot;Simone Tiraboschi&quot; &lt;<a href="mailto:stirabos@redhat.com" target="_blank">stirabos@redhat.com</a>&gt; :<br> <blockquote id="m_1676435570088583764m_-1509218316449644008gmail-m_-5295755361115761295isReplyContent" style="padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204)"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="m_1676435570088583764m_-1509218316449644008gmail-">On Thu, Feb 1, 2018 at 2:21 AM, Pym <span dir="ltr">&lt;<a href="mailto:pym0914@163.com" target="_blank">pym0914@163.com</a>&gt;</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"><div style="line-height:1.7;color:rgb(0,0,0);font-size:14px;font-family:Arial"><br><div>I checked the vm1, he is keep up state, and can be used, but on host1 has after shutdown is a suspended vm1, this cannot be used, this is the problem now. </div><div><br></div><div>In host1, you can get the information of vm1 using the &quot;vdsm-client Host getVMList&quot;, but you can&#39;t get the vm1 information using the &quot;virsh list&quot;.</div><div><div class="m_1676435570088583764m_-1509218316449644008gmail-m_-5295755361115761295gmail-h5"><br></div></div></div></blockquote><div><br></div><div>Maybe a side effect of <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1505399" target="_blank">https://bugzilla.redhat.com<wbr>/show_bug.cgi?id=1505399</a> </div><div><br></div><div>Arik?</div><div><br></div><div> </div></span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="line-height:1.7;color:rgb(0,0,0);font-size:14px;font-family:Arial"><div><div class="m_1676435570088583764m_-1509218316449644008gmail-m_-5295755361115761295gmail-h5"><br><br><div style="zoom:1"></div><div id="m_1676435570088583764m_-1509218316449644008gmail-m_-5295755361115761295gmail-m_8608309616095870016divNeteaseMailCard"></div><br> 2018-02-01 07:16:37,&quot;Simone Tiraboschi&quot; &lt;<a href="mailto:stirabos@redhat.com" target="_blank">stirabos@redhat.com</a>&gt; :<span class="m_1676435570088583764m_-1509218316449644008gmail-"><br> <blockquote id="m_1676435570088583764m_-1509218316449644008gmail-m_-5295755361115761295gmail-m_8608309616095870016isReplyContent" style="padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204)"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 31, 2018 at 12:46 PM, Pym <span dir="ltr">&lt;<a href="mailto:pym0914@163.com" target="_blank">pym0914@163.com</a>&gt;</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"><div style="line-height:1.7;color:rgb(0,0,0);font-size:14px;font-family:Arial"><div>Hi:</div><div><br></div><div><div>The current environment is as follows:</div><div><br></div><div>Ovirt-engine version 4.2.0 is the source code compilation and installation. Add two hosts, host1 and host2, respectively. At host1, a virtual machine is created on vm1, and a vm2 is created on host2 and HA is configured.</div><div><br></div><div>Operation steps:</div><div><br></div><div>Use the shutdown -r command on host1. Vm1 successfully migrated to host2.</div><div>When host1 is restarted, the following situation occurs:</div></div><div><img src="cid:1606d774$1$1616ae79550$Coremail$pym0914$163.com" style="width:768px;height:206px;border:none"></div><div><br></div><div><img src="cid:7712c278$2$1616ae79550$Coremail$pym0914$163.com" style="width:768px;height:194px"></div><div><div>The state of the vm2 will be shown in two images, switching from up and pause.</div><div><br></div><div>When I perform the &quot;vdsm-client Host getVMList&quot; in host1, I will get the information of vm1. When I execute the &quot;vdsm-client Host getVMList&quot; in host2, I will get the information of vm1 and vm2.</div><div>When I do &quot;virsh list&quot; in host1, there is no virtual machine information. When I execute &quot;virsh list&quot; at host2, I will get information of vm1 and vm2.</div></div><div><br></div><div><div>How to solve this problem?</div><div><br></div><div>Is it the case that vm1 did not remove the information on host1 during the migration, or any other reason?</div></div></div></blockquote><div><br></div><div>Did you also check if your vms always remained up?</div><div>In 4.2 we have libvirt-guests service on the hosts which tries to properly shutdown the running VMs on host shutdown.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="line-height:1.7;color:rgb(0,0,0);font-size:14px;font-family:Arial"><div><br></div><div>Thank you.</div></div><br><br><span title="neteasefooter"><p> </p></span><br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
<br></blockquote></div><br></div></div>
</blockquote></span></div></div></div><br><br><span title="neteasefooter"><p> </p></span></blockquote></div><br></div></div>
</blockquote></div><br><br><span title="neteasefooter"><p> </p></span></blockquote></div></div></div><br></div></div>
<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
<br></blockquote></div><br></div>
</blockquote></div></div></div><br><br><span title="neteasefooter"><p> </p></span></blockquote></div><br></div>