Rayees Namathponnan created CLOUDSTACK-4378:
-----------------------------------------------

             Summary: [Automation]  Affinity group test cases failed during VM 
deployment 
                 Key: CLOUDSTACK-4378
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4378
             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 cases from Affinity group failed with latest build, its was 100% pass with 
HEAD 950672ef8c8a40386c9fedec9b39423ee7b0324a

but 15 test cases failed in last run; all test cases failed with error 


Execute cmd: deployvirtualmachine failed, due to: errorCode: 431, 
errorText:More than 1 default Isolated networks are found for account 
Acct[20c01a3c-0624-11e3-963b-1a6f7bb0d0a8-admin]; please specify networkIds
-------------------- >> begin captured logging << --------------------
testclient.testcase.TestDeployVMAffinityGroups: DEBUG: Creating VM in 
AffinityGroup=[u'aff_grp_2RTSV0', u'aff_grp_7AHYVX']


I can see below error in MS log, is it due to recent change in Affinity Group ?

2013-08-16 04:16:59,956 DEBUG [cloud.async.AsyncJobManagerImpl] 
(Job-Executor-2:job-1345 = [ 4f9e5d7a-3672-40ef-8d18-e72ab71874e8 ]) Complete 
async job-1345 = [ 4f9e5d7a-3672-
40ef-8d18-e72ab71874e8 ], jobStatus: 1, resultCode: 0, result: 
org.apache.cloudstack.affinity.AffinityGroupResponse@3a747cde
2013-08-16 04:16:59,958 DEBUG [cloud.api.ApiServlet] (catalina-exec-23:null) 
===START===  10.223.240.194 -- GET  
signature=xvW6R8g%2FZY8IirLFg4rrDte58XA%3D&apiKey=qQZPYXw_yB_2
7QIr1nfXiYobjZqe3YbTDh5EbPqK2oL91HYgRwPKC3vb4k6F5LdRHMaztJelwCnlWZgXDx3cTw&command=queryAsyncJobResult&response=json&jobid=4f9e5d7a-3672-40ef-8d18-e72ab71874e8
2013-08-16 04:16:59,964 DEBUG [cloud.async.AsyncJobManagerImpl] 
(Job-Executor-2:job-1345 = [ 4f9e5d7a-3672-40ef-8d18-e72ab71874e8 ]) Done 
executing org.apache.cloudstack.api.c
ommand.user.affinitygroup.CreateAffinityGroupCmd for job-1345 = [ 
4f9e5d7a-3672-40ef-8d18-e72ab71874e8 ]
2013-08-16 04:16:59,967 DEBUG [cloud.async.AsyncJobManagerImpl] 
(catalina-exec-23:null) Async job-1345 = [ 4f9e5d7a-3672-40ef-8d18-e72ab71874e8 
] completed
2013-08-16 04:16:59,971 DEBUG [cloud.api.ApiServlet] (catalina-exec-23:null) 
===END===  10.223.240.194 -- GET  
signature=xvW6R8g%2FZY8IirLFg4rrDte58XA%3D&apiKey=qQZPYXw_yB_27Q
Ir1nfXiYobjZqe3YbTDh5EbPqK2oL91HYgRwPKC3vb4k6F5LdRHMaztJelwCnlWZgXDx3cTw&command=queryAsyncJobResult&response=json&jobid=4f9e5d7a-3672-40ef-8d18-e72ab71874e8
2013-08-16 04:16:59,974 DEBUG [cloud.api.ApiServlet] (catalina-exec-18:null) 
===START===  10.223.240.194 -- GET  
apiKey=qQZPYXw_yB_27QIr1nfXiYobjZqe3YbTDh5EbPqK2oL91HYgRwPKC3v
b4k6F5LdRHMaztJelwCnlWZgXDx3cTw&affinitygroupnames=aff_grp_W8HXDD%2Caff_grp_BPYP6W&zoneid=f57bd70d-f00a-4f73-97b4-f8bd31ce613b&serviceofferingid=d6b9f855-c1ec-4ba7-9844-e27382
215fb6&signature=Dnn47jTVH4XeOXLoF1KieCqnGqw%3D&templateid=c2a7e4e8-0623-11e3-963b-1a6f7bb0d0a8&response=json&command=deployVirtualMachine&hypervisor=KVM
2013-08-16 04:16:59,980 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-18:null) 
InfrastructureEntity name is:com.cloud.offering.ServiceOffering
2013-08-16 04:16:59,982 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-18:null) 
ControlledEntity name is:com.cloud.template.VirtualMachineTemplate
2013-08-16 04:16:59,983 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-18:null) 
ControlledEntity name is:org.apache.cloudstack.affinity.AffinityGroup
2013-08-16 04:17:00,009 INFO  [cloud.api.ApiServer] (catalina-exec-18:null) 
More than 1 default Isolated networks are found for account 
Acct[20c01a3c-0624-11e3-963b-1a6f7bb0d0a8-admin]; please specify networkIds


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