Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Icehouse neutron-ml2 GRE network issue

Hi,

I have deployed the Openstack Icehouse version on Ubuntu 14 and configured neutron-ml2 GRE tunneling network.

I'm able to successfully create the external network, router, tenant network & subnets and able to create the VM instance successfully. But instances are not getting ipaddress and unable to ping external network.

Have a question....

  1. Will i want to add br-tun to any physical interface and want to assign ipaddress to br-tun?

Also captured the OVS configuration and errors from log...

Neutron node:

root@eis-bri-network:/var/log# ovs-vsctl show e36b1298-74f6-489c-bed5-0da336cc4823 Bridge br-tun Port patch-int Interface patch-int type: patch options: {peer=patch-tun} Port "gre-0a25be96" Interface "gre-0a25be96" type: gre options: {in_key=flow, local_ip="10.37.190.140", out_key=flow, remote_ip="10.37.190.150"} Port br-tun Interface br-tun type: internal Bridge br-int Port "qr-f0fd9009-52" tag: 1 Interface "qr-f0fd9009-52" type: internal Port br-int Interface br-int type: internal Port "tap91bda0e9-cb" tag: 1 Interface "tap91bda0e9-cb" type: internal Port patch-tun Interface patch-tun type: patch options: {peer=patch-int} Port "qr-823250b9-5d" tag: 2 Interface "qr-823250b9-5d" type: internal Bridge br-ex Port br-ex Interface br-ex type: internal Port "qg-97d4e961-46" Interface "qg-97d4e961-46" type: internal Port "qg-9db9c1ba-48" Interface "qg-9db9c1ba-48" type: internal Port "em2" Interface "em2" ovs_version: "2.0.1"

Compute Node:-

root@eis-bri-comp1:/var/log/nova# ovs-vsctl show 3b3d1e3a-69b3-40ec-835b-6bce9270dd02 Bridge br-int Port br-int Interface br-int type: internal Port patch-tun Interface patch-tun type: patch options: {peer=patch-int} Port "qvo4c6f0b73-a0" tag: 5 Interface "qvo4c6f0b73-a0" Bridge br-tun Port "gre-0a25be8c" Interface "gre-0a25be8c" type: gre options: {in_key=flow, local_ip="10.37.190.150", out_key=flow, remote_ip="10.37.190.140"} Port br-tun Interface br-tun type: internal Port patch-int Interface patch-int type: patch options: {peer=patch-tun} ovs_version: "2.0.1"

Error Logs

Neutron node : server.log

2014-06-17 19:16:12.925 21430 TRACE neutron File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 283, in connect 2014-06-17 19:16:12.925 21430 TRACE neutron return self.dbapi.connect(cargs, *cparams) 2014-06-17 19:16:12.925 21430 TRACE neutron File "/usr/lib/python2.7/dist-packages/MySQLdb/__init__.py", line 81, in Connect 2014-06-17 19:16:12.925 21430 TRACE neutron return Connection(args, *kwargs) 2014-06-17 19:16:12.925 21430 TRACE neutron File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 187, in __init__ 2014-06-17 19:16:12.925 21430 TRACE neutron super(Connection, self).__init__(args, *kwargs2) 2014-06-17 19:16:12.925 21430 TRACE neutron OperationalError: (OperationalError) (1129, "Host 'eis-bri-network' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'") None None 2014-06-17 19:16:12.925 21430 TRACE neutron 2014-06-17 19:16:13.299 21438 INFO neutron.common.config [-] Logging enabled! 2014-06-17 19:16:13.305 21438 INFO neutron.common.config [-] Config paste file: /etc/neutron/api-paste.ini

