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

ASF GitHub Bot commented on CLOUDSTACK-8746:
--------------------------------------------

Github user kiwiflyer commented on the issue:

    https://github.com/apache/cloudstack/pull/977
  
    @ustcweizhou @rhtyd 
    
    So the vmsnapshot test seems might need some work. Here's the exception it 
threw:
    
    2017-01-10 17:27:01,025 - CRITICAL - EXCEPTION: 
test_01_create_vm_snapshots: ['Traceback (most recent call last):\n', '  File 
"/usr/lib64/python2.7/unittest/case.py", line 369, in run\n    testMethod()\n', 
'  File "/marvin/tests/smoke/test_vm_snapshots.py", line 158, in 
test_01_create_vm_snapshots\n    "Dsiplay Text"\n', '  File 
"/usr/lib/python2.7/site-packages/marvin/lib/base.py", line 4702, in create\n   
 return VmSnapshot(apiclient.createVMSnapshot(cmd).__dict__)\n', '  File 
"/usr/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", 
line 1281, in createVMSnapshot\n    response = 
self.connection.marvinRequest(command, response_type=response, 
method=method)\n', '  File 
"/usr/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 379, in 
marvinRequest\n    raise e\n', 'CloudstackAPIException: Execute cmd: 
createvmsnapshot failed, due to: errorCode: 431, errorText:KVM VM does not 
allow to take a disk-only snapshot when VM is in running state\n']
    
    The nuance here is that you need to specify snapshotmemory=true in order to 
take a KVM snapshot with the VM running.


> VM Snapshotting implementation for KVM
> --------------------------------------
>
>                 Key: CLOUDSTACK-8746
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8746
>             Project: CloudStack
>          Issue Type: Improvement
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>            Reporter: Wei Zhou
>            Assignee: Wei Zhou
>
> Currently it is not supported.
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/VM+Snapshots



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to