From dev-return-110973-archive-asf-public=cust-asf.ponee.io@cloudstack.apache.org Mon Mar 5 13:31:25 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 8724C180608 for ; Mon, 5 Mar 2018 13:31:24 +0100 (CET) Received: (qmail 17754 invoked by uid 500); 5 Mar 2018 12:31:18 -0000 Mailing-List: contact dev-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 dev@cloudstack.apache.org Received: (qmail 17738 invoked by uid 99); 5 Mar 2018 12:31:17 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Mar 2018 12:31:17 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 788B2180461 for ; Mon, 5 Mar 2018 12:31:17 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.102 X-Spam-Level: X-Spam-Status: No, score=-0.102 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=li.nux.ro Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id hgh310mYcD9V for ; Mon, 5 Mar 2018 12:31:14 +0000 (UTC) Received: from mailserver.lastdot.org (mailserver.lastdot.org [31.193.175.196]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 2FCDB5F190 for ; Mon, 5 Mar 2018 12:31:14 +0000 (UTC) Received: from localhost (localhost [IPv6:::1]) by mailserver.lastdot.org (Postfix) with ESMTP id 2898A2CF92B for ; Mon, 5 Mar 2018 12:31:07 +0000 (GMT) Received: from mailserver.lastdot.org ([IPv6:::1]) by localhost (mailserver.lastdot.org [IPv6:::1]) (amavisd-new, port 10032) with ESMTP id CzNY0qnGx5Da for ; Mon, 5 Mar 2018 12:31:04 +0000 (GMT) Received: from localhost (localhost [IPv6:::1]) by mailserver.lastdot.org (Postfix) with ESMTP id 562492CF926 for ; Mon, 5 Mar 2018 12:31:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.10.3 mailserver.lastdot.org 562492CF926 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=li.nux.ro; s=C605E3A6-F3C6-11E3-AEB0-DFF9218DCAC4; t=1520253064; bh=2Q8g9qw0QZULJkVxX5JHfuMOWqejfFTbgnczDqds1SA=; h=Date:From:To:Message-ID:MIME-Version; b=AjD+IhA8IPnX2/V2+SRK85xilBuU2M9BLjQpmLOxB1UOz+8Hn4/rYOm3twTwUIFow 7qbTxmeNbdyHyo0dKsNiPkUnC0ycgDxuDDGc2Wy6FgImB6uKcc8WAMtI9lEu2guF4R 6uw262kKrr8y7EUtY/ab2jnD1r+jsgODT2wRQkTk= X-Virus-Scanned: amavisd-new at mailserver.lastdot.org Received: from mailserver.lastdot.org ([IPv6:::1]) by localhost (mailserver.lastdot.org [IPv6:::1]) (amavisd-new, port 10026) with ESMTP id HfE1Nff3AEcC for ; Mon, 5 Mar 2018 12:31:04 +0000 (GMT) Received: from mailserver.lastdot.org (mailserver.lastdot.org [31.193.175.196]) by mailserver.lastdot.org (Postfix) with ESMTP id 7048B2CF923 for ; Mon, 5 Mar 2018 12:31:02 +0000 (GMT) Date: Mon, 5 Mar 2018 12:31:01 +0000 (GMT) From: Nux! To: dev Message-ID: <728225070.2615.1520253061754.JavaMail.zimbra@li.nux.ro> In-Reply-To: References: <1976080549.5494.1517916603435.JavaMail.zimbra@li.nux.ro> <70918625.5621.1517923507272.JavaMail.zimbra@li.nux.ro> <951698439.7374.1518100176299.JavaMail.zimbra@li.nux.ro> <1812413707.7517.1518105809469.JavaMail.zimbra@li.nux.ro> Subject: Re: Refusing to design this network, the physical isolation type is not BCF_SEGMENT MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Mailer: Zimbra 8.7.0_GA_1659 (ZimbraWebClient - FF58 (Linux)/8.7.0_GA_1659) Thread-Topic: Refusing to design this network, the physical isolation type is not BCF_SEGMENT Thread-Index: 9t1cWuPiCeld66c8ULWbHCJPRKand+yF5EMRGQ11xWj/ORObCosqEKbGzBCjIHGo7hiy6wn/Fl36 And thank you for fixing it! -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro ----- Original Message ----- > From: "Nicolas Vazquez" > To: "dev" > Sent: Monday, 5 March, 2018 11:16:44 > Subject: Re: Refusing to design this network, the physical isolation type is not BCF_SEGMENT > Solved, thanks for testing and raising the issue! This will be included on > 4.11.1 > > ________________________________ > From: Nux! > Sent: Thursday, February 8, 2018 1:03:29 PM > To: dev > Subject: Re: Refusing to design this network, the physical isolation type is not > BCF_SEGMENT > > Tested, now I can add L2 network on the back of vxlan phsyical network, but I > have found a problem. > > It doesn't seem to like VNI ids higher than those for VLANs which is 4096, > however VXLAN's max id is about 16 millions, so this is a problem that needs a > fix. > > Here are some logs: > > 2018-02-08 15:50:00,738 WARN [resource.wrapper.LibvirtStartCommandWrapper] > (agentRequest-Handler-4:null) (logid:bd9fbea5) InternalErrorException > com.cloud.exception.InternalErrorException: Failed to create vnet 33333: > RTNETLINK answers: Numerical result out of rangeCannot find device > "bond0.33333"Failed to create vlan 33333 on pif: bond0. > > -- > Sent from the Delta quadrant using Borg technology! > > Nux! > www.nux.ro > > > Nicolas.Vazquez@shapeblue.com > www.shapeblue.com > , > @shapeblue > > > > ----- Original Message ----- >> From: "Nux!" >> To: "dev" >> Sent: Thursday, 8 February, 2018 14:29:36 >> Subject: Re: Refusing to design this network, the physical isolation type is not >> BCF_SEGMENT > >> Thanks! Any idea where blueorangutan keeps the rpms? >> >> -- >> Sent from the Delta quadrant using Borg technology! >> >> Nux! >> www.nux.ro >> >> ----- Original Message ----- >>> From: "Nicolas Vazquez" >>> To: "dev" >>> Sent: Wednesday, 7 February, 2018 12:12:00 >>> Subject: Re: Refusing to design this network, the physical isolation type is not >>> BCF_SEGMENT >> >>> I have pushed a fix for this on PR 2448. Can you please test it? >>> >>> ________________________________ >>> From: Nux! >>> Sent: Tuesday, February 6, 2018 10:25:07 AM >>> To: dev >>> Subject: Re: Refusing to design this network, the physical isolation type is not >>> BCF_SEGMENT >>> >>> Thanks Nicolas, much appreciated. >>> Once you have a patch, feel free to ping me so I can test. >>> >>> -- >>> Sent from the Delta quadrant using Borg technology! >>> >>> Nux! >>> www.nux.ro >>> >>> >>> Nicolas.Vazquez@shapeblue.com >>> www.shapeblue.com >>> , >>> @shapeblue >>> >>> >>> >>> ----- Original Message ----- >>>> From: "Nicolas Vazquez" >>>> To: "dev" >>>> Sent: Tuesday, 6 February, 2018 13:23:54 >>>> Subject: Re: Refusing to design this network, the physical isolation type is not >>>> BCF_SEGMENT >>> >>>> Hi Lucian, >>>> >>>> >>>> Thanks for posting this issue. I have checked the canHandle() method on >>>> VxlanGuestNetworkGuru and it is not considering L2 network offerings, only >>>> Isolated, so it refuses to design the network. I'll make sure to include a fix >>>> for it on 4.11.1. >>>> >>>> >>>> Thanks, >>>> >>>> Nicolas >>>> >>>> ________________________________ >>>> From: Nux! >>>> Sent: Tuesday, February 6, 2018 8:30:03 AM >>>> To: dev >>>> Subject: [L2 network] [VXLAN] Refusing to design this network, the physical >>>> isolation type is not BCF_SEGMENT >>>> >>>> Hi, >>>> >>>> I'm trying to add an L2 network based on a VXLAN physical network and I am >>>> getting the error in the subject. >>>> >>>> If I use a VLAN based physical network all completes successfully and I end up >>>> with an L2 network in green "Setup" state. >>>> >>>> Here are some more logs: >>>> >>>> 2018-02-06 11:20:27,748 DEBUG [c.c.n.NetworkServiceImpl] >>>> (qtp788117692-390:ctx-f1a980be ctx-61be30e8) (logid:0ca0c866) Found physical >>>> network id=201 based on requested tags mellanoxvxlan >>>> 2018-02-06 11:20:27,749 DEBUG [c.c.n.NetworkServiceImpl] >>>> (qtp788117692-390:ctx-f1a980be ctx-61be30e8) (logid:0ca0c866) Found physical >>>> network id=201 based on requested tags mellanoxvxlan >>>> 2018-02-06 11:20:27,766 DEBUG [c.c.n.g.BigSwitchBcfGuestNetworkGuru] >>>> (qtp788117692-390:ctx-f1a980be ctx-61be30e8) (logid:0ca0c866) Refusing to >>>> design this network, the physical isolation type is not BCF_SEGMENT >>>> 2018-02-06 11:20:27,766 DEBUG [o.a.c.n.c.m.ContrailGuru] >>>> (qtp788117692-390:ctx-f1a980be ctx-61be30e8) (logid:0ca0c866) Refusing to >>>> design this network >>>> 2018-02-06 11:20:27,767 DEBUG [c.c.n.g.NiciraNvpGuestNetworkGuru] >>>> (qtp788117692-390:ctx-f1a980be ctx-61be30e8) (logid:0ca0c866) Refusing to >>>> design this network >>>> 2018-02-06 11:20:27,767 DEBUG [o.a.c.n.o.OpendaylightGuestNetworkGuru] >>>> (qtp788117692-390:ctx-f1a980be ctx-61be30e8) (logid:0ca0c866) Refusing to >>>> design this network >>>> 2018-02-06 11:20:27,767 DEBUG [c.c.n.g.OvsGuestNetworkGuru] >>>> (qtp788117692-390:ctx-f1a980be ctx-61be30e8) (logid:0ca0c866) Refusing to >>>> design this network >>>> 2018-02-06 11:20:27,769 DEBUG [o.a.c.n.g.SspGuestNetworkGuru] >>>> (qtp788117692-390:ctx-f1a980be ctx-61be30e8) (logid:0ca0c866) SSP not >>>> configured to be active >>>> 2018-02-06 11:20:27,769 DEBUG [c.c.n.g.BrocadeVcsGuestNetworkGuru] >>>> (qtp788117692-390:ctx-f1a980be ctx-61be30e8) (logid:0ca0c866) Refusing to >>>> design this network >>>> 2018-02-06 11:20:27,769 DEBUG [c.c.n.g.NuageVspGuestNetworkGuru] >>>> (qtp788117692-390:ctx-f1a980be ctx-61be30e8) (logid:0ca0c866) Refusing to >>>> design network using network offering 19 on physical network 201 >>>> 2018-02-06 11:20:27,770 DEBUG [o.a.c.e.o.NetworkOrchestrator] >>>> (qtp788117692-390:ctx-f1a980be ctx-61be30e8) (logid:0ca0c866) Releasing lock >>>> for Acct[6af2875b-04fc-11e8-923e-002590474525-admin] >>>> 2018-02-06 11:20:27,789 DEBUG [c.c.u.d.T.Transaction] >>>> (qtp788117692-390:ctx-f1a980be ctx-61be30e8) (logid:0ca0c866) Rolling back the >>>> transaction: Time = 38 Name = qtp788117692-390; called by >>>> -TransactionLegacy.rollback:889-TransactionLegacy.removeUpTo:832-TransactionLegacy.close:656-Transaction.execute:43-Transaction.execute:47-NetworkOrchestrator.createGuestNetwork:2315-NetworkServiceImpl$4.doInTransaction:1383-NetworkServiceImpl$4.doInTransaction:1331-Transaction.execute:40-NetworkServiceImpl.commitNetwork:1331-NetworkServiceImpl.createGuestNetwork:1294-NativeMethodAccessorImpl.invoke0:-2 >>>> 2018-02-06 11:20:27,798 ERROR [c.c.a.ApiServer] (qtp788117692-390:ctx-f1a980be >>>> ctx-61be30e8) (logid:0ca0c866) unhandled exception executing api command: >>>> [Ljava.lang.String;@43b9df02 >>>> com.cloud.utils.exception.CloudRuntimeException: Unable to convert network >>>> offering with specified id to network profile >>>> at >>>> org.apache.cloudstack.engine.orchestration.NetworkOrchestrator.setupNetwork(NetworkOrchestrator.java:726) >>>> at >>>> org.apache.cloudstack.engine.orchestration.NetworkOrchestrator$10.doInTransaction(NetworkOrchestrator.java:2364) >>>> at >>>> org.apache.cloudstack.engine.orchestration.NetworkOrchestrator$10.doInTransaction(NetworkOrchestrator.java:2315) >>>> at com.cloud.utils.db.Transaction$2.doInTransaction(Transaction.java:50) >>>> at com.cloud.utils.db.Transaction.execute(Transaction.java:40) >>>> at com.cloud.utils.db.Transaction.execute(Transaction.java:47) >>>> >>>> >>>> -- >>>> Sent from the Delta quadrant using Borg technology! >>>> >>>> Nux! >>>> www.nux.ro >>>> >>>> Nicolas.Vazquez@shapeblue.com >>>> www.shapeblue.com >>>> , > > > > @shapeblue