[Openstack-operators] [VMware][neutron]nova-network
gilles.mocellin at nuagelibre.org
gilles.mocellin at nuagelibre.org
Mon Oct 5 08:05:11 UTC 2015
Le 2015-10-04 23:27, Adam Lawson a écrit :
> Hi Gilles, ESXi uses linuxbridges or are you referring to a multi
> hypervisor scenario? Curious you know the names in advance.......
Hi,
EXSi / vSphere use their own network stack, I use a dvSwitch.
I'm not currently on a multi-hypervisor config, but that's a goal.
I have started a POC with just vSphere to validate the interoperability.
To know the bridges names, simply watch on the network node after
creating the networks.
Here is my network and subnet creation :
# neutron net-create --shared --provider:network_type vlan
--provider:physical_network physvlans --provider:segmentation_id 2005
data
# neutron subnet-create --no-gateway --enable-dhcp --name data-subnet
--allocation-pool start=10.105.134.245,end=10.105.134.249 data
10.105.134.243/22
Then, after some seconds :
# brctl show
bridge name bridge id STP enabled interfaces
brq48bf07ce-6e 8000.005056bc6a06 no
eth2.2005
tapf18ab703-c1
So, I have to create a portGroup in my vSphere dvSwitch, with the name
brq48bf07ce-6e.
Eth2 is my VLAN trunk interface, attached to the br-int portGroup, in
the same dvSwitch.
The problem I had for several days was that you need the Neutron
linuxbridge plugin agent on the compute node, even if I thought it was
not necessary,
with VMware, the compute node is just a proxy to vCenter, it does not
need local bridges as with KVM.
But without the linuxbridge agent, nova will just bind the instances to
br-int (like the default config integration_bridge says)
So, perhaps it is a collateral effect, not really wanted, but it's
working !
> On Oct 4, 2015 2:15 PM, "Gilles Mocellin"
> <gilles.mocellin at nuagelibre.org> wrote:
>
>> Le 04/10/2015 03:29, Adam Lawson a écrit :
>>
>>> So I have to ask, last I heard, you have to run nova network if
>>> you want to use OpenStack with VMware without an nsx license. Is
>>> this still the case or are there plans for changes in the near
>>> future that I missed where one can run neutron with VMware without
>>> an NSX license procurement?
>>>
>>> Just wondering, haven't heard but I do know there are efforts to
>>> sunset nova network at some point...
>>>
>>> //adam
>> Hello,
>>
>> I've just manage to make it work with Neutron ML2 / Linuxbridge /
>> VLAN provider networks.
>> The only drawback is that you have to pre-create portGroups with the
>> names of the linux bridges created on the compute node / network
>> node.
>> You also have to create a trunk portGroup br-int, with promiscuous,
>> transmit forge and MAC modification accepted.
>> This is where you connect the VLAN interface of your network node.
>>
>> It's a bit condensed, but now you know it's possible !
>>
>> PS:
>> There a ML2 mechanism driver : vmware_dvs that should ease this,
>> creating the portgroups, but :
>> - It's not packages on Ubuntu cloud archive
>> - I didn't manage to make it work. I had errors creating some access
>> policies...
>>
>> --
>> GillesMo
>>
>> _______________________________________________
>> OpenStack-operators mailing list
>> OpenStack-operators at lists.openstack.org
>>
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>> [1]
>
>
> Links:
> ------
> [1]
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
More information about the OpenStack-operators
mailing list