The 'snapshot_create' script is not available on /var/tmp/one/vmm/kvm/. The contents of this folder is:

# ls -l /var/tmp/one/vmm/kvm/
total 32
-rwxr-xr-x 1 oneadmin oneadmin  1596 Aug 20 11:25 cancel
-rwxr-xr-x 1 oneadmin oneadmin  1545 Aug 20 11:25 deploy
-rw-r--r-- 1 oneadmin oneadmin  1790 Aug 20 11:25 kvmrc
-rwxr-xr-x 1 oneadmin oneadmin 14255 Aug 20 11:25 poll
-rwxr-xr-x 1 oneadmin oneadmin  2304 Aug 20 11:25 shutdown

But isn't this a temporary folder. Is the script expected to be there?

On the other hand:

# find / -name snapshot_create
/var/lib/one/remotes/vmm/sl/snapshot_create
/var/lib/one/remotes/vmm/ec2/snapshot_create
/var/lib/one/remotes/vmm/kvm/snapshot_create
/var/lib/one/remotes/vmm/vmware/snapshot_create
/var/lib/one/remotes/vmm/az/snapshot_create
/var/lib/one/remotes/vmm/xen3/snapshot_create
/var/lib/one/remotes/vmm/xen4/snapshot_create

-- Pavel Tankov

On 09/28/2014 05:04 PM, Ondrej Hamada wrote:
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.
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to