<div dir="ltr"><div>Qemu log for a cinder based VM is attached.<br></div><div><br>Current versions:<br>ovirt-engine-3.6.5.3-1.el7.centos.noarch<br>vdsm-4.17.26-0.el7.centos.noarch<br>qemu-kvm-ev-2.3.0-31.el7_2.10.1.x86_64<br>libvirt-daemon-kvm-1.2.17-13.el7_2.4.x86_64<br>libvirt-daemon-1.2.17-13.el7_2.4.x86_64<br><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 25, 2016 at 7:59 AM, Daniel Erez <span dir="ltr">&lt;<a href="mailto:derez@redhat.com" target="_blank">derez@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">According to VDSM log [1], there was a timeout error during snapshot operation.<div>This could be a duplicate of bugs [2] already resolved in latest version.</div><div>Can you please provide the versions of the following components for further investigation:</div><div>engine / vdsm / qemu-kvm-rhev / libvirt. Also, please attach libivrt/qemu logs.</div><div><div><div><br></div><div>[1] jsonrpc.Executor/6::ERROR::2016-05-23 13:09:46,790::vm::3311::virt.vm::(snapshot) vmId=`040609f6-cfe0-4763-8b32-08ffad158c93`::Unable to take snapshot</div><span class=""><div>Traceback (most recent call last):</div></span><div>  File &quot;/usr/share/vdsm/virt/vm.py&quot;, line 3309, in snapshot</div><div>    self._dom.snapshotCreateXML(snapxml, snapFlags)</div><div>  File &quot;/usr/share/vdsm/virt/virdomain.py&quot;, line 76, in f</div><div>    raise toe</div><div>TimeoutError: Timed out during operation: cannot acquire state change lock (held by remoteDispatchDomainSnapshotCreateXML)</div></div><div><br></div><div>[2]</div><div><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1261980" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1261980</a></div><div><a href="https://bugzilla.redhat.com/show_bug.cgi?id=1250839" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=1250839</a><br></div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 23, 2016 at 11:31 AM, Daniel Erez <span dir="ltr">&lt;<a href="mailto:derez@redhat.com" target="_blank">derez@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"><div><div>On Tue, Apr 12, 2016 at 11:13 PM, Kevin Hrpcek <span dir="ltr">&lt;<a href="mailto:khrpcek@gmail.com" target="_blank">khrpcek@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div>Hello,<br><br></div>I&#39;m running into a problem with live snapshots not working when using cinder/ceph disks. There are different failures for including and not including memory, but in each case cinder/ceph creates a new snapshot that can be seen in cinder and ceph. When doing a memory/disk snapshot the VM ends up in a paused state and I need to kill -9 the qemu process to be able to boot the vm again. The engine seems to be losing connection with the vdsm process on the VM host after freezing the guest&#39;s filesystems. The guest never receives the thaw command and it fails in the logs. I am pasting in some log snippets.<br><br>2016-04-12 19:24:58,851 INFO  [org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand] (org.ovirt.thread.pool-8-thread-27) [5c4493e] Ending command &#39;org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand&#39; successfully.<br>2016-04-12 19:27:56,873 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler_Worker-27) [4d97ca06] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: VDSM OVCL1A command failed: Message timeout which can be caused by communication issues<br>2016-04-12 19:27:56,873 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.SnapshotVDSCommand] (DefaultQuartzScheduler_Worker-27) [4d97ca06] Command &#39;org.ovirt.engine.core.vdsbroker.vdsbroker.SnapshotVDSCommand&#39; return value &#39;StatusOnlyReturnForXmlRpc [status=StatusForXmlRpc [code=5022, message=Message timeout which can be caused by communication issues]]&#39;<br>2016-04-12 19:27:56,874 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.SnapshotVDSCommand] (DefaultQuartzScheduler_Worker-27) [4d97ca06] HostName = OVCL1A<br>2016-04-12 19:27:56,874 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.SnapshotVDSCommand] (DefaultQuartzScheduler_Worker-27) [4d97ca06] Command &#39;SnapshotVDSCommand(HostName = OVCL1A, SnapshotVDSCommandParameters:{runAsync=&#39;true&#39;, hostId=&#39;9bdfaedc-34a8-4a08-ad8a-c117835a6094&#39;, vmId=&#39;040609f6-cfe0-4763-8b32-08ffad158c93&#39;})&#39; execution failed: VDSGenericException: VDSNetworkException: Message timeout which can be caused by communication issues<br>2016-04-12 19:27:56,875 WARN  [org.ovirt.engine.core.vdsbroker.VdsManager] (org.ovirt.thread.pool-8-thread-16) [4d97ca06] Host &#39;OVCL1A&#39; is not responding.<br><br></div>Disk only live snapshots freeze the guest file systems, the vm receives the thaw command, but the VM is no longer responsive. The VM pings on the network but it is hung and it also needs a kill -9 to the qemu process so that it can be booted again.<br><br>jsonrpc.Executor/0::DEBUG::2016-04-12 19:41:58,342::__init__::503::jsonrpc.JsonRpcServer::(_serveRequest) Calling &#39;VM.snapshot&#39; in bridge with {u&#39;frozen&#39;: True, u&#39;vmID&#39;: u&#39;040609f6-cfe0-4763-8b32-08ffad158c93&#39;, u&#39;snapDrives&#39;: []}<br>jsonrpc.Executor/0::INFO::2016-04-12 19:41:58,343::vm::3237::virt.vm::(snapshot) vmId=`040609f6-cfe0-4763-8b32-08ffad158c93`::&lt;domainsnapshot&gt;<br>        &lt;disks/&gt;<br>&lt;/domainsnapshot&gt;<br><br>jsonrpc.Executor/0::ERROR::2016-04-12 19:41:58,346::vm::3252::virt.vm::(snapshot) vmId=`040609f6-cfe0-4763-8b32-08ffad158c93`::Unable to take snapshot<br>Traceback (most recent call last):<br>  File &quot;/usr/share/vdsm/virt/vm.py&quot;, line 3250, in snapshot<br>    self._dom.snapshotCreateXML(snapxml, snapFlags)<br>  File &quot;/usr/share/vdsm/virt/virdomain.py&quot;, line 68, in f<br>    ret = attr(*args, **kwargs)<br>  File &quot;/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py&quot;, line 124, in wrapper<br>    ret = f(*args, **kwargs)<br>  File &quot;/usr/lib/python2.7/site-packages/vdsm/utils.py&quot;, line 1313, in wrapper<br>    return func(inst, *args, **kwargs)<br>  File &quot;/usr/lib64/python2.7/site-packages/libvirt.py&quot;, line 2581, in snapshotCreateXML<br>    if ret is None:raise libvirtError(&#39;virDomainSnapshotCreateXML() failed&#39;, dom=self)<br>libvirtError: unsupported configuration: nothing selected for snapshot<br>jsonrpc.Executor/7::DEBUG::2016-04-12 19:41:58,391::__init__::503::jsonrpc.JsonRpcServer::(_serveRequest) Calling &#39;VM.thaw&#39; in bridge with {u&#39;vmID&#39;: u&#39;040609f6-cfe0-4763-8b32-08ffad158c93&#39;}<br>jsonrpc.Executor/7::INFO::2016-04-12 19:41:58,391::vm::3041::virt.vm::(thaw) vmId=`040609f6-cfe0-4763-8b32-08ffad158c93`::Thawing guest filesystems<br>jsonrpc.Executor/7::INFO::2016-04-12 19:41:58,396::vm::3056::virt.vm::(thaw) vmId=`040609f6-cfe0-4763-8b32-08ffad158c93`::6 guest filesystems thawed<br></div></div></div></div></div></div></div></div></div></div></blockquote><div><br></div></div></div><div>It could be an issue of a guest agent. Please make sure the ovirt-guest-agent and qemu-guest-agent are installed and running in the VM. Further details are available at: <a href="http://www.ovirt.org/documentation/internal/guest-agent/understanding-guest-agents-and-other-tools/" target="_blank">http://www.ovirt.org/documentation/internal/guest-agent/understanding-guest-agents-and-other-tools/</a></div><div>In addition, can you please attach full engine/vdsm logs.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span><div dir="ltr"><div><div><div><div><div><div><div><div><div><br></div>Everything else is working well with cinder for running VMs (making disks, running VMs, live migration, etc...). I was able to get live snapshots when using a CephFS Posix storage domain.<br><br></div>Versions..<br></div>Ceph 9.2.0<br></div>oVirt Latest<br></div>CentOS 7.2<br></div>Cinder 7.0.1-1.el7<br><br></div>Any help would be appreciated.<br><br></div>Thanks,<br></div>Kevin<br></div>
<br></span><span>_______________________________________________<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/listinfo/users</a><br>
<br></span></blockquote></div><br></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>