root@eis-bri-network:/var/log/openvswitch# tail ovs-vswitchd.log 2014-06-17T09:34:25.842Z|00058|netdev_linux|WARN|qr-823250b9-5d: removing policing failed: No such device 2014-06-17T09:34:35.770Z|00059|ofproto|INFO|br-tun: 2 flow_mods 10 s ago (1 adds, 1 modifications) 2014-06-17T09:34:36.771Z|00060|ofproto|INFO|br-int: 1 flow_mods 10 s ago (1 deletes) 2014-06-17T09:34:52.584Z|00061|bridge|INFO|bridge br-ex: added interface qg-9db9c1ba-48 on port 3 2014-06-17T09:34:52.733Z|00062|netdev_linux|INFO|ioctl(SIOCGIFHWADDR) on qg-9db9c1ba-48 device failed: No such device 2014-06-17T09:34:53.015Z|00063|netdev_linux|WARN|ioctl(SIOCGIFINDEX) on qg-9db9c1ba-48 device failed: No such device 2014-06-17T10:45:48.492Z|00064|bridge|INFO|bridge br-ex: added interface qg-8468d3b3-e4 on port 4 2014-06-17T10:45:48.492Z|00065|netdev_linux|WARN|qg-9db9c1ba-48: removing policing failed: No such device 2014-06-17T10:45:48.625Z|00066|netdev_linux|INFO|ioctl(SIOCGIFHWADDR) on qg-8468d3b3-e4 device failed: No such device 2014-06-17T10:45:53.257Z|00067|netdev_linux|WARN|ioctl(SIOCGIFINDEX) on qg-8468d3b3-e4 device failed: No such device

Folks need your inputs, please help me.

Thanks.

Icehouse neutron-ml2 GRE network issue

Hi,

I have deployed the Openstack Icehouse version on Ubuntu 14 and configured neutron-ml2 GRE tunneling network.

I'm able to successfully create the external network, router, tenant network & subnets and able to create the VM instance successfully. But instances are not getting ipaddress and unable to ping external network.

Have a question....

  1. Will i want to add br-tun to any physical interface and want to assign ipaddress to br-tun?

Also captured the OVS configuration and errors from log...

Neutron node:

root@eis-bri-network:/var/log# ovs-vsctl show e36b1298-74f6-489c-bed5-0da336cc4823 Bridge br-tun Port patch-int Interface patch-int type: patch options: {peer=patch-tun} Port "gre-0a25be96" Interface "gre-0a25be96" type: gre options: {in_key=flow, local_ip="10.37.190.140", out_key=flow, remote_ip="10.37.190.150"} Port br-tun Interface br-tun type: internal Bridge br-int Port "qr-f0fd9009-52" tag: 1 Interface "qr-f0fd9009-52" type: internal Port br-int Interface br-int type: internal Port "tap91bda0e9-cb" tag: 1 Interface "tap91bda0e9-cb" type: internal Port patch-tun Interface patch-tun type: patch options: {peer=patch-int} Port "qr-823250b9-5d" tag: 2 Interface "qr-823250b9-5d" type: internal Bridge br-ex Port br-ex Interface br-ex type: internal Port "qg-97d4e961-46" Interface "qg-97d4e961-46" type: internal Port "qg-9db9c1ba-48" Interface "qg-9db9c1ba-48" type: internal Port "em2" Interface "em2" ovs_version: "2.0.1"

Compute Node:-

root@eis-bri-comp1:/var/log/nova# ovs-vsctl show 3b3d1e3a-69b3-40ec-835b-6bce9270dd02 Bridge br-int Port br-int Interface br-int type: internal Port patch-tun Interface patch-tun type: patch options: {peer=patch-int} Port "qvo4c6f0b73-a0" tag: 5 Interface "qvo4c6f0b73-a0" Bridge br-tun Port "gre-0a25be8c" Interface "gre-0a25be8c" type: gre options: {in_key=flow, local_ip="10.37.190.150", out_key=flow, remote_ip="10.37.190.140"} Port br-tun Interface br-tun type: internal Port patch-int Interface patch-int type: patch options: {peer=patch-tun} ovs_version: "2.0.1"

Error Logs

Neutron node : server.log

