[
https://issues.apache.org/jira/browse/CLOUDSTACK-4021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13727534#comment-13727534
]
Gaurav Aradhye commented on CLOUDSTACK-4021:
--------------------------------------------
It couldn't find any suitable host according to mgt server logs.
The host which is dedicated for the VM, its cluster is in avoid list.
Log:
2013-07-06 03:00:53,669 DEBUG [cloud.deploy.FirstFitPlanner]
(Job-Executor-165:job-1276 = [ 0d6c154d-f36b-4180-92fe-e6b54bf19a19 ]) No
clusters found after remo
ving disabled clusters and clusters in avoid list, returning.
2013-07-06 03:00:53,671 DEBUG [cloud.vm.UserVmManagerImpl]
(Job-Executor-165:job-1276 = [ 0d6c154d-f36b-4180-92fe-e6b54bf19a19 ])
Destroying vm VM[User|88ff041d
-33c5-417e-bf03-3c57e30d7f53] as it failed to create on Host with Id:null
> [Automation]
> TestExplicitDedication.test_01_deploy_vm_with_explicit_dedication failed to
> deploy VM
> --------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-4021
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4021
> 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
> Reporter: Rayees Namathponnan
> Assignee: Saksham Srivastava
> Fix For: 4.2.0
>
>
> Test case
> "integration.component.test_explicit_dedication.TestExplicitDedication.test_01_deploy_vm_with_explicit_dedication"
> failing automation runs
> Error Message
> Execute cmd: asyncquery failed, due to: {errorcode : 533, errortext :
> u'Unable to create a deployment for
> VM[User|dec11341-27b0-4fc9-86f4-7570037a456c], Please check the affinity
> groups provided, there may not be sufficient capacity to follow them'}
> Stacktrace
> 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/component/test_explicit_dedication.py",
> line 204, in test_01_deploy_vm_with_explicit_dedication
> mode=self.services["mode"]
> File
> "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line
> 388, 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
> 230, in marvin_request
> response = self.poll(asyncJobId, response_type)
> File
> "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line
> 91, in poll
> "asyncquery", asyncResonse.jobresult)
> cloudstackAPIException: Execute cmd: asyncquery failed, due to: {errorcode :
> 533, errortext : u'Unable to create a deployment for
> VM[User|dec11341-27b0-4fc9-86f4-7570037a456c], Please check the affinity
> groups provided, there may not be sufficient capacity to follow them'}
> Looks like test case trying to create VM eventhough there is no host with
> emplty VM
--
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