cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prachi Damle (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-4378) [Automation] [Regression] Affinity group test cases failed during VM deployment
Date Fri, 16 Aug 2013 22:43:47 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-4378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13742683#comment-13742683
] 

Prachi Damle commented on CLOUDSTACK-4378:
------------------------------------------

The deployVM is failing since the test is trying to deploy the VM as an Admin and there is
already more than one isolated network present in the admin account.
Did we change the test execution sequence? Can we run the suite alone after a cleanup?

Girish,

Why is the test creating VM using admin account? Why are we not passing account and domain
below?
        self.debug('Creating VM in AffinityGroup=%s' % ag_list)
        vm = VirtualMachine.create(
               api_client,
               self.services["virtual_machine"],
               templateid=self.template.id,
               serviceofferingid=self.service_offering.id,
               affinitygroupnames=ag_list,
               affinitygroupids=ag_ids
            )


                
> [Automation] [Regression] 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
>            Priority: Critical
>             Fix For: 4.2.0
>
>         Attachments: CLOUDSTACK-4378.rar, management-server.rar
>
>
> 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

Mime
View raw message