> The issue seems to be in
>  
> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
> 
> 4289     private boolean isSnapshotSupported() {
> 4290         String result = executeBashScript("qemu-img --help|grep -E 
> convert|snapshot");

That should be: 
"qemu-img --help|grep convert |grep snapshot"
(had some local changes)

> 4291         if (result != null) {
> 4292             return false;
> 4293         } else {
> 4294             return true;
> 4295         }
> 4296     }
> 
> The help text differs between ubuntu and rhel:
> http://manpages.ubuntu.com/manpages/natty/man1/qemu-img.1.html
[precise] http://manpages.ubuntu.com/manpages/precise/man1/qemu-img.1.html

> 
> https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization_Administration_Guide/sect-Virtualization-Tips_and_tricks-Using_qemu_img.html
> 
> Should we depend on that?
> 
-- 
Prasanna.,

Reply via email to