You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Andrei Mikhailovsky <an...@arhont.com> on 2016/03/01 14:20:07 UTC

Re: Cannot take snapshot ok KVM in 4.8

When would this feature be finally added to ACS? I've been waiting for it for ages. I am sure others using KVM are also looking for a proper snapshotting function in ACS and not what it is at the moment.

Thanks

Andrei

----- Original Message -----
> From: "Simon Weller" <sw...@ena.com>
> To: "users" <us...@cloudstack.apache.org>
> Sent: Wednesday, 24 February, 2016 22:08:46
> Subject: Re: Cannot take snapshot ok KVM in 4.8

> VM snapshot on KVM is not currently supported. There is, however, a pending pull
> request  to fix this:
> 
> https://github.com/apache/cloudstack/pull/977
> 
> - Si
> 
> ________________________________________
> From: Somesh Naidu <So...@citrix.com>
> Sent: Wednesday, February 24, 2016 3:53 PM
> To: users@cloudstack.apache.org
> Subject: RE: Cannot take snapshot ok KVM in 4.8
> 
> Rui,
> 
> That global config is for volume snapshots not virtual machine snapshots.
> 
> Verify and update the following in the DB:
> select vm_snapshot_enabled from hypervisor_capabilities where
> hypervisor_type='KVM';
> 
> Regards,
> Somesh
> 
> 
> -----Original Message-----
> From: Rui Mao [mailto:maorui2k@163.com]
> Sent: Wednesday, February 24, 2016 4:31 AM
> To: users@cloudstack.apache.org
> Subject: Cannot take snapshot ok KVM in 4.8
> 
> Hi all,
> 
> 
> 
> CloudStack 4.8 & Ubuntu 14.04-3
> 
> 
> 
> I've set kvm.snapshot.enabled=true and rebooted the management server. But I
> still could not take snapshot of KVM VMs. Why?
> 
> 
> 
> 2016-02-24 15:19:48,565 DEBUG [c.c.a.ApiServlet]
> (catalina-exec-24:ctx-c807e476) (logid:e61e9a4e) ===START===  10.3.0.230 --
> GET
> command=createVMSnapshot&virtualmachineid=1ea88b02-a560-4651-ba70-7131b0ce2c
> 08&snapshotmemory=false&quiescevm=false&name=vm1&response=json&_=14562983878
> 66
> 
> 2016-02-24 15:19:48,583 INFO  [c.c.a.ApiServer]
> (catalina-exec-24:ctx-c807e476 ctx-e13a9b41) (logid:e61e9a4e) VM snapshot is
> not enabled for hypervisor type: KVM
> 
> 2016-02-24 15:19:48,584 DEBUG [c.c.a.ApiServlet]
> (catalina-exec-24:ctx-c807e476 ctx-e13a9b41) (logid:e61e9a4e) ===END===
> 10.3.0.230 -- GET
> command=createVMSnapshot&virtualmachineid=1ea88b02-a560-4651-ba70-7131b0ce2c
> 08&snapshotmemory=false&quiescevm=false&name=vm1&response=json&_=14562983878
> 66
> 
> 
> 
> Best regards,
> 
> Rui Mao

Re: Cannot take snapshot ok KVM in 4.8

Posted by Simon Weller <sw...@ena.com>.
The volume snapshot location depends on the underlying storage. Ceph primary storage is an example where the Ceph snapshot feature is utilized, keeping snaps on primary storage.
I believe Solidfire may also offer a similar functionality, but probably best to us them directly on that front.

The new VM based snapshot on KVM requires QCOW2 images due to the memory snapshot requirement (hence NFS), but it does keep them on primary storage.

- Si




________________________________________
From: Andrei Mikhailovsky <an...@arhont.com>
Sent: Tuesday, March 8, 2016 6:02 AM
To: users
Subject: Re: Cannot take snapshot ok KVM in 4.8

