Rayees Namathponnan created CLOUDSTACK-4021:
-----------------------------------------------

             Summary: [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
             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

Reply via email to