BGP Dragent Provider Network Failed to Bind Port to Instance

asked 2017-01-24 16:32:23 -0500

Nick Artman gravatar image

updated 2017-01-26 08:56:58 -0500

rbowen gravatar image

Hello, I have an OpenStack cluster deployed using fuel (basically standard configuration), and configured to communicate via BGP as specified in this article here: http://docs.openstack.org/newton/netw... (almost word for word).

I only have one IPv4/24 network, in fuel the public network is configured to run on the first /27 of that network and the address I created the "provider" network (as specified in the guide) is assigned to instances is the other half of the /26. This works (I think)

Here is what I know:

  1. OpenStack and my quagga routers are peered successfully
  2. OpenStack is broadcasting some thing successfully.
  3. I can even snag a floating IP from that pool, and it will broadcast that floating IP.

Here is what doesn't work: any of the OpenStack routers, and therefore nothing actually connects.

Some data for you:

From the quagga router:

   leaf1-1# show ip bgp
   BGP table version is 13, local router ID is 10.0.0.11
   Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
                 i internal, r RIB-failure, S Stale, R Removed
   Origin codes: i - IGP, e - EGP, ? - incomplete

      Network          Next Hop            Metric LocPrf Weight Path
   *= 0.0.0.0          swp46                         0 395723 2707 i
   *>                  swp45                         0 395723 2707 i
   *> 10.0.5.0/24      148.0.0.140                         0 64801 i
   *                   148.0.0.140                         0 64801 i
   *= 148.0.0.0/24  swp46                         0 395723 i
   *>                  swp45                         0 395723 i
   *> 148.0.0.32/27 0.0.0.0                  0         32768 i

   Displayed  4 out of 7 total prefixes

From the main controller:

   root@node-11:~# neutron
   bgp-speaker-advertiseroute-list
   bgpspeaker
   +-------------+----------------+ | destination | next_hop       |
   +-------------+----------------+ | 10.0.5.0/24 | 148.0.0.140 |
   +-------------+----------------+ root@node-11:~# neutron agent-list
   +--------------------------------------+---------------------------+--------------------+-------------------+-------+----------------+---------------------------+ | id                                  
   | agent_type                | host    
   | availability_zone | alive |
   admin_state_up | binary               
   |
   +--------------------------------------+---------------------------+--------------------+-------------------+-------+----------------+---------------------------+ | 06fe0d9d-38e1-4d9e-8cf7-f75ed2e8aa4f
   | DHCP agent                |
   node-14.domain.tld | nova             
   | :-)   | True           |
   neutron-dhcp-agent        | |
   39d7c909-7ff5-467d-829c-edb107a6b94a |
   Open vSwitch agent        |
   node-16.domain.tld |                  
   | :-)   | True           |
   neutron-openvswitch-agent | |
   3f46a7d4-abb6-44ad-849d-c5d3d2791791 |
   L3 agent                  |
   node-11.domain.tld | nova             
   | :-)   | True           |
   neutron-l3-agent          | |
   52943399-77b9-4b44-aefa-41c94abbf601 |
   Metadata agent            |
   node-11.domain.tld |                  
   | :-)   | True           |
   neutron-metadata-agent    | |
   660c796d-3358-4ea2-9fb5-5beac560bc4a |
   DHCP agent                |
   node-11.domain.tld | nova             
   | :-)   | True           |
   neutron-dhcp-agent        | |
   70d43703-086f-486b-ba8b-49b70fde7e2a |
   Open vSwitch agent        |
   node-15.domain.tld |                  
   | :-)   | True           |
   neutron-openvswitch-agent | |
   73ae71b3-1e5f-4d6a-b6c2-6036f5f4add8 |
   BGP dynamic routing agent |
   node-14.domain.tld |                  
   | :-)   | True           |
   neutron-bgp-dragent       | |
   a3c9cc1b-53e6-45d0-97cb-aa428ff3c030 |
   BGP dynamic routing agent |
   node-11.domain.tld |                  
   | :-)   | True           |
   neutron-bgp-dragent       | |
   b1f0bd87-45d1-46a8-b3da-28acf495d0e9 |
   Open vSwitch agent        |
   node-18.domain.tld |                  
   | :-)   | True           |
   neutron-openvswitch-agent | |
   b3bc626f-8afd-49c1-9065-0e4143097d9e |
   Open vSwitch agent        |
   node-14.domain.tld |                  
   | :-)   | True           |
   neutron-openvswitch-agent | |
   c7cc0c8d-fdbd-416d-88bd-606db3e6f299 |
   L3 agent                  |
   node-14.domain.tld | nova             
   | :-)   | True           |
   neutron-l3-agent          | |
   d673fbd0-82c2-45ae-96b6-434e25b8b4d4 |
   Metadata agent            |
   node-14.domain.tld |                  
   | :-)   | True           |
   neutron-metadata-agent    | |
   dc6c7603-ac68-435b-aa93-d8067a39555a |
   Open vSwitch agent        |
   node-17.domain.tld |                  
   | :-)   | True           |
   neutron-openvswitch-agent | |
   eb174f42-be93-4a1c-bdf3-b6ee85f8931c |
   Open vSwitch agent        |
   node-11.domain.tld |                  
   | :-)   | True           |
   neutron-openvswitch-agent |
   +--------------------------------------+---------------------------+--------------------+-------------------+-------+----------------+---------------------------+ root@node-11:~# neutron net-list
   +--------------------------------------+----------------------------------------------------+--------------------------------------------------------+ | id                                  
   | name                                
   | subnets                             
   |
   +--------------------------------------+----------------------------------------------------+--------------------------------------------------------+ | 4b38d10d-1bc9-4f89-ae1c-5ac0a9780396
   | provider                            
   | 81f6a889-f2c1-415a-b14b-ac91940004bd
   148.0.0.128/25 | | a2375689-100b-43cb-902c-e07e77cd4c0c |
   admin_floating_net                    
   | 491bc90b-fcf4-40a7-918e-063252335117
   148.0.0.32/27  | | b4dcb0f4-0403-43b9-b2d3-9d03eb14682d |
   selfservice                           
   | f7ec5b64-a733-4f37-b5c0-43e56509e2ca
   10.0.5.0/24       | | 65a2adb8-509c-4d0e-8469-fa4df526b700 |
   HA network tenant
   40075b4aa44547c1b15c2a79f994b863 |
   1dd095ef-5678-4372-8d98-19a4597bf24b
   169.254.192.0/18  | | 5a7f9360-ccb5-43cc-9d9d-74b5c2a952ef |
   admin_internal_net                    
   | 17a8b1ba-7466-4471-8d79-67fe8198fc1e
   192.168.111.0/24  |
   +--------------------------------------+----------------------------------------------------+--------------------------------------------------------+ root@node-11:~# neutron port-show
   a6ced952-bc62-45df-95ff-2607da1380a0
   +-----------------------+---------------------------------------------------------------------------------------+ | Field                 | Value       
   |
   +-----------------------+---------------------------------------------------------------------------------------+ | admin_state_up        | True        
   | | allowed_address_pairs |           
   | | binding:host_id       |
   node-14.domain.tld                    
   | | binding:profile       | {}        
   | | binding:vif_details   | {}        
   | | binding:vif_type      |
   binding_failed                        
   | | binding:vnic_type     | normal    
   | | created_at            |
   2017-01-24T21:44:41                   
   | | description           |           
   | | device_id             |
   8996b1d2-da40-4ba0-a80a-4620ac3196a3  
   | | device_owner ...
(more)
edit retag flag offensive close merge delete