Great to hear we are finally getting to the bottom of one of the most annoying things still present in ACS when it comes to KVM hypervisors! I can't wait to try it out ))). The last remaining thing to do is to have the ability to keep the volume snapshots on the primary storage and use the storage's snapshotting capabilities. I think there is work in progress here as well )))

Andrei


----- Original Message -----
> From: "Simon Weller" <sw...@ena.com>
> To: "users" <us...@cloudstack.apache.org>
> Sent: Tuesday, 1 March, 2016 13:25:07
> Subject: Re: Cannot take snapshot ok KVM in 4.8

> It was rebased for 4.9.
>
> We have it build currently in one of our labs as of yesterday. It seems to be
> functioning as it should, although we're going to be putting it through it's
> paces over the next few days.
>
> - Si
>
> ________________________________________
> From: Andrei Mikhailovsky <an...@arhont.com>
> Sent: Tuesday, March 1, 2016 7:20 AM
> To: users
> Subject: Re: Cannot take snapshot ok KVM in 4.8
>
> When would this feature be finally added to ACS? I've been waiting for it for
> ages. I am sure others using KVM are also looking for a proper snapshotting
> function in ACS and not what it is at the moment.
>
> Thanks
>
> Andrei
>
> ----- Original Message -----
>> From: "Simon Weller" <sw...@ena.com>
>> To: "users" <us...@cloudstack.apache.org>
>> Sent: Wednesday, 24 February, 2016 22:08:46
>> Subject: Re: Cannot take snapshot ok KVM in 4.8
>
>> VM snapshot on KVM is not currently supported. There is, however, a pending pull
>> request  to fix this:
>>
>> https://github.com/apache/cloudstack/pull/977
>>
>> - Si
>>
>> ________________________________________
>> From: Somesh Naidu <So...@citrix.com>
>> Sent: Wednesday, February 24, 2016 3:53 PM
>> To: users@cloudstack.apache.org
>> Subject: RE: Cannot take snapshot ok KVM in 4.8
>>
>> Rui,
>>
>> That global config is for volume snapshots not virtual machine snapshots.
>>
>> Verify and update the following in the DB:
>> select vm_snapshot_enabled from hypervisor_capabilities where
>> hypervisor_type='KVM';
>>
>> Regards,
>> Somesh
>>
>>
>> -----Original Message-----
>> From: Rui Mao [mailto:maorui2k@163.com]
>> Sent: Wednesday, February 24, 2016 4:31 AM
>> To: users@cloudstack.apache.org
>> Subject: Cannot take snapshot ok KVM in 4.8
>>
>> Hi all,
>>
>>
>>
>> CloudStack 4.8 & Ubuntu 14.04-3
>>
>>
>>
>> I've set kvm.snapshot.enabled=true and rebooted the management server. But I
>> still could not take snapshot of KVM VMs. Why?
>>
>>
>>
>> 2016-02-24 15:19:48,565 DEBUG [c.c.a.ApiServlet]
>> (catalina-exec-24:ctx-c807e476) (logid:e61e9a4e) ===START===  10.3.0.230 --
>> GET
>> command=createVMSnapshot&virtualmachineid=1ea88b02-a560-4651-ba70-7131b0ce2c
>> 08&snapshotmemory=false&quiescevm=false&name=vm1&response=json&_=14562983878
>> 66
>>
>> 2016-02-24 15:19:48,583 INFO  [c.c.a.ApiServer]
>> (catalina-exec-24:ctx-c807e476 ctx-e13a9b41) (logid:e61e9a4e) VM snapshot is
>> not enabled for hypervisor type: KVM
>>
>> 2016-02-24 15:19:48,584 DEBUG [c.c.a.ApiServlet]
>> (catalina-exec-24:ctx-c807e476 ctx-e13a9b41) (logid:e61e9a4e) ===END===
>> 10.3.0.230 -- GET
>> command=createVMSnapshot&virtualmachineid=1ea88b02-a560-4651-ba70-7131b0ce2c
>> 08&snapshotmemory=false&quiescevm=false&name=vm1&response=json&_=14562983878
>> 66
>>
>>
>>
>> Best regards,
>>
> > Rui Mao

