I have pushed a fix for this on PR 2448. Can you please test it? ________________________________ From: Nux! <n...@li.nux.ro> 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.vazq...@shapeblue.comĀ www.shapeblue.com , @shapeblue ----- Original Message ----- > From: "Nicolas Vazquez" <nicolas.vazq...@shapeblue.com> > To: "dev" <dev@cloudstack.apache.org> > 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! <n...@li.nux.ro> > 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.vazq...@shapeblue.com > www.shapeblue.com<http://www.shapeblue.com> > , > @shapeblue