[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-3505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sudha Ponnaganti closed CLOUDSTACK-3505.
----------------------------------------

    
> [Automation] Test case test_DeployVmAntiAffinityGroup failed to find affinity 
> group and testing failed during VM deployment 
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3505
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3505
>             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: 4.2 Marvin
> 4.2 build
> 4.2 test cases 
>            Reporter: Rayees Namathponnan
>            Assignee: Girish Shilamkar
>            Priority: Blocker
>             Fix For: 4.2.0
>
>
> Smoke test TestDeployVmWithAffinityGroup.test_DeployVmAntiAffinityGroup 
> failed in 4.2 branch 
> Test case failed with below errir 
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
>     testMethod()
>   File 
> "/Repo_30X/ipcl/cloudstack/test/integration/smoke/test_affinity_groups.py", 
> line 126, in test_DeployVmAntiAffinityGroup
>     affinitygroupnames=[self.ag.name]
>   File 
> "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line 
> 317, in create
>     virtual_machine = apiclient.deployVirtualMachine(cmd, method=method)
>   File 
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
>  line 605, 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)
> cloudstackAPIException: Execute cmd: deployvirtualmachine failed, due to: 
> errorCode: 431, errorText:Unable to find affinity group by name webvms

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