[one-users] Cannot create a VM snapshot

Pavel Tankov pavel.tankov at strategyobject.com
Wed Sep 24 07:22:07 PDT 2014


Hello,

I have Opennebula 4.8 on CentOS 6.5. I have installed from the Marketplace
CentOS 7 - KVM - OpenNebula 4.8

I am able to instantiate it and it runs fine. However, when I click on 
the running VM --> Snapshots --> Take snapshot, It doesn't get created 
and in the log there is this:

--- log begin ---
Wed Sep 24 17:13:41 2014 [Z0][DiM][I]: New VM state is ACTIVE.
Wed Sep 24 17:13:41 2014 [Z0][LCM][I]: New VM state is PROLOG.
Wed Sep 24 17:13:42 2014 [Z0][LCM][I]: New VM state is BOOT
Wed Sep 24 17:13:42 2014 [Z0][VMM][I]: Generating deployment file: 
/var/lib/one/vms/61/deployment.0
Wed Sep 24 17:13:42 2014 [Z0][VMM][I]: ExitCode: 0
Wed Sep 24 17:13:42 2014 [Z0][VMM][I]: Successfully execute network 
driver operation: pre.
Wed Sep 24 17:13:42 2014 [Z0][VMM][I]: ExitCode: 0
Wed Sep 24 17:13:42 2014 [Z0][VMM][I]: Successfully execute 
virtualization driver operation: deploy.
Wed Sep 24 17:13:42 2014 [Z0][VMM][I]: ExitCode: 0
Wed Sep 24 17:13:42 2014 [Z0][VMM][I]: Successfully execute network 
driver operation: post.
Wed Sep 24 17:13:43 2014 [Z0][LCM][I]: New VM state is RUNNING
Wed Sep 24 17:15:05 2014 [Z0][VMM][I]: Command execution fail: 'if [ -x 
"/var/tmp/one/vmm/kvm/snapshot_create" ]; then 
/var/tmp/one/vmm/kvm/snapshot_create one-61 0 61 localhost; else exit 
42; fi'
Wed Sep 24 17:15:05 2014 [Z0][VMM][I]: Warning: Permanently added 
'localhost' (RSA) to the list of known hosts.
Wed Sep 24 17:15:05 2014 [Z0][VMM][I]: ExitCode: 42
Wed Sep 24 17:15:05 2014 [Z0][VMM][E]: Error creating new VM Snapshot
--- log end ---

Please, note that the image is from the Marketplace and is supposed to 
be qcow2, e.g. to support snapshots.
I tried both with the image set to "Persistent: no" and "Persistent: yes".
I tried with both the image set to "Type: OS" and "Type: DATABLOCK".

What could be the problem?
Thanks!

-- 
Pavel Tankov


More information about the Users mailing list