[
https://issues.apache.org/jira/browse/CLOUDSTACK-3288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Prasanna Santhanam reassigned CLOUDSTACK-3288:
----------------------------------------------
Assignee: Prasanna Santhanam
> [BVT] DeployVM in Affinity Group Test fails
> -------------------------------------------
>
> Key: CLOUDSTACK-3288
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3288
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Affects Versions: 4.2.0
> Reporter: Prasanna Santhanam
> Assignee: Prasanna Santhanam
> Priority: Critical
> Fix For: 4.2.0
>
> Attachments: 456.tar.bz2
>
>
> For the past 17 or so builds the test for deploying VMs in affinity group has
> been failing
> Execute cmd: deployvirtualmachine failed, due to: errorCode: 431,
> errorText:Unable to find affinity group by name webvms
> Stacktrace
> Traceback (most recent call last):
> File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run
> testMethod()
> File
> "/var/lib/jenkins/workspace/test-smoke-matrix/suite/test_affinity_groups/test/integration/smoke/test_affinity_groups.py",
> line 126, in test_DeployVmAntiAffinityGroup
> affinitygroupnames=[self.ag.name]
> File
> "/var/lib/jenkins/workspace/test-smoke-matrix/suite/test_affinity_groups/559/lib/python2.7/site-packages/marvin/integration/lib/base.py",
> line 317, in create
> virtual_machine = apiclient.deployVirtualMachine(cmd, method=method)
> File
> "/var/lib/jenkins/workspace/test-smoke-matrix/suite/test_affinity_groups/559/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py",
> line 550, in deployVirtualMachine
> response = self.connection.marvin_request(command,
> response_type=response, method=method)
> File
> "/var/lib/jenkins/workspace/test-smoke-matrix/suite/test_affinity_groups/559/lib/python2.7/site-packages/marvin/cloudstackConnection.py",
> line 222, in marvin_request
> response = jsonHelper.getResultObj(response.json(), response_type)
> File
> "/var/lib/jenkins/workspace/test-smoke-matrix/suite/test_affinity_groups/559/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