[
https://issues.apache.org/jira/browse/CLOUDSTACK-4029?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rayees Namathponnan reopened CLOUDSTACK-4029:
---------------------------------------------
Failed in last run also, with below error
Error Message
Execute cmd: createsnapshot failed, due to: errorCode: 530, errorText:Creating
snapshot failed due to volume:592 is associated with vm:i-310-536-QA is in
Destroyed state
-------------------- >> begin captured logging << --------------------
testclient.testcase.TestResourceLimitsProject: DEBUG: Updating snapshot
resource limits for project: 073415c2-6fd9-456b-8036-c1dc21f63779
testclient.testcase.TestResourceLimitsProject: DEBUG: Deploying VM for account:
test-test_project_limits-2ZI2LX
testclient.testcase.TestResourceLimitsProject: DEBUG: Creating snapshot from
volume: e27286fe-e6d2-426d-87fc-4067845a6d73
--------------------- >> end captured logging << ---------------------
Stacktrace
File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
testMethod()
File
"/Repo_30X/ipcl/cloudstack/test/integration/component/test_project_limits.py",
line 782, in test_05_snapshots_per_project
projectid=self.project.id
File "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py",
line 775, in create
return Snapshot(apiclient.createSnapshot(cmd).__dict__)
File
"/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
line 701, in createSnapshot
response = self.connection.marvin_request(command, response_type=response,
method=method)
File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
line 222, in marvin_request
response = jsonHelper.getResultObj(response.json(), response_type)
File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line 148,
in getResultObj
raise cloudstackException.cloudstackAPIException(respname, errMsg)
Execute cmd: createsnapshot failed, due to: errorCode: 530, errorText:Creating
snapshot failed due to volume:592 is associated with vm:i-310-536-QA is in
Destroyed state
-------------------- >> begin captured logging << --------------------
testclient.testcase.TestResourceLimitsProject: DEBUG: Updating snapshot
resource limits for project: 073415c2-6fd9-456b-8036-c1dc21f63779
testclient.testcase.TestResourceLimitsProject: DEBUG: Deploying VM for account:
test-test_project_limits-2ZI2LX
testclient.testcase.TestResourceLimitsProject: DEBUG: Creating snapshot from
volume: e27286fe-e6d2-426d-87fc-4067845a6d73
--------------------- >> end captured logging << ---------------------
> [Automation] TestResourceLimitsProject.test_05_snapshots_per_project failed
> to take snapshot while VM are in Expunging
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-4029
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4029
> Project: CloudStack
> Issue Type: Test
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Automation
> Affects Versions: 4.2.0
> Reporter: Rayees Namathponnan
> Fix For: 4.2.0
>
>
> Test case
> integration.component.test_project_limits.TestResourceLimitsProject.test_05_snapshots_per_project
> failed with below error
> Error Message
> Execute cmd: createsnapshot failed, due to: errorCode: 431,
> errorText:VolumeId: 1143 is not in Ready state but Expunging. Cannot take
> snapshot.
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestResourceLimitsProject: DEBUG: Updating snapshot
> resource limits for project: fdb7ce2b-cf35-4f58-ad43-38966aa91bc6
> testclient.testcase.TestResourceLimitsProject: DEBUG: Deploying VM for
> account: test-test_project_limits-0OA2IY
> testclient.testcase.TestResourceLimitsProject: DEBUG: Creating snapshot from
> volume: abacc4ea-4151-45f2-b474-ba9a20880553
> --------------------- >> end captured logging << ---------------------
> Stacktrace
> File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
> testMethod()
> File
> "/Repo_30X/ipcl/cloudstack/test/integration/component/test_project_limits.py",
> line 782, in test_05_snapshots_per_project
> projectid=self.project.id
> File
> "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line
> 765, in create
> return Snapshot(apiclient.createSnapshot(cmd).__dict__)
> File
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
> line 701, in createSnapshot
> response = self.connection.marvin_request(command,
> response_type=response, method=method)
> File
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line
> 222, in marvin_request
> response = jsonHelper.getResultObj(response.json(), response_type)
> File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line
> 148, in getResultObj
> raise cloudstackException.cloudstackAPIException(respname, errMsg)
> Execute cmd: createsnapshot failed, due to: errorCode: 431,
> errorText:VolumeId: 1143 is not in Ready state but Expunging. Cannot take
> snapshot.
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestResourceLimitsProject: DEBUG: Updating snapshot
> resource limits for project: fdb7ce2b-cf35-4f58-ad43-38966aa91bc6
> testclient.testcase.TestResourceLimitsProject: DEBUG: Deploying VM for
> account: test-test_project_limits-0OA2IY
> testclient.testcase.TestResourceLimitsProject: DEBUG: Creating snapshot from
> volume: abacc4ea-4151-45f2-b474-ba9a20880553
> --------------------- >> end captured logging << ---------------------
--
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