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

ASF subversion and git services commented on CLOUDSTACK-3618:
-------------------------------------------------------------

Commit 52fa8532bb2821f9b5472e713a905bc6b7f712b5 in branch refs/heads/4.2 from 
[~sanjay.tripathi]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=52fa853 ]

CLOUDSTACK-3618: When project account does not exist, API now throws exception

API call listprojectaccounts failed, and test case
test_projects.py:test_08_cleanup_after_project_delete failed due to
this

Signed-off-by: Prasanna Santhanam <[email protected]>

                
> [Automation] API call listprojectaccounts failed, and test case 
> test_projects.py:test_08_cleanup_after_project_delete failed due to this
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3618
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3618
>             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 KVM and VMare
> 4.2 branch build
>            Reporter: Rayees Namathponnan
>            Assignee: Sanjay Tripathi
>             Fix For: 4.2.0
>
>
> Test case 
> integration.component.test_projects.TestProjectResources.test_08_cleanup_after_project_delete
>   failed with below error 
>  File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
>     testMethod()
>   File 
> "/data/Repo2/qa/cloudstack/test/integration/component/test_projects.py", line 
> 1430, in test_08_cleanup_after_project_delete
>     accounts = Project.listAccounts(self.apiclient, projectid=project.id)
>   File 
> "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line 
> 2547, in listAccounts
>     return(apiclient.listProjectAccounts(cmd))
>   File 
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
>  line 1756, in listProjectAccounts
>     response = self.connection.marvin_request(command, 
> response_type=response, method=method)
>   File 
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 
> 223, in marvin_request
>     response = jsonHelper.getResultObj(response.json(), response_type)
>   File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line 
> 128, in getResultObj
>     raise 
> cloudstackException.cloudstackAPIException(responseName.replace("response", 
> ""), errMsg)
> Execute cmd: listprojectaccounts failed, due to: errorCode: 431, 
> errorText:Unable to find the project id=39

--
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