Re: Cannot take snapshot ok KVM in 4.8

Posted by Andrei Mikhailovsky <an...@arhont.com>.
Great to hear we are finally getting to the bottom of one of the most annoying things still present in ACS when it comes to KVM hypervisors! I can't wait to try it out ))). The last remaining thing to do is to have the ability to keep the volume snapshots on the primary storage and use the storage's snapshotting capabilities. I think there is work in progress here as well )))

Andrei


----- Original Message -----
> From: "Simon Weller" <sw...@ena.com>
> To: "users" <us...@cloudstack.apache.org>
> Sent: Tuesday, 1 March, 2016 13:25:07
> Subject: Re: Cannot take snapshot ok KVM in 4.8

> It was rebased for 4.9.
> 
> We have it build currently in one of our labs as of yesterday. It seems to be
> functioning as it should, although we're going to be putting it through it's
> paces over the next few days.
> 
> - Si
> 
> ________________________________________
> From: Andrei Mikhailovsky <an...@arhont.com>
> Sent: Tuesday, March 1, 2016 7:20 AM
> To: users
> Subject: Re: Cannot take snapshot ok KVM in 4.8
> 
> When would this feature be finally added to ACS? I've been waiting for it for
> ages. I am sure others using KVM are also looking for a proper snapshotting
> function in ACS and not what it is at the moment.
> 
> Thanks
> 
> Andrei
> 
> ----- Original Message -----
>> From: "Simon Weller" <sw...@ena.com>
>> To: "users" <us...@cloudstack.apache.org>
>> Sent: Wednesday, 24 February, 2016 22:08:46
>> Subject: Re: Cannot take snapshot ok KVM in 4.8
> 
>> VM snapshot on KVM is not currently supported. There is, however, a pending pull
>> request  to fix this:
>>
>> https://github.com/apache/cloudstack/pull/977
>>
>> - Si
>>
>> ________________________________________
>> From: Somesh Naidu <So...@citrix.com>
>> Sent: Wednesday, February 24, 2016 3:53 PM
>> To: users@cloudstack.apache.org
>> Subject: RE: Cannot take snapshot ok KVM in 4.8
>>
>> Rui,
>>
>> That global config is for volume snapshots not virtual machine snapshots.
>>
>> Verify and update the following in the DB:
>> select vm_snapshot_enabled from hypervisor_capabilities where
>> hypervisor_type='KVM';
>>
>> Regards,
>> Somesh
>>
>>
>> -----Original Message-----
>> From: Rui Mao [mailto:maorui2k@163.com]
>> Sent: Wednesday, February 24, 2016 4:31 AM
>> To: users@cloudstack.apache.org
>> Subject: Cannot take snapshot ok KVM in 4.8
>>
>> Hi all,
>>
>>
>>
>> CloudStack 4.8 & Ubuntu 14.04-3
>>
>>
>>
>> I've set kvm.snapshot.enabled=true and rebooted the management server. But I
>> still could not take snapshot of KVM VMs. Why?
>>
>>
>>
>> 2016-02-24 15:19:48,565 DEBUG [c.c.a.ApiServlet]
>> (catalina-exec-24:ctx-c807e476) (logid:e61e9a4e) ===START===  10.3.0.230 --
>> GET
>> command=createVMSnapshot&virtualmachineid=1ea88b02-a560-4651-ba70-7131b0ce2c
>> 08&snapshotmemory=false&quiescevm=false&name=vm1&response=json&_=14562983878
>> 66
>>
>> 2016-02-24 15:19:48,583 INFO  [c.c.a.ApiServer]
>> (catalina-exec-24:ctx-c807e476 ctx-e13a9b41) (logid:e61e9a4e) VM snapshot is
>> not enabled for hypervisor type: KVM
>>
>> 2016-02-24 15:19:48,584 DEBUG [c.c.a.ApiServlet]
>> (catalina-exec-24:ctx-c807e476 ctx-e13a9b41) (logid:e61e9a4e) ===END===
>> 10.3.0.230 -- GET
>> command=createVMSnapshot&virtualmachineid=1ea88b02-a560-4651-ba70-7131b0ce2c
>> 08&snapshotmemory=false&quiescevm=false&name=vm1&response=json&_=14562983878
>> 66
>>
>>
>>
>> Best regards,
>>
> > Rui Mao

