[openstack-dev] [neutron][routed-network] Host doesn't connected any segments when creating port

zhi changzhi1990 at gmail.com
Mon Oct 31 10:43:36 UTC 2016


Hi, all.

Recently, I watch the OpenStack Summit video named ' Scaling Up OpenStack
Networking with Routed Networks '.  Carl and Miguel made this topic.  I
learned a lot of your topic. Thanks.

But I have some questions about the demo in the topic.

I do some steps according to the topic.

First, creating two networks like this:

neutron net-create multinet --shared --segments type=dict list=true
provider:physical_network=physnet1,provider:segmentation_id=2016,provider:network_type=vlan

provider:physical_network=physnet2,provider:segmentation_id=2016,provider:network_type=vlan


Second, I get two segments after creating this network. I get these
segments by using " openstack network segment list ".

Third, I create two subnets by these segments by using this command "

neutron subnet-create --ip_version 4 --name multi-segment1-subnet [net-id]
10.1.0.0/24 --segment_id [segment-id]
neutron subnet-create --ip_version 4 --name multi-segment2-subnet [net-id]
10.1.1.0/24 --segment_id [segment-id]
 "

At last, I want to create a port with host_id. My local environment
contains two compute nodes, one is named "devstack"  and the other is
"devstack2". So I use this command "  neutron port-create
--binding:host_id=devstack [net-id] ".

Exception happens in neutron server. The exception says "

Host devstack is not connected to any segments on routed provider network
[net-id].  It should be connected to one." I can not get this exact point
about this exception.

Why does the "routed network" have relationship with host?

How they work together between "host info (compute node ?)" and "routed
network"?

What should I do if I want to get rid of this exception?


Hope for your reply. Especially Carl and Miguel. ;-)



Many Thanks
Zhi Chang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20161031/9f8bf280/attachment.html>


More information about the OpenStack-dev mailing list