Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5145111E2B for ; Mon, 5 May 2014 05:45:19 +0000 (UTC) Received: (qmail 779 invoked by uid 500); 5 May 2014 05:45:17 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 748 invoked by uid 500); 5 May 2014 05:45:16 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 738 invoked by uid 500); 5 May 2014 05:45:16 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 733 invoked by uid 99); 5 May 2014 05:45:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 May 2014 05:45:16 +0000 Date: Mon, 5 May 2014 05:45:16 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-6559) [Automation] SG test cases failing during vm deployment MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-6559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13989296#comment-13989296 ] ASF subversion and git services commented on CLOUDSTACK-6559: ------------------------------------------------------------- Commit 8f1498dc8c0088b8b744f5b3b6daf7ba48c96b3d in cloudstack's branch refs/heads/master from [~gpshilamkar] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=8f1498d ] CLOUDSTACK-6559: Added listall=True to list vm API > [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, 4.5.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)