cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kiwiflyer <...@git.apache.org>
Subject [GitHub] cloudstack issue #977: [4.10] CLOUDSTACK-8746: VM Snapshotting implementatio...
Date Wed, 11 Jan 2017 10:11:25 GMT
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.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message