<br><br><div class="gmail_quote">On Tue, Oct 4, 2011 at 7:42 PM, Jason Brian Friedrich <span dir="ltr"><<a href="mailto:mail@friedrich.org.uk">mail@friedrich.org.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hey Trey,<br>
<br>
just a quick update. If you add the CR repo for CentOS 6.0 you will<br>
get an updated RPM which solves the problem for me.<br>
<div class="im"><br>
 - Jason<br>
<br>
On Tue, Oct 4, 2011 at 01:43, Trey Dockendorf <<a href="mailto:treydock@gmail.com">treydock@gmail.com</a>> wrote:<br>
><br>
><br>
</div><div><div></div><div class="h5">> On Tue, Sep 27, 2011 at 6:48 AM, Jason Brian Friedrich<br>
> <<a href="mailto:mail@friedrich.org.uk">mail@friedrich.org.uk</a>> wrote:<br>
>><br>
>> System: CentOS Linux release 6.0 (final)<br>
>> Kernel: 2.6.32-71.23.1.el6.x86_64<br>
>> KVM: QEMU PC emulator version 0.12.1 (qemu-kvm-0.12.1.2)<br>
>> Libvirt: ibvirtd (libvirt) 0.8.1<br>
>><br>
>><br>
>> Hi everyone,<br>
>><br>
>> I only recently subscribed to this list and hope you can shed some<br>
>> light on the following error. I created a VM on my Centos 6 KVM<br>
>> machine, used a qcow2 image and wanted to create a snapshot via 'virsh<br>
>> snapshot-create' command:<br>
>><br>
>> //<br>
>> [root@kvmhost ~]# virsh snapshot-create server01<br>
>> error: internal error unable to execute QEMU command 'savevm': The<br>
>> command savevm has not been found<br>
>> \\<br>
>><br>
>> I googled before the post, found some [0] threads [1], but could not<br>
>> find an answer how to solve the problem. If the kvm-qemu lacks the<br>
>> support of a savevm monitor, how can I add one? Do I need to recompile<br>
>> kvm-qemu with special flags or is simply a RPM package or a module<br>
>> missing?<br>
>><br>
>> Thanks in advance,<br>
>><br>
>>  - Jason<br>
>><br>
>><br>
>> [0] <a href="http://lists.centos.org/pipermail/centos-virt/2011-July/002557.html" target="_blank">http://lists.centos.org/pipermail/centos-virt/2011-July/002557.html</a><br>
>> [1]<br>
>> <a href="https://www.redhat.com/archives/libvirt-users/2011-August/msg00011.html" target="_blank">https://www.redhat.com/archives/libvirt-users/2011-August/msg00011.html</a><br>
>> _______________________________________________<br>
>> CentOS-virt mailing list<br>
>> <a href="mailto:CentOS-virt@centos.org">CentOS-virt@centos.org</a><br>
>> <a href="http://lists.centos.org/mailman/listinfo/centos-virt" target="_blank">http://lists.centos.org/mailman/listinfo/centos-virt</a><br>
><br>
> I ran into this too.  Unfortunately I haven't found a solution either, but<br>
> here's an interesting bug report that shows this effects all the way up to<br>
> Fedora 15,  <a href="https://bugzilla.redhat.com/show_bug.cgi?id=727709" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=727709</a>.  The one fix<br>
> mentioned 89241fe0, I've actually patched into the CentOS libvirt RPM, but<br>
> from testing it doesn't seem to be enough. I now can run the snapshot-create<br>
> command without error, but nothing appears to happen. I've tested creating<br>
> files, taking a snapshot, deleting files and reverting and nothing comes<br>
> back or changes. Also the qcow2 images don't change at all during this time<br>
> either. I'm working on applying the other commits mentioned in Comment #4,<br>
> but am running into problems since most of those commits are 0.9.0+ and I'm<br>
> patching CentOS's 0.8.1.<br>
> I'd love to know if anyone actually has snapshots working in CentOS 5 or 6.<br>
> This is kind of a critical feature to the entire virtualization process.<br>
> - Trey<br>
><br>
> _______________________________________________<br>
> CentOS-virt mailing list<br>
> <a href="mailto:CentOS-virt@centos.org">CentOS-virt@centos.org</a><br>
> <a href="http://lists.centos.org/mailman/listinfo/centos-virt" target="_blank">http://lists.centos.org/mailman/listinfo/centos-virt</a><br>
><br>
><br>
_______________________________________________<br>
CentOS-virt mailing list<br>
<a href="mailto:CentOS-virt@centos.org">CentOS-virt@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos-virt" target="_blank">http://lists.centos.org/mailman/listinfo/centos-virt</a></div></div></blockquote><div><br></div><div>Awesome thanks for the info!  </div><div>
<br></div><div>Unfortunately I hit a new error, very related it seems to the original problem, but then I get this error....</div><div>-----------</div><div><div># virsh snapshot-create CentOSVM_0</div><div>error: operation failed: failed to take snapshot using command 'savevm "1317846732"'</div>
</div><div><br></div><div><br></div><div><br></div><div>In full debug output I see it failover to HMP, but this is what appears to be the relevant debug info.  If the full debug is desired let me know (it's like 1000 lines long spanning 1 second)</div>
<div>---------------</div><div><div>15:27:12.473: 8080: debug : qemuMonitorJSONIOProcessLine:116 : Line [{"error": {"class": "CommandNotFound", "desc": "The command human-monitor-command has not been found", "data": {"name": "human-monitor-command"}}}]</div>
<div>15:27:12.473: 8080: debug : virJSONValueFromString:933 : string={"error": {"class": "CommandNotFound", "desc": "The command human-monitor-command has not been found", "data": {"name": "human-monitor-command"}}}</div>
</div><div><br></div></div><br><div>This was with libvirt-0.8.7-18.el6_1.1 from CentOS 6 CR.  I restarted the libvirtd daemon after the upgrade, still same result.  Restarted the VM also , still same.  I only updated libvirt, libvirt-client and libvirt-python from CR, haven't done a full system update.  I'll try the full update next, but any suggestions are welcome in the mean time.</div>
<div><br></div><div>Thanks</div><div>- Trey</div>