[
https://issues.apache.org/jira/browse/CLOUDSTACK-3696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sanjay Tripathi resolved CLOUDSTACK-3696.
-----------------------------------------
Resolution: Fixed
> Test case
> test_project_limits.TestResourceLimitsProject.test_06_volumes_per_project
> failed due to volume usage exceeded for project
> -----------------------------------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-3696
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3696
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Automation
> Affects Versions: 4.2.0
> Environment: Automation
> 4.2
> Reporter: Rayees Namathponnan
> Assignee: Sanjay Tripathi
> Fix For: 4.2.0
>
> Attachments: vmops.log.tar.bz2
>
>
> Test cases failed with below error
> Error Message
> Execute cmd: deployvirtualmachine failed, due to: errorCode: 535,
> errorText:Maximum number of resources of type 'volume' for project
> name=Project-03710I in domain id=34 has been exceeded.
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestResourceLimitsProject: DEBUG: Updating volume
> resource limits for project: 9a95e867-8932-4449-8676-ac4e3884c814
> testclient.testcase.TestResourceLimitsProject: DEBUG: Deploying VM for
> project: 9a95e867-8932-4449-8676-ac4e3884c814
> --------------------- >> 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 806, in test_06_volumes_per_project
> projectid=self.project.id
> File
> "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line
> 394, in create
> virtual_machine = apiclient.deployVirtualMachine(cmd, method=method)
> File
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
> line 614, in deployVirtualMachine
> 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: deployvirtualmachine failed, due to: errorCode: 535,
> errorText:Maximum number of resources of type 'volume' for project
> name=Project-03710I in domain id=34 has been exceeded.
> -------------------- >> begin captured logging << --------------------
> testclient.testcase.TestResourceLimitsProject: DEBUG: Updating volume
> resource limits for project: 9a95e867-8932-4449-8676-ac4e3884c814
> testclient.testcase.TestResourceLimitsProject: DEBUG: Deploying VM for
> project: 9a95e867-8932-4449-8676-ac4e3884c814
> --------------------- >> 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