Re: Cannot take snapshot ok KVM in 4.8

Posted by Simon Weller <sw...@ena.com>.
It was rebased for 4.9.

We have it build currently in one of our labs as of yesterday. It seems to be functioning as it should, although we're going to be putting it through it's paces over the next few days.

- Si

________________________________________
From: Andrei Mikhailovsky <an...@arhont.com>
Sent: Tuesday, March 1, 2016 7:20 AM
To: users
Subject: Re: Cannot take snapshot ok KVM in 4.8

When would this feature be finally added to ACS? I've been waiting for it for ages. I am sure others using KVM are also looking for a proper snapshotting function in ACS and not what it is at the moment.

Thanks

Andrei

----- Original Message -----
> From: "Simon Weller" <sw...@ena.com>
> To: "users" <us...@cloudstack.apache.org>
> Sent: Wednesday, 24 February, 2016 22:08:46
> Subject: Re: Cannot take snapshot ok KVM in 4.8

> VM snapshot on KVM is not currently supported. There is, however, a pending pull
> request  to fix this:
>
> https://github.com/apache/cloudstack/pull/977
>
> - Si
>
> ________________________________________
> From: Somesh Naidu <So...@citrix.com>
> Sent: Wednesday, February 24, 2016 3:53 PM
> To: users@cloudstack.apache.org
> Subject: RE: Cannot take snapshot ok KVM in 4.8
>
> Rui,
>
> That global config is for volume snapshots not virtual machine snapshots.
>
> Verify and update the following in the DB:
> select vm_snapshot_enabled from hypervisor_capabilities where
> hypervisor_type='KVM';
>
> Regards,
> Somesh
>
>
> -----Original Message-----
> From: Rui Mao [mailto:maorui2k@163.com]
> Sent: Wednesday, February 24, 2016 4:31 AM
> To: users@cloudstack.apache.org
> Subject: Cannot take snapshot ok KVM in 4.8
>
> Hi all,
>
>
>
> CloudStack 4.8 & Ubuntu 14.04-3
>
>
>
> I've set kvm.snapshot.enabled=true and rebooted the management server. But I
> still could not take snapshot of KVM VMs. Why?
>
>
>
> 2016-02-24 15:19:48,565 DEBUG [c.c.a.ApiServlet]
> (catalina-exec-24:ctx-c807e476) (logid:e61e9a4e) ===START===  10.3.0.230 --
> GET
> command=createVMSnapshot&virtualmachineid=1ea88b02-a560-4651-ba70-7131b0ce2c
> 08&snapshotmemory=false&quiescevm=false&name=vm1&response=json&_=14562983878
> 66
>
> 2016-02-24 15:19:48,583 INFO  [c.c.a.ApiServer]
> (catalina-exec-24:ctx-c807e476 ctx-e13a9b41) (logid:e61e9a4e) VM snapshot is
> not enabled for hypervisor type: KVM
>
> 2016-02-24 15:19:48,584 DEBUG [c.c.a.ApiServlet]
> (catalina-exec-24:ctx-c807e476 ctx-e13a9b41) (logid:e61e9a4e) ===END===
> 10.3.0.230 -- GET
> command=createVMSnapshot&virtualmachineid=1ea88b02-a560-4651-ba70-7131b0ce2c
> 08&snapshotmemory=false&quiescevm=false&name=vm1&response=json&_=14562983878
> 66
>
>
>
> Best regards,
>
> Rui Mao