2014-06-17 19:16:12.925 21430 TRACE neutron File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 283, in connect 2014-06-17 19:16:12.925 21430 TRACE neutron return self.dbapi.connect(cargs, *cparams) 2014-06-17 19:16:12.925 21430 TRACE neutron File "/usr/lib/python2.7/dist-packages/MySQLdb/__init__.py", line 81, in Connect 2014-06-17 19:16:12.925 21430 TRACE neutron return Connection(args, *kwargs) 2014-06-17 19:16:12.925 21430 TRACE neutron File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 187, in __init__ 2014-06-17 19:16:12.925 21430 TRACE neutron super(Connection, self).__init__(args, *kwargs2) 2014-06-17 19:16:12.925 21430 TRACE neutron OperationalError: (OperationalError) (1129, "Host 'eis-bri-network' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'") None None 2014-06-17 19:16:12.925 21430 TRACE neutron 2014-06-17 19:16:13.299 21438 INFO neutron.common.config [-] Logging enabled! 2014-06-17 19:16:13.305 21438 INFO neutron.common.config [-] Config paste file: /etc/neutron/api-paste.ini

root@eis-bri-network:/var/log/openvswitch# tail ovs-vswitchd.log 2014-06-17T09:34:25.842Z|00058|netdev_linux|WARN|qr-823250b9-5d: removing policing failed: No such device 2014-06-17T09:34:35.770Z|00059|ofproto|INFO|br-tun: 2 flow_mods 10 s ago (1 adds, 1 modifications) 2014-06-17T09:34:36.771Z|00060|ofproto|INFO|br-int: 1 flow_mods 10 s ago (1 deletes) 2014-06-17T09:34:52.584Z|00061|bridge|INFO|bridge br-ex: added interface qg-9db9c1ba-48 on port 3 2014-06-17T09:34:52.733Z|00062|netdev_linux|INFO|ioctl(SIOCGIFHWADDR) on qg-9db9c1ba-48 device failed: No such device 2014-06-17T09:34:53.015Z|00063|netdev_linux|WARN|ioctl(SIOCGIFINDEX) on qg-9db9c1ba-48 device failed: No such device 2014-06-17T10:45:48.492Z|00064|bridge|INFO|bridge br-ex: added interface qg-8468d3b3-e4 on port 4 2014-06-17T10:45:48.492Z|00065|netdev_linux|WARN|qg-9db9c1ba-48: removing policing failed: No such device 2014-06-17T10:45:48.625Z|00066|netdev_linux|INFO|ioctl(SIOCGIFHWADDR) on qg-8468d3b3-e4 device failed: No such device 2014-06-17T10:45:53.257Z|00067|netdev_linux|WARN|ioctl(SIOCGIFINDEX) on qg-8468d3b3-e4 device failed: No such device

Folks need your inputs, please help me.

Thanks.

Icehouse neutron-ml2 GRE network issue

Hi,

I have deployed the Openstack Icehouse version on Ubuntu 14 and configured neutron-ml2 GRE tunneling network.

I'm able to successfully create the external network, router, tenant network & subnets and able to create the VM instance successfully. But instances are not getting ipaddress and unable to ping external network.

