Ask Your Question
0

Single Nic with Opendaylight

asked 2017-09-27 10:33:06 -0600

DavidHache gravatar image

Hello. I have been working with Openstack for a few week and would like to integrate Opendaylight as the network controller.

Can someone help me figure out where to go from here to get the system working?

Situation:

  • OVS & OVS Plugin for neutron with single Nic, works. Router has access to provider network.
  • OVS & Neutron works except router Nic down on provider network.

Here is my configuration up to now:

  • ifconfig enp3s0 0
  • ovs-vsctl add-br br-ext-off1
  • ovs-vsctl add-port br-ext-off1 enp3s0
  • dhclient br-ext-off1
  • ovs-vsctl set Open_vSwitch . other_config:local_ip=10.254.0.4
  • ovs-vsctl set-manager tcp:10.254.0.1:6640
  • ip tuntap add mode tap stackport
  • ip link set stackport up
  • ovs-vsctl add-port br-ext-off1 stackport
  • ovs-vsctl set interface stackport type=internal
  • ovs-vsctl set Open_vSwitch . other_config:provider_mappings=localoff1:stackport

root@prodstack-mtl04:~# ovs-vsctl show 1bf8b03a-074b-4e82-b59e-acbc47f5eda4 Manager "tcp:10.254.0.1:6640" is_connected: true Bridge br-int Controller "tcp:10.254.0.1:6653" is_connected: true fail_mode: secure Port "tunca5f73b6ca9" Interface "tunca5f73b6ca9" type: vxlan options: {key=flow, local_ip="10.254.0.4", remote_ip="10.254.0.1"} Port "br-ext-off1-pa" Interface "br-ext-off1-pa" type: patch options: {peer="br-ext-off1-int-patch"} Port br-int Interface br-int type: internal Port "tun71417d8a557" Interface "tun71417d8a557" type: vxlan options: {key=flow, local_ip="10.254.0.4", remote_ip="10.254.0.4"} Port "tap2d490638-33" Interface "tap2d490638-33" Bridge "br-ext-off1" Port "br-ext-off1" Interface "br-ext-off1" type: internal Port "enp3s0" Interface "enp3s0" Port stackport Interface stackport type: internal Port "br-ext-off1-int-patch" Interface "br-ext-off1-int-patch" type: patch options: {peer="br-ext-off1-pa"} ovs_version: "2.6.1"


root@prodstack-mtl01:~# neutron net-list +--------------------------------------+-----------+-------------------------------------------------------+ | id | name | subnets | +--------------------------------------+-----------+-------------------------------------------------------+ | 6168e530-eb26-4c07-a890-3cf77afb8339 | infra | 7c1e6500-e0c6-49d8-96db-10102f6f8c62 10.100.0.0/24 | | 71d7788d-f789-46a4-bcd0-745ee45a7de5 | localoff1 | a2ecee6b-f0bc-4c5d-a45d-2ea04cf7eea4 192.168.100.0/24 | +--------------------------------------+-----------+-------------------------------------------------------+ root@prodstack-mtl01:~# neutron net-show 71d7788d-f789-46a4-bcd0-745ee45a7de5 +---------------------------+--------------------------------------+ | Field | Value | +---------------------------+--------------------------------------+ | admin_state_up | True | | availability_zone_hints | | | availability_zones | nova | | created_at | 2017-09-15T20:33:16 | | description | | | id | 71d7788d-f789-46a4-bcd0-745ee45a7de5 | | ipv4_address_scope | | | ipv6_address_scope | | | is_default | False | | mtu | 1500 | | name | localoff1 | | port_security_enabled | True | | provider:network_type | flat | | provider:physical_network | localoff1 | | provider:segmentation_id | | | router:external | True | | shared | True | | status | ACTIVE | | subnets | a2ecee6b-f0bc-4c5d-a45d-2ea04cf7eea4 | | tags | | | tenant_id | 704519f9d8554be28a715a89e2212f27 | | updated_at | 2017-09-15T20:33:17 | +---------------------------+--------------------------------------+


Here is the error I get

