[one-users] Cannot create a VM snapshot

Ondrej Hamada ondrej.hamada at acision.com
Sun Sep 28 07:04:36 PDT 2014


Hi Pavel,

this check has failed:

if [ -x "/var/tmp/one/vmm/kvm/snapshot_create" ];

You should check that the 'snapshot_create' script is available on the
host in the specified path and that it is executable by oneadmin user.

Ondra

On 09/24/2014 04:22 PM, Pavel Tankov wrote:
> 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!
>

________________________________
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you for understanding.


More information about the Users mailing list