<div dir="ltr"><div><div><div><div><div><div>Hi,<br><br></div>I have been following this guide, <a href="https://docs.openstack.org/ocata/install-guide-rdo/launch-instance-networks-provider.html">https://docs.openstack.org/ocata/install-guide-rdo/launch-instance-networks-provider.html</a> and got to a point where I have created the following subnet<br><br>openstack subnet create --network provider --allocation-pool start=130.217.238.20,end=130.217.238.250 --dns-nameserver 130.217.240.32 --gateway 130.217.238.251 --subnet-range <a href="http://130.217.238.0/24">130.217.238.0/24</a> provider<br><br></div>From a OpenStack perspective this seems to have worked but based on the output of the router port list below I believe that if all networking were working correctly I should be able to ping 130.217.238.27 from my controller  is this correct ?  Currently this isn't working<br><br># neutron router-port-list router<br><br>neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.<br>+--------------------------------------+------+----------------------------------+-------------------+---------------------------------------------------------------------------------------+<br>| id                                   | name | tenant_id                        | mac_address       | fixed_ips                                                                             |<br>+--------------------------------------+------+----------------------------------+-------------------+---------------------------------------------------------------------------------------+<br>| 5fa0bbf0-c4cb-477d-be4b-29319e6b1255 |      | 9664aea896004c7da3970d7a7f03accc | fa:16:3e:63:6a:70 | {"subnet_id": "7a7de3fe-efb3-4fd1-be22-13c72d2d309d", "ip_address": "172.16.1.1"}     |<br>| 741072f3-e679-4b1e-9201-f17b28e34c18 |      |                                  | fa:16:3e:0c:75:1b | {"subnet_id": "72b57426-71e0-40e1-ae27-51cfb1757322", "ip_address": "130.217.238.27"} |<br>+--------------------------------------+------+----------------------------------+-------------------+---------------------------------------------------------------------------------------+<br><br><br></div>Looking in linuxbridge-agent.log I see entries like the one below.  Does anyone have suggestions as to how I fix this issue?<br><br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent [req-6fbbf077-ab6c-4426-b65b-86cc39922f5f - - - - -] Error in agent loop. Devices info: {'current': set(['tap326c4daa-b1', 'tap6f4a8322-5a', 'tap741072f3-e6', 'tap5fa0bbf0-c4']), 'timestamps': {'tap326c4daa-b1': 5, 'tap6f4a8322-5a': 6, 'tap741072f3-e6': 9, 'tap5fa0bbf0-c4': 8}, 'removed': set([]), 'added': set(['tap326c4daa-b1', 'tap6f4a8322-5a', 'tap741072f3-e6', 'tap5fa0bbf0-c4']), 'updated': set([])}<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent Traceback (most recent call last):<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/agent/_common_agent.py", line 453, in daemon_loop<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent     sync = self.process_network_devices(device_info)<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 153, in wrapper<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent     return f(*args, **kwargs)<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/agent/_common_agent.py", line 210, in process_network_devices<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent     resync_a = self.treat_devices_added_updated(devices_added_updated)<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 153, in wrapper<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent     return f(*args, **kwargs)<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/agent/_common_agent.py", line 227, in treat_devices_added_updated<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent     self._process_device_if_exists(device_details)<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/agent/_common_agent.py", line 254, in _process_device_if_exists<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent     device, device_details['device_owner'])<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py", line 502, in plug_interface<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent     tap_name, device_owner)<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py", line 451, in add_tap_interface<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent     return False<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent     self.force_reraise()<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent     six.reraise(self.type_, self.value, self.tb)<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py", line 443, in add_tap_interface<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent     tap_device_name, device_owner)<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py", line 474, in _add_tap_interface<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent     segmentation_id):<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py", line 427, in ensure_physical_in_bridge<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent     physical_interface)<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py", line 245, in ensure_flat_bridge<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent     gateway):<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py", line 386, in ensure_bridge<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent     self.update_interface_ip_details(bridge_name, interface, ips, gateway)<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py", line 325, in update_interface_ip_details<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent     dst_device.addr.add(cidr=ip['cidr'])<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 579, in add<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent     self._as_root([net.version], tuple(args))<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 363, in _as_root<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent     use_root_namespace=use_root_namespace)<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", linlinuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent     log_fail_as_error=self.log_fail_as_error)<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 108, in _execute<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent     log_fail_as_error=log_fail_as_error)<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/utils.py", line 152, in execute<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent     raise ProcessExecutionError(msg, returncode=returncode)<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent ProcessExecutionError: Exit code: 2; Stdin: ; Stdout: ; Stderr: RTNETLINK answers: Permission denied<br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent <br>linuxbridge-agent.log:2017-07-04 11:16:01.661 1033 ERROR neutron.plugins.ml2.drivers.agent._common_agent <br>linuxbridge-agent.log:2017-07-04 11:16:03.517 1033 ERROR neutron.agent.linux.utils [req-6fbbf077-ab6c-4426-b65b-86cc39922f5f - - - - -] Exit code: 2; Stdin: ; Stdout: ; Stderr: RTNETLINK answers: Permission denied<br><br></div>I have found <a href="https://ask.openstack.org/en/question/92057/after-creating-selfservice-subnet-neutron-linux-bridge-log-shows-error-rtnetlink-answers-permission-denied/">https://ask.openstack.org/en/question/92057/after-creating-selfservice-subnet-neutron-linux-bridge-log-shows-error-rtnetlink-answers-permission-denied/</a> and so tried disabling ipv6 via sysctl.conf but this doesn't seem to have made any difference.<br><br></div>Thanks for any advice or suggestions you can offer.<br><br><br></div>Here is some other information that may be useful<br><br>]# neutron net-list<br>neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.<br>+--------------------------------------+-------------+----------------------------------+-------------------------------------------------------+<br>| id                                   | name        | tenant_id                        | subnets                                               |<br>+--------------------------------------+-------------+----------------------------------+-------------------------------------------------------+<br>| 23754bd4-91a0-4ff6-b5e2-1065a173e744 | selfservice | 9664aea896004c7da3970d7a7f03accc | 7a7de3fe-efb3-4fd1-be22-13c72d2d309d <a href="http://172.16.1.0/24">172.16.1.0/24</a>    |<br>| dd1e15bb-8e4a-4c86-9cb8-92d1cc6bfa77 | provider    | 0256492c674a4ea2842f1a1960db437a | 72b57426-71e0-40e1-ae27-51cfb1757322 <a href="http://130.217.238.0/24">130.217.238.0/24</a> |<br>+--------------------------------------+-------------+----------------------------------+-------------------------------------------------------+<br><br> +---------------------------+--------------------------------------+<br>| Field                     | Value                                |<br>+---------------------------+--------------------------------------+<br>| admin_state_up            | True                                 |<br>| availability_zone_hints   |                                      |<br>| availability_zones        | nova                                 |<br>| created_at                | 2017-07-03T04:40:04Z                 |<br>| description               |                                      |<br>| id                        | dd1e15bb-8e4a-4c86-9cb8-92d1cc6bfa77 |<br>| ipv4_address_scope        |                                      |<br>| ipv6_address_scope        |                                      |<br>| is_default                | False                                |<br>| mtu                       | 1500                                 |<br>| name                      | provider                             |<br>| port_security_enabled     | True                                 |<br>| project_id                | 0256492c674a4ea2842f1a1960db437a     |<br>| provider:network_type     | flat                                 |<br>| provider:physical_network | provider                             |<br>| provider:segmentation_id  |                                      |<br>| revision_number           | 6                                    |<br>| router:external           | True                                 |<br>| shared                    | True                                 |<br>| status                    | ACTIVE                               |<br>| subnets                   | 72b57426-71e0-40e1-ae27-51cfb1757322 |<br>| tags                      |                                      |<br>| tenant_id                 | 0256492c674a4ea2842f1a1960db437a     |<br>| updated_at                | 2017-07-03T04:48:40Z                 |<br>+---------------------------+--------------------------------------+<br><br># neutron subnet-show 72b57426-71e0-40e1-ae27-51cfb1757322<br>neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.<br>+-------------------+-------------------------------------------------------+<br>| Field             | Value                                                 |<br>+-------------------+-------------------------------------------------------+<br>| allocation_pools  | {"start": "130.217.238.20", "end": "130.217.238.250"} |<br>| cidr              | <a href="http://130.217.238.0/24">130.217.238.0/24</a>                                      |<br>| created_at        | 2017-07-03T04:48:40Z                                  |<br>| description       |                                                       |<br>| dns_nameservers   | 130.217.240.32                                        |<br>| enable_dhcp       | True                                                  |<br>| gateway_ip        | 130.217.238.251                                       |<br>| host_routes       |                                                       |<br>| id                | 72b57426-71e0-40e1-ae27-51cfb1757322                  |<br>| ip_version        | 4                                                     |<br>| ipv6_address_mode |                                                       |<br>| ipv6_ra_mode      |                                                       |<br>| name              | provider                                              |<br>| network_id        | dd1e15bb-8e4a-4c86-9cb8-92d1cc6bfa77                  |<br>| project_id        | 0256492c674a4ea2842f1a1960db437a                      |<br>| revision_number   | 2                                                     |<br>| service_types     |                                                       |<br>| subnetpool_id     |                                                       |<br>| tags              |                                                       |<br>| tenant_id         | 0256492c674a4ea2842f1a1960db437a                      |<br>| updated_at        | 2017-07-03T04:48:40Z                                  |<br>+-------------------+-------------------------------------------------------+<br><br>[root@osc ~]# cat /etc/sysconfig/network-scripts/ifcfg-eno16777984 <br># Generated by dracut initrd<br>NAME="eno16777984"<br>DEVICE="eno16777984"<br>ONBOOT=yes<br>NETBOOT=yes<br>UUID="ff96086e-5043-4de4-b129-e1bdb3dce6ba"<br>IPV6INIT=yes<br>BOOTPROTO=dhcp<br>TYPE=Ethernet<br>DEFROUTE=yes<br>IPV4_FAILURE_FATAL=no<br>IPV6_AUTOCONF=yes<br>IPV6_DEFROUTE=yes<br>IPV6_FAILURE_FATAL=no<br>PEERDNS=yes<br>PEERROUTES=yes<br>IPV6_PEERDNS=yes<br>IPV6_PEERROUTES=yes<br><br>cat /etc/sysconfig/network-scripts/ifcfg-ens192 <br>HWADDR=00:50:56:98:64:AA<br>TYPE=Ethernet<br>BOOTPROTO="none"<br>NAME=ens192<br>UUID=7a8e5bd9-46f8-302d-aa3d-127031e77593<br>ONBOOT=yes<br><br><div id="gmail-:4r3" class="gmail-aoX"><div><table class="gmail-cf gmail-An" id="gmail-undefined" cellpadding="0"><tbody><tr><td class="gmail-Ap"></td></tr></tbody></table></div></div></div>