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 C2D0EF094 for ; Tue, 13 Aug 2013 06:54:51 +0000 (UTC) Received: (qmail 66441 invoked by uid 500); 13 Aug 2013 06:54:50 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 66424 invoked by uid 500); 13 Aug 2013 06:54:49 -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 66406 invoked by uid 500); 13 Aug 2013 06:54:48 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 66396 invoked by uid 99); 13 Aug 2013 06:54:47 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Aug 2013 06:54:47 +0000 Date: Tue, 13 Aug 2013 06:54:47 +0000 (UTC) From: "venkata swamybabu budumuru (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CLOUDSTACK-4282) [SharedNetworks] Unable to create multiple shared networks with different VLAN but with same CIDR 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-4282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] venkata swamybabu budumuru updated CLOUDSTACK-4282: --------------------------------------------------- Attachment: logs.tgz > [SharedNetworks] Unable to create multiple shared networks with different VLAN but with same CIDR > ------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-4282 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4282 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Network Controller > Affects Versions: 4.2.0 > Environment: commit id # e6d03f2322822aee331a1a2aa60190c4c755c402 > Reporter: venkata swamybabu budumuru > Priority: Critical > Fix For: 4.2.0 > > Attachments: logs.tgz > > > Steps to reproduce: > 1. Have latest CloudStack setup with at least 1 advanced zone. > 2. Create a shared network with the following details using the defaultSharedNetworkOffering > VLAN : 1200 > gateway : 1.1.1.1 > startip : 1.1.1.100 > endip : 1.1.1.110 > 3. Create another shared network with different VLAN but with same above subnet > VLAN : 1200 > gateway : 1.1.1.1 > startip : 1.1.1.100 > endip : 1.1.1.110 > Observations: > (i) It fails with the following error > The IP range with tag: 1200 in zone zone1 has overlapped with the subnet. Please specify a different gateway/netmask. > (ii) Ideally, it should let admin create multiple shared networks with same subnet when the corresponding VLAN ids are different. > Attaching all the required logs along with db dump to the bug. > *** Marvin tests for shared networks are failing due to the above issue. > Here is one such test failure > integration.component.test_shared_networks.TestSharedNetworks.test_createSharedNetwork_usedVlan2 (from nosetests) > Failing for the past 2 builds (Since Unstable#133 ) > Took 0.25 sec. > Error Message > Execute cmd: createnetwork failed, due to: errorCode: 431, errorText:The IP range with tag: 1200 in zone Adv-KVM-Zone1 has overlapped with the subnet. Please specify a different gateway/netmask. > -------------------- >> begin captured logging << -------------------- > testclient.testcase.TestSharedNetworks: DEBUG: Admin account created: 41fe45fd-c721-4396-b49c-1f9cafbc2d6a > testclient.testcase.TestSharedNetworks: DEBUG: Physical Network found: 4b414b4e-8e90-4ef4-9e33-eb56970cd30f > testclient.testcase.TestSharedNetworks: DEBUG: Shared Network Offering created: f86ab03b-6ccd-4115-acc6-699c4c542108 > testclient.testcase.TestSharedNetworks: DEBUG: Creating a shared network in non-cloudstack VLAN 2361 > --------------------- >> end captured logging << --------------------- > Stacktrace > File "/usr/local/lib/python2.7/unittest/case.py", line 318, in run > testMethod() > File "/Repo_30X/ipcl/cloudstack/test/integration/component/test_shared_networks.py", line 2063, in test_createSharedNetwork_usedVlan2 > zoneid=self.zone.id, > File "/usr/local/lib/python2.7/site-packages/marvin/integration/lib/base.py", line 1940, in create > return Network(apiclient.createNetwork(cmd).__dict__) > File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 1709, in createNetwork > response = self.connection.marvin_request(command, response_type=response, method=method) > File "/usr/local/lib/python2.7/site-packages/marvin/cloudstackConnection.py", line 222, in marvin_request > response = jsonHelper.getResultObj(response.json(), response_type) > File "/usr/local/lib/python2.7/site-packages/marvin/jsonHelper.py", line 148, in getResultObj > raise cloudstackException.cloudstackAPIException(respname, errMsg) > Execute cmd: createnetwork failed, due to: errorCode: 431, errorText:The IP range with tag: 1200 in zone Adv-KVM-Zone1 has overlapped with the subnet. Please specify a different gateway/netmask. > -------------------- >> begin captured logging << -------------------- > testclient.testcase.TestSharedNetworks: DEBUG: Admin account created: 41fe45fd-c721-4396-b49c-1f9cafbc2d6a > testclient.testcase.TestSharedNetworks: DEBUG: Physical Network found: 4b414b4e-8e90-4ef4-9e33-eb56970cd30f > testclient.testcase.TestSharedNetworks: DEBUG: Shared Network Offering created: f86ab03b-6ccd-4115-acc6-699c4c542108 > testclient.testcase.TestSharedNetworks: DEBUG: Creating a shared network in non-cloudstack VLAN 2361 -- 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