Have a question....

  1. question.... 1. Will i want to add br-tun to any physical interface and want to assign ipaddress to br-tun?

    br-tun? Also captured the OVS configuration and errors from log...

    Neutron node:

    log... #Neutron node: root@eis-bri-network:/var/log# ovs-vsctl show e36b1298-74f6-489c-bed5-0da336cc4823 Bridge br-tun Port patch-int Interface patch-int type: patch options: {peer=patch-tun} Port "gre-0a25be96" Interface "gre-0a25be96" type: gre options: {in_key=flow, local_ip="10.37.190.140", out_key=flow, remote_ip="10.37.190.150"} Port br-tun Interface br-tun type: internal Bridge br-int Port "qr-f0fd9009-52" tag: 1 Interface "qr-f0fd9009-52" type: internal Port br-int Interface br-int type: internal Port "tap91bda0e9-cb" tag: 1 Interface "tap91bda0e9-cb" type: internal Port patch-tun Interface patch-tun type: patch options: {peer=patch-int} Port "qr-823250b9-5d" tag: 2 Interface "qr-823250b9-5d" type: internal Bridge br-ex Port br-ex Interface br-ex type: internal Port "qg-97d4e961-46" Interface "qg-97d4e961-46" type: internal Port "qg-9db9c1ba-48" Interface "qg-9db9c1ba-48" type: internal Port "em2" Interface "em2" ovs_version: "2.0.1"

    Compute Node:-

    "2.0.1" #Compute Node:- root@eis-bri-comp1:/var/log/nova# ovs-vsctl show 3b3d1e3a-69b3-40ec-835b-6bce9270dd02 Bridge br-int Port br-int Interface br-int type: internal Port patch-tun Interface patch-tun type: patch options: {peer=patch-int} Port "qvo4c6f0b73-a0" tag: 5 Interface "qvo4c6f0b73-a0" Bridge br-tun Port "gre-0a25be8c" Interface "gre-0a25be8c" type: gre options: {in_key=flow, local_ip="10.37.190.150", out_key=flow, remote_ip="10.37.190.140"} Port br-tun Interface br-tun type: internal Port patch-int Interface patch-int type: patch options: {peer=patch-tun} ovs_version: "2.0.1"

    Error Logs

    Neutron "2.0.1" #Error Logs #Neutron node : server.log

    server.log 2014-06-17 19:16:12.925 21430 TRACE neutron File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 283, in connect 2014-06-17 19:16:12.925 21430 TRACE neutron return self.dbapi.connect(cargs, *cparams) self.dbapi.connect(*cargs, **cparams) 2014-06-17 19:16:12.925 21430 TRACE neutron File "/usr/lib/python2.7/dist-packages/MySQLdb/__init__.py", line 81, in Connect 2014-06-17 19:16:12.925 21430 TRACE neutron return Connection(args, *kwargs) Connection(*args, **kwargs) 2014-06-17 19:16:12.925 21430 TRACE neutron File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 187, in __init__ 2014-06-17 19:16:12.925 21430 TRACE neutron super(Connection, self).__init__(args, *kwargs2) self).__init__(*args, **kwargs2) 2014-06-17 19:16:12.925 21430 TRACE neutron OperationalError: (OperationalError) (1129, "Host 'eis-bri-network' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'") None None 2014-06-17 19:16:12.925 21430 TRACE neutron 2014-06-17 19:16:13.299 21438 INFO neutron.common.config [-] Logging enabled! 2014-06-17 19:16:13.305 21438 INFO neutron.common.config [-] Config paste file: /etc/neutron/api-paste.ini

    /etc/neutron/api-paste.ini root@eis-bri-network:/var/log/openvswitch# tail ovs-vswitchd.log 2014-06-17T09:34:25.842Z|00058|netdev_linux|WARN|qr-823250b9-5d: removing policing failed: No such device 2014-06-17T09:34:35.770Z|00059|ofproto|INFO|br-tun: 2 flow_mods 10 s ago (1 adds, 1 modifications) 2014-06-17T09:34:36.771Z|00060|ofproto|INFO|br-int: 1 flow_mods 10 s ago (1 deletes) 2014-06-17T09:34:52.584Z|00061|bridge|INFO|bridge br-ex: added interface qg-9db9c1ba-48 on port 3 2014-06-17T09:34:52.733Z|00062|netdev_linux|INFO|ioctl(SIOCGIFHWADDR) on qg-9db9c1ba-48 device failed: No such device 2014-06-17T09:34:53.015Z|00063|netdev_linux|WARN|ioctl(SIOCGIFINDEX) on qg-9db9c1ba-48 device failed: No such device 2014-06-17T10:45:48.492Z|00064|bridge|INFO|bridge br-ex: added interface qg-8468d3b3-e4 on port 4 2014-06-17T10:45:48.492Z|00065|netdev_linux|WARN|qg-9db9c1ba-48: removing policing failed: No such device 2014-06-17T10:45:48.625Z|00066|netdev_linux|INFO|ioctl(SIOCGIFHWADDR) on qg-8468d3b3-e4 device failed: No such device 2014-06-17T10:45:53.257Z|00067|netdev_linux|WARN|ioctl(SIOCGIFINDEX) on qg-8468d3b3-e4 device failed: No such device

    device Folks need your inputs, please help me.

    Thanks.

me. Thanks.