2017-09-27 11:14:48,091 | INFO | ispatcher-111337 | PortDataChangeListener | 335 - org.opendaylight.vtn.manager.neutron - 0.6.1.Carbon | Neutron port has been created: 299dfd6d-2234-4cb3-bf70-ac8c2d7d09f1 2017-09-27 11:14:48,104 | INFO | ispatcher-111315 | VTenantManager | 325 - org.opendaylight.vtn.manager.implementation - 0.6.1.Carbon | vBridge-IF:704519f9d855be28a715a89e2212f27/71d7788df7896a4bcd0745ee45a7de5/299dfd6d2234cb3bf70ac8c2d7d09f1: vInterface has been created: value={desc=, enabled=true} 2017-09-27 11:14:48,104 | INFO | ispatcher-111315 | VTenantManager | 325 - org.opendaylight.vtn.manager.implementation - 0.6.1.Carbon | vBridge-IF:704519f9d855be28a715a89e2212f27/71d7788df7896a4bcd0745ee45a7de5/299dfd6d2234cb3bf70ac8c2d7d09f1: vInterface status has been created: value={state=UNKNOWN, entity-state=UNKNOWN} 2017-09-27 11:14:48,127 | INFO | nPool-1-worker-1 | NeutronPortChangeListener | 387 - org.opendaylight.netvirt.neutronvpn-impl - 0.4.1.Carbon | Of-port-interface creation for port 299dfd6d-2234-4cb3-bf70-ac8c2d7d09f1 2017-09-27 11:14:48,143 | INFO | nPool-1-worker-1 | NeutronvpnManager | 387 - org.opendaylight.netvirt.neutronvpn-impl - 0.4.1.Carbon | Creating vpn interface VpnInterface [_key=VpnInterfaceKey [_name=299dfd6d-2234-4cb3-bf70-ac8c2d7d09f1], _name=299dfd6d-2234-4cb3-bf70-ac8c2d7d09f1, _vpnInstanceName=a2ecee6b-f0bc-4c5d-a45d-2ea04cf7eea4, _routerInterface=false, augmentation=[Adjacencies [_adjacency=[Adjacency [_ipAddress=192.168.100.146/32, _key=AdjacencyKey [_ipAddress=192.168.100.146/32], _macAddress=FA:16:3E:1D:16:BC, _subnetId=Uuid [_value=a2ecee6b-f0bc-4c5d-a45d-2ea04cf7eea4], _primaryAdjacency=true, augmentation=[]]]]]] 2017-09-27 11:14:48,143 ...

(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-10-02 12:36:55 -0600

DavidHache gravatar image

I just tried to add a 2nd nic card to try. Still get the same errors.

ovs-vsctl set Open_vSwitch . other_config:local_ip=10.254.0.4 ovs-vsctl set-manager tcp:10.254.0.1:6640 ovs-vsctl set Open_vSwitch . other_config:provider_mappings=localoff1:enx00e04c36cdba

root@prodstack-mtl04:~# ovs-vsctl show f04d31af-b470-40f2-9c6f-ed69001caddb Manager "tcp:10.254.0.1:6640" is_connected: true Bridge br-int Controller "tcp:10.254.0.1:6653" is_connected: true fail_mode: secure Port "enx00e04c36cdba" Interface "enx00e04c36cdba" Port br-int Interface br-int type: internal ovs_version: "2.6.1"

2017-10-02 13:35:17,421 | ERROR | eChangeHandler-0 | NatUtil | 392 - org.opendaylight.netvirt.natservice-impl - 0.4.1.Carbon | No resolution was found to GW ip IpAddress [_ipv4Address=Ipv4Address [_value=192.168.100.1]] in subnet 682270aa-f0f7-4cf3-9938-f3a8388771f0 2017-10-02 13:35:17,428 | ERROR | eChangeHandler-0 | InterfacemgrProvider | 375 - org.opendaylight.genius.interfacemanager-impl - 0.2.1.Carbon | Interface a33ceeb3-9f15-4d93-8de2-241a4c56aaad is not present 2017-10-02 13:35:17,428 | ERROR | eChangeHandler-0 | VpnInterfaceManager | 383 - org.opendaylight.netvirt.vpnmanager-impl - 0.4.1.Carbon | Handling addition of VPN interface a33ceeb3-9f15-4d93-8de2-241a4c56aaad skipped as interfaceState is not available 2017-10-02 13:35:17,437 | ERROR | eChangeHandler-0 | NatUtil | 392 - org.opendaylight.netvirt.natservice-impl - 0.4.1.Carbon | NAT Service : Could not retrieve DPN Id for interface 213494582906689:enp3s0:trunk 2017-10-02 13:35:17,437 | ERROR | eChangeHandler-0 | NatUtil | 392 - org.opendaylight.netvirt.natservice-impl - 0.4.1.Carbon | NAT Service : Could not retrieve DPN Id for interface 187406978477901:enx00e04c36cdba:trunk 2017-10-02 13:35:17,437 | ERROR | eChangeHandler-0 | NatUtil | 392 - org.opendaylight.netvirt.natservice-impl - 0.4.1.Carbon | NAT Service : Could not retrieve DPN Id for interface 209236562824256:enp3s0:trunk 2017-10-02 13:35:17,437 | ERROR | eChangeHandler-0 | NatUtil | 392 - org.opendaylight.netvirt.natservice-impl - 0.4.1.Carbon | NAT Service : Could not retrieve DPN Id for interface 103815079977281:enx00e04c36cdba:trunk

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-09-27 10:33:06 -0600

Seen: 117 times

Last updated: Oct 02 '17