cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rayees Namathponnan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-6559) [Automation] SG test cases failing during vm deployment
Date Thu, 01 May 2014 21:52:14 GMT
Rayees Namathponnan created CLOUDSTACK-6559:
-----------------------------------------------

             Summary: [Automation] SG test cases failing during vm deployment 
                 Key: CLOUDSTACK-6559
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6559
             Project: CloudStack
          Issue Type: Test
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Management Server
    Affects Versions: 4.4.0
         Environment: KVM basic SG
            Reporter: Rayees Namathponnan
            Priority: Blocker
             Fix For: 4.4.0


Run test_tags.py in basic security group environment 

Test cases failing with below error 
"Unable to create security group, a group with name basic_sec_grp already exisits."


Test cases failing while creating 2 VMs, second VM creating failing 

215         cls.vm_1 = VirtualMachine.create(
 216                                     cls.api_client,
 217                                     cls.services["virtual_machine"],
 218                                     accountid=cls.account.name,
 219                                     domainid=cls.account.domainid,
 220                                     serviceofferingid=cls.service_offering.id,
 221                                     mode=cls.zone.networktype
 222                                 )
 223         cls.vm_2 = VirtualMachine.create(
 224                                     cls.api_client,
 225                                     cls.services["virtual_machine"],
 226                                     accountid=cls.account.name,
 227                                     domainid=cls.account.domainid,
 228                                     serviceofferingid=cls.service_offering.id,
 229                                     mode=cls.zone.networktype


Actual issue in below code base.py. in list security, we are not passing  listall=true,  this
required in latest 4.4 builds 


 240     @classmethod
 241     def ssh_access_group(cls, apiclient, cmd):
 242         """
 243         Programs the security group with SSH access before deploying virtualmachine
 244         @return:
 245         """
 246         zone_list = Zone.list(
 247             apiclient,
 248             id=cmd.zoneid if cmd.zoneid else None,
 249             domainid=cmd.domainid if cmd.domainid else None
 250         )
 251         zone = zone_list[0]
 252         #check if security groups settings is enabled for the zone
 253         if zone.securitygroupsenabled:
 254             list_security_groups = SecurityGroup.list(
 255                 apiclient,
 256                 account=cmd.account,
 257                 domainid=cmd.domainid,
 258                 securitygroupname="basic_sec_grp"
 259             )
 260 






--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message