[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13561233#comment-13561233
 ] 

Fang Wang commented on CLOUDSTACK-732:
--------------------------------------

Try to create snapshot using the MS API, it took 2-4 minutes to create, and 
then failed with the following message:
"Created snapshot: 
com.cloud.storage.SnapshotVO$$EnhancerByCGLIB$$17aa7fa@1f3ca72 on primary but 
failed to backup on secondary"
I checked on the instances on MS, it does not list any snapshot it created; 

However, on the KVM host, with the libvert API, it shows the 4 snapshots I 
created with the CS MS API, but they are not on secondary storage. 

[root@localhost CloudStack-non-OSS-13]# virsh list
 Id    Name                           State
----------------------------------------------------
 1     s-13-VM                        running
 2     v-10-VM                        running
 3     r-15-VM                        running
 4     i-2-14-VM                      running
 5     i-2-16-VM                      running
 6     i-2-17-VM                      running
virsh # snapshot-list i-2-16-VM
 Name                 Creation Time             State
------------------------------------------------------------
 8f8279ea-ee0a-4c69-b4a8-dba751cbbd5f_DATA-16_20130121055813 2013-01-23 
17:13:43 -0500 running

virsh # snapshot-list i-2-17-VM
 Name                 Creation Time             State
------------------------------------------------------------
 26fb9eb1-68d4-42c6-98e1-0a2ef6128744_DATA-17_20130121061225 2013-01-23 
17:27:55 -0500 running
 26fb9eb1-68d4-42c6-98e1-0a2ef6128744_DATA-17_20130121061456 2013-01-23 
17:30:26 -0500 running
 26fb9eb1-68d4-42c6-98e1-0a2ef6128744_ROOT-17_20130121060805 2013-01-23 
17:23:34 -0500 running


                
> Add back KVM snapshot support
> -----------------------------
>
>                 Key: CLOUDSTACK-732
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-732
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: KVM
>    Affects Versions: 4.0.0
>         Environment: RHEL 6.3
>            Reporter: edison su
>            Assignee: Fang Wang
>            Priority: Critical
>             Fix For: 4.1.0
>
>
> In the latest KVM(on both RHEL 6.3 and Ubuntu 12.04), it supports external 
> snapshot. We need to investigate the status of external snapshot, as far as I 
> know, it still doesn't support disk-only snapshot(taking snapshot will pause 
> VM for a long time, e.g. few minutes). 
> 1. testing external snapshot: take an external snapshot instead of default 
> qcow2 internal snapshot, then back it up into backup storage. Only need to 
> test with libvirt snapshot API, if it works, then works, no need to hack on 
> the qemu-kvm.
> 2. test how long it will pause a VM during taking snapshot. from link [2] and 
> [3], only qemu-kvm-rhev supports disk-only snapshot, not sure ubuntu 12.04 
> supports it or not. We need to investigate on the issue.
> If item 1 and item 2(disk-only snapshot) works, then we can support default 
> kvm qcow2 snapshot again.
> The link: 
> [1] 
> http://kashyapc.wordpress.com/2011/10/04/snapshotting-with-libvirt-for-qcow2-images/
> [2] 
> http://www.linux-kvm.com/content/first-look-virtual-machine-online-disk-snapshots-coming-fedora-18
> [3] http://www.redhat.com/archives/libvir-list/2012-July/msg00782.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to