# VMs hang when doing snapshot

**URL:** <https://forum.opennebula.io/t/vms-hang-when-doing-snapshot/5780>\
**Category:** Product Support\
**Created:** [March 8, 2018, 8:42am UTC](https://forum.opennebula.io/t/vms-hang-when-doing-snapshot/5780 "2018-03-08T08:42:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![madko](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/madko/32/4195_2.png) [@madko](https://forum.opennebula.io/u/madko)\
**Post date:** [March 8, 2018, 8:42am UTC](https://forum.opennebula.io/t/vms-hang-when-doing-snapshot/5780/1 "2018-03-08T08:42:59Z")

</div>

When trying to make a snapshot on a VM, the VM hangs undefinitely. I have this in logs:

```
mars 08 09:34:55 onexgsh015 libvirtd[2480]: 2018-03-08 08:34:55.309+0000: 2487: warning : qemuDomainObjBeginJobInternal:3827 : Cannot start job (query, none) for domain one-4749; current job is (async nested, snapshot) owned by (2484 remoteDispatchDomainSnapshotCreateXML, 2484 remoteDispatchDomainSnapshotCreateXML) for (1426s, 1426s)
mars 08 09:34:55 onexgsh015 libvirtd[2480]: 2018-03-08 08:34:55.309+0000: 2487: error : qemuDomainObjBeginJobInternal:3839 : Timed out during operation: cannot acquire state change lock (held by remoteDispatchDomainSnapshotCreateXML)

```

Same error if I try to resume the VM:

```
[root] # virsh resume 261
erreur :Timed out during operation: cannot acquire state change lock (held by remoteDispatchDomainSnapshotCreateXML)

```

I’m pretty sure it was working long time ago.

However the disk snapshot are working fine.

Any idea ?

OpenNebula 5.4.8 on CentOS 7.

Best regards,  
Edouard

---

<div class="post-metadata">

**Author:** ![madko](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/madko/32/4195_2.png) [@madko](https://forum.opennebula.io/u/madko)\
**Post date:** [March 12, 2018, 10:39am UTC](https://forum.opennebula.io/t/vms-hang-when-doing-snapshot/5780/2 "2018-03-12T10:39:32Z")

</div>

anyone is using vm snapshot tab ? I will try to upgrade to 5.4.9

---

<div class="post-metadata">

**Author:** ![madko](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/madko/32/4195_2.png) [@madko](https://forum.opennebula.io/u/madko)\
**Post date:** [March 14, 2018, 9:37am UTC](https://forum.opennebula.io/t/vms-hang-when-doing-snapshot/5780/3 "2018-03-14T09:37:39Z")

</div>

Should I open a bug report for this issue ?
