<div dir="ltr">Hi Pavel,<div><br></div><div>that is pretty strange, the snapshot_* files should be there, under the /var/tmp/one path.</div><div><br></div><div>Can you force the sync with "onehost sync --force"?</div><div><br></div><div>cheers,<br>Jaime</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 30, 2014 at 10:10 AM, Pavel Tankov <span dir="ltr"><<a href="mailto:pavel.tankov@strategyobject.com" target="_blank">pavel.tankov@strategyobject.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">opennebula-node package is installed:<br>
<br>
# rpm -qa | grep opennebula-node<br>
opennebula-node-kvm-4.8.0-1.<u></u>x86_64<br>
<br>
The command onehost sync returns this:<br>
<br>
# onehost sync<br>
No hosts are going to be updated.<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Pavel Tankov<br>
<br>
On 09/30/2014 11:06 AM, Hamada, Ondrej wrote:<br>
</font></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888">
Maybe you have to run `onehost sync` against that node or install opennebula-node package.<br>
<br>
O.</font></span><div><div class="h5"><br>
<br>
<br>
-----Original Message-----<br>
From: Users [mailto:<a href="mailto:users-bounces@lists.opennebula.org" target="_blank">users-bounces@lists.<u></u>opennebula.org</a>] On Behalf Of Pavel Tankov<br>
Sent: Tuesday, September 30, 2014 9:03 AM<br>
To: <a href="mailto:users@lists.opennebula.org" target="_blank">users@lists.opennebula.org</a><br>
Subject: Re: [one-users] Cannot create a VM snapshot<br>
<br>
The 'snapshot_create' script is not available on /var/tmp/one/vmm/kvm/.<br>
The contents of this folder is:<br>
<br>
# ls -l /var/tmp/one/vmm/kvm/<br>
total 32<br>
-rwxr-xr-x 1 oneadmin oneadmin  1596 Aug 20 11:25 cancel -rwxr-xr-x 1 oneadmin oneadmin  1545 Aug 20 11:25 deploy<br>
-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<br>
<br>
But isn't this a temporary folder. Is the script expected to be there?<br>
<br>
On the other hand:<br>
<br>
# find / -name snapshot_create<br>
/var/lib/one/remotes/vmm/sl/<u></u>snapshot_create<br>
/var/lib/one/remotes/vmm/ec2/<u></u>snapshot_create<br>
/var/lib/one/remotes/vmm/kvm/<u></u>snapshot_create<br>
/var/lib/one/remotes/vmm/<u></u>vmware/snapshot_create<br>
/var/lib/one/remotes/vmm/az/<u></u>snapshot_create<br>
/var/lib/one/remotes/vmm/xen3/<u></u>snapshot_create<br>
/var/lib/one/remotes/vmm/xen4/<u></u>snapshot_create<br>
<br>
-- Pavel Tankov<br>
<br>
On 09/28/2014 05:04 PM, Ondrej Hamada wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Pavel,<br>
<br>
this check has failed:<br>
<br>
if [ -x "/var/tmp/one/vmm/kvm/<u></u>snapshot_create" ];<br>
<br>
You should check that the 'snapshot_create' script is available on the<br>
host in the specified path and that it is executable by oneadmin user.<br>
<br>
Ondra<br>
<br>
On 09/24/2014 04:22 PM, Pavel Tankov wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
I have Opennebula 4.8 on CentOS 6.5. I have installed from the<br>
Marketplace CentOS 7 - KVM - OpenNebula 4.8<br>
<br>
I am able to instantiate it and it runs fine. However, when I click<br>
on the running VM --> Snapshots --> Take snapshot, It doesn't get<br>
created and in the log there is this:<br>
<br>
--- log begin ---<br>
Wed Sep 24 17:13:41 2014 [Z0][DiM][I]: New VM state is ACTIVE.<br>
Wed Sep 24 17:13:41 2014 [Z0][LCM][I]: New VM state is PROLOG.<br>
Wed Sep 24 17:13:42 2014 [Z0][LCM][I]: New VM state is BOOT Wed Sep<br>
24 17:13:42 2014 [Z0][VMM][I]: Generating deployment file:<br>
/var/lib/one/vms/61/<u></u>deployment.0<br>
Wed Sep 24 17:13:42 2014 [Z0][VMM][I]: ExitCode: 0 Wed Sep 24<br>
17:13:42 2014 [Z0][VMM][I]: Successfully execute network driver<br>
operation: pre.<br>
Wed Sep 24 17:13:42 2014 [Z0][VMM][I]: ExitCode: 0 Wed Sep 24<br>
17:13:42 2014 [Z0][VMM][I]: Successfully execute virtualization<br>
driver operation: deploy.<br>
Wed Sep 24 17:13:42 2014 [Z0][VMM][I]: ExitCode: 0 Wed Sep 24<br>
17:13:42 2014 [Z0][VMM][I]: Successfully execute network driver<br>
operation: post.<br>
Wed Sep 24 17:13:43 2014 [Z0][LCM][I]: New VM state is RUNNING Wed<br>
Sep 24 17:15:05 2014 [Z0][VMM][I]: Command execution fail: 'if [ -x<br>
"/var/tmp/one/vmm/kvm/<u></u>snapshot_create" ]; then<br>
/var/tmp/one/vmm/kvm/snapshot_<u></u>create one-61 0 61 localhost; else exit<br>
42; fi'<br>
Wed Sep 24 17:15:05 2014 [Z0][VMM][I]: Warning: Permanently added<br>
'localhost' (RSA) to the list of known hosts.<br>
Wed Sep 24 17:15:05 2014 [Z0][VMM][I]: ExitCode: 42 Wed Sep 24<br>
17:15:05 2014 [Z0][VMM][E]: Error creating new VM Snapshot<br>
--- log end ---<br>
<br>
Please, note that the image is from the Marketplace and is supposed<br>
to be qcow2, e.g. to support snapshots.<br>
I tried both with the image set to "Persistent: no" and "Persistent:<br>
yes".<br>
I tried with both the image set to "Type: OS" and "Type: DATABLOCK".<br>
<br>
What could be the problem?<br>
Thanks!<br>
<br>
</blockquote>
<br>
______________________________<u></u>__<br>
This e-mail and any attachment is for authorised use by the intended<br>
recipient(s) only. It may contain proprietary material, confidential<br>
information and/or be subject to legal privilege. It should not be<br>
copied, disclosed to, retained or used by, any other party. If you are<br>
not an intended recipient then please promptly delete this e-mail and<br>
any attachment and all copies and inform the sender. Thank you for<br>
understanding.<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/<u></u>listinfo.cgi/users-opennebula.<u></u>org</a><br>
</blockquote>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/<u></u>listinfo.cgi/users-opennebula.<u></u>org</a><br>
______________________________<u></u>__<br>
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.<br>
<br>
</div></div></blockquote><div class="HOEnZb"><div class="h5">
<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/<u></u>listinfo.cgi/users-opennebula.<u></u>org</a><br>
</div></div></blockquote></div><br></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Jaime Melis<br>Project Engineer<br>OpenNebula - Flexible Enterprise Cloud Made Simple<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a></div></div>