Ask Your Question
0

Openvswitch port allocation issue (vm won't create with br-int error in logs) [closed]

asked 2016-08-25 13:54:59 -0600

updated 2016-08-25 15:32:03 -0600

Tried all sorts of different configurations to get this to bind. I think this is right, ovs sees the physical ports and i can create external flat networks with the bridges. When the vm comes up an ip is allocated for a second then disappears. If i create an internal network, an ip will be allocated. I have checked all over. Attached logs, neutron config and interface configs to my git:

https://github.com/mrbriancollins/wtf... 10.1.13.251 - controller, network 10.1.13.11-14 - compute

logs are taken in debug mode from startup. I have no idea why this won't bind a port.....

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by bcollins
close date 2016-09-04 09:14:59.959455

Comments

Should be misconfiguration berwenn Neutron Server on Controller && OVS agent on Compute
I would expect corresponding logs to report ERROR. Check rabbitmq-server status on Controlle

dbaxps gravatar imagedbaxps ( 2016-08-28 11:11:10 -0600 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2016-09-01 22:41:37 -0600

updated 2016-09-03 10:17:33 -0600

Found in logs after debug:

server.log-2016-09-03 10:32:50.293 29943 DEBUG neutron.plugins.ml2.drivers.mech_agent [req-8e7fca9d-72d2-47df-9a67-7a30caa1494b cb007d49ed6e41489a6bdba01bf7d7b4 f676583a2d834cde8e2c70adddd4f080 - - -] Network dce250d6-1150-4acf-a7a9-e009637b3ef9 is connected to physical network br-15, but agent platform2.orbit8.com reported physical networks {u'br10': u'br-10', u'br15': u'br-15', u'br-ex': u'br-ex'}. The physical network must be configured on the agent if binding is to succeed. check_segment_for_agent /usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/mech_agent.py:216 server.log:2016-09-03 10:32:50.294 29943 ERROR neutron.plugins.ml2.managers [req-8e7fca9d-72d2-47df-9a67-7a30caa1494b cb007d49ed6e41489a6bdba01bf7d7b4 f676583a2d834cde8e2c70adddd4f080 - - -] Failed to bind port 8f468f59-322b-4aa8-8ad0-23b33eda297b on host platform2.orbit8.com for vnic_type normal using segments [{'segmentation_id': None, 'physical_network': u'br-15', 'id': u'dce250d6-1150-4acf-a7a9-e009637b3ef9', 'network_type': u'flat'}]

remapped bridges, ports are now attaching.

added file foo to my repo which is a grep of session id 415b6af1-e47a-4ac6-912f-aeddd9d5d1b1 through all the servers.... this session id is me trying to raise a defaut cirros , no storage, one network, smallest config.

https://github.com/mrbriancollins/wtf...

added log to latest commit:

    new file:   platform2.orbit8.com/dhcp-agent.log
    new file:   platform2.orbit8.com/foo_inst
    new file:   platform2.orbit8.com/lbaas-agent.log
    new file:   platform2.orbit8.com/metadata-agent.log
    new file:   platform2.orbit8.com/metering-agent.log
    new file:   platform2.orbit8.com/neutron-ns-metadata-proxy-1ca651c8-29d3-4548-9e14-ea983ce939ad.log
    new file:   platform2.orbit8.com/neutron-ns-metadata-proxy-37e0f9fa-0277-4083-85be-5a24832d393e.log
    new file:   platform2.orbit8.com/openvswitch-agent.log
    new file:   platform2.orbit8.com/ovs-cleanup.log
    new file:   platform2.orbit8.com/server.log
    new file:   platform2.orbit8.com/vpn-agent.log
    new file:   stack1.orbit8.com/openvswitch-agent.log
    new file:   stack2.orbit8.com/openvswitch-agent.log
    new file:   stack3.orbit8.com/openvswitch-agent.log
    new file:   stack4.orbit8.com/openvswitch-agent.log
edit flag offensive delete link more

Comments

1

I have asked you to provide the logs. Is my English good enough to understand what I need you to do ?

dbaxps gravatar imagedbaxps ( 2016-09-02 00:55:54 -0600 )edit
0

answered 2016-08-28 11:16:51 -0600

dbaxps gravatar image

updated 2016-08-28 11:19:27 -0600

Using field to comment
You wrote :
10.1.13.251 - controller, network 10.1.13.11-14 - compute
Looks as a typo
Post CIDR of yours mgmt nenwork.
Should be misconfiguration between Neutron Server on Controller && OVS agent on Compute
I would expect corresponding logs to report ERROR. Check rabbitmq-server status on Controlle

edit flag offensive delete link more

Comments

layout is as so:

 mgnt network = 10.1.13.0/24
controller = 10.1.13.251
network = 10.1.13.251

compute = 10.1.13.11, 10.1.13.12, 10.1.13.13, 10.1.13.14

i have 3 networks to use for openstack:
10.1.10.0/24 = br10
10.1.15.0/24 = br15
50.205.206.32/27 = br999
bcollins gravatar imagebcollins ( 2016-08-31 08:54:09 -0600 )edit

its odd too because it pulls an ip address then the ip address disappears and the build fails.... it can pull a floating ip address as well but i haven't tested connectivity

bcollins gravatar imagebcollins ( 2016-08-31 09:01:56 -0600 )edit
1

I would expect you to check logs :-

1. /var/log/neutron/neutron-server.log on Controller
2. /var/log/neutron/neutron-ovs-agent.log on Compute
dbaxps gravatar imagedbaxps ( 2016-08-31 15:52:35 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-08-25 13:54:59 -0600

Seen: 374 times

Last updated: Sep 03 '16