[Openstack-operators] [neutron] ERROR neutron.agent.linux.utils File exists

Christopher Hull chrishull42 at gmail.com
Wed Oct 25 19:02:53 UTC 2017


Hello again;
I recently tried to fire up an instance and networking didn't work.  I
looked at the neutron logs and found this.

2017-10-24 15:57:10.565 1784 ERROR neutron.agent.linux.utils
[req-bbe542d2-7d02-4373-b6af-4f8ee3dd6392 - - - - -]
Command: ['ip', '-4', 'addr', 'add', '172.22.10.99/24', 'scope', 'global',
'dev', u'brq9ee73442-5a', 'brd', '172.22.10.255']
Exit code: 2
Stdin:
Stdout:
Stderr: RTNETLINK answers: File exists

ifconfig shows this exists, and it's my host machine.  This is out of range
of the Openstack DHCP that I set up.

brq9ee73442-5a: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 172.22.10.99  netmask 255.255.255.0  broadcast 172.22.10.255
        ether 00:00:00:00:00:00  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 11  bytes 2027 (1.9 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Everything used to work.  I wonder what has changed.  Why would neutron try
to create a port at "99" (if indeed that's what's happening).

Finally, my subnet info for public.
Could I have made a mistake here?

Subnet Details
Subnet Overview
Subnet

Name
housenet
ID
28683bfe-2410-4f9b-b805-ec3c7aee009a
Network ID
9ee73442-5a86-48c0-84da-8f650937fd08
Subnetpool
None
IP version
IPv4
CIDR
172.22.10.0/24
IP allocation pool
Start 172.22.10.10 - End 172.22.10.90
Gateway IP
172.22.10.254
DHCP Enable
Yes
Additional routes
None
DNS name server
172.22.10.254



Thanks;
-Chris

=====
full stack trace.


2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
 sync = self.process_network_devices(device_info)
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
 File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py",
line 1009, in process_network_devices
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
 resync_a = self.treat_devices_added_updated(devices_added_updated)
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
 File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py",
line 1045, in treat_devices_added_updated
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
 device_details['port_id'], device_details['device_owner'])
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
 File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py",
line 542, in add_interface
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
 tap_device_name, device_owner)
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
 File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py",
line 480, in add_tap_interface
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
 return False
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
 File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 195,
in __exit__
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
 six.reraise(self.type_, self.value, self.tb)
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
 File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py",
line 472, in add_tap_interface
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
 tap_device_name, device_owner)
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
 File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py",
line 504, in _add_tap_interface
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
 segmentation_id)
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
 File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py",
line 456, in ensure_physical_in_bridge
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
 physical_interface)
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
 File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py",
line 275, in ensure_flat_bridge
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
 gateway):
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
 File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py",
line 416, in ensure_bridge
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
 self.update_interface_ip_details(bridge_name, interface, ips, gateway)
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
 File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py",
line 355, in update_interface_ip_details
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
 dst_device.addr.add(cidr=ip['cidr'])
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
 File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py",
line 548, in add
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
 self._as_root([net.version], tuple(args))
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
 File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py",
line 338, in _as_root
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
 use_root_namespace=use_root_namespace)
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
 File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py",
line 92, in _as_root
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
 log_fail_as_error=self.log_fail_as_error)
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
 File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py",
line 101, in _execute
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
 log_fail_as_error=log_fail_as_error)
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
 File "/usr/lib/python2.7/site-packages/neutron/agent/linux/utils.py", line
159, in execute
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
 raise RuntimeError(m)
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
RuntimeError:
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
Command: ['ip', '-4', 'addr', 'add', '172.22.10.99/24', 'scope', 'global',
'dev', u'brq9ee73442-5a', 'brd', '172.22.10.255']
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
Exit code: 2
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
Stdin:
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
Stdout:
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
Stderr: RTNETLINK answers: File exists
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
2017-10-24 15:57:10.161 1784 INFO
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
[req-bbe542d2-7d02-4373-b6af-4f8ee3dd6392 - - - - -] Agent out of sync with
plugin!


2017-10-24 15:57:10.161 1784 INFO neutron.agent.securitygroups_rpc
[req-bbe542d2-7d02-4373-b6af-4f8ee3dd6392 - - - - -] Preparing filters for
devices set(['tapac96860d-e8', 'tap0ebbaf42-6b', 'tap26f36046-c8',
'tap5abefa27-86'])
2017-10-24 15:57:10.354 1784 INFO
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
[req-bbe542d2-7d02-4373-b6af-4f8ee3dd6392 - - - - -] Port tapac96860d-e8
updated. Details: {u'profile': {}, u'network_qos_policy_id': None,
u'qos_policy_id': None, u'allowed_address_pairs': [], u'admin_state_up':
True, u'network_id': u'b850e7b5-709b-4efe-922a-fb827820d185',
u'segmentation_id': 36, u'device_owner': u'network:router_interface',
u'physical_network': None, u'mac_address': u'fa:16:3e:13:eb:eb', u'device':
u'tapac96860d-e8', u'port_security_enabled': False, u'port_id':
u'ac96860d-e814-4011-bd44-8b56b2d994e9', u'fixed_ips': [{u'subnet_id':
u'b14d0f3c-8ec9-47fb-b035-d3f88df57d8d', u'ip_address': u'192.168.10.1'}],
u'network_type': u'vxlan', u'security_groups': []}
2017-10-24 15:57:10.356 1784 INFO
neutron.plugins.ml2.drivers.linuxbridge.agent.arp_protect
[req-bbe542d2-7d02-4373-b6af-4f8ee3dd6392 - - - - -] Skipping ARP spoofing
rules for port 'tapac96860d-e8' because it has port security disabled
2017-10-24 15:57:10.452 1784 INFO
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
[req-bbe542d2-7d02-4373-b6af-4f8ee3dd6392 - - - - -] Port tap0ebbaf42-6b
updated. Details: {u'profile': {}, u'network_qos_policy_id': None,
u'qos_policy_id': None, u'allowed_address_pairs': [], u'admin_state_up':
True, u'network_id': u'b850e7b5-709b-4efe-922a-fb827820d185',
u'segmentation_id': 36, u'device_owner': u'network:dhcp',
u'physical_network': None, u'mac_address': u'fa:16:3e:d2:35:92', u'device':
u'tap0ebbaf42-6b', u'port_security_enabled': False, u'port_id':
u'0ebbaf42-6bd9-4853-b041-e00f3da4dd89', u'fixed_ips': [{u'subnet_id':
u'b14d0f3c-8ec9-47fb-b035-d3f88df57d8d', u'ip_address': u'192.168.10.2'}],
u'network_type': u'vxlan', u'security_groups': []}
2017-10-24 15:57:10.455 1784 INFO
neutron.plugins.ml2.drivers.linuxbridge.agent.arp_protect
[req-bbe542d2-7d02-4373-b6af-4f8ee3dd6392 - - - - -] Skipping ARP spoofing
rules for port 'tap0ebbaf42-6b' because it has port security disabled
2017-10-24 15:57:10.550 1784 INFO
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent
[req-bbe542d2-7d02-4373-b6af-4f8ee3dd6392 - - - - -] Port tap26f36046-c8
updated. Details: {u'profile': {}, u'network_qos_policy_id': None,
u'qos_policy_id': None, u'allowed_address_pairs': [], u'admin_state_up':
True, u'network_id': u'9ee73442-5a86-48c0-84da-8f650937fd08',
u'segmentation_id': None, u'device_owner': u'network:dhcp',
u'physical_network': u'public', u'mac_address': u'fa:16:3e:a3:72:e3',
u'device': u'tap26f36046-c8', u'port_security_enabled': False, u'port_id':
u'26f36046-c837-4ba3-938a-a84189fffa6d', u'fixed_ips': [{u'subnet_id':
u'28683bfe-2410-4f9b-b805-ec3c7aee009a', u'ip_address': u'172.22.10.11'}],
u'network_type': u'flat', u'security_groups': []}
2017-10-24 15:57:10.552 1784 INFO
neutron.plugins.ml2.drivers.linuxbridge.agent.arp_protect
[req-bbe542d2-7d02-4373-b6af-4f8ee3dd6392 - - - - -] Skipping ARP spoofing
rules for port 'tap26f36046-c8' because it has port security disabled
2017-10-24 15:57:10.565 1784 ERROR neutron.agent.linux.utils
[req-bbe542d2-7d02-4373-b6af-4f8ee3dd6392 - - - - -]
Command: ['ip', '-4', 'addr', 'add', '172.22.10.99/24', 'scope', 'global',
'dev', u'brq9ee73442-5a', 'brd', '172.22.10.255']
Exit code: 2
Stdin:
Stdout:
Stderr: RTNETLINK answers: File exists





- Christopher T. Hull
My contract at NASA has ended and I am seeking new opportunities.
For updated resume and other info, please click this link.
http://faq.chrishull.com
Sunnyvale CA. 94085
(415) 385 4865
chrishull42 at gmail.com
http://chrishull.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20171025/ea68403c/attachment.html>


More information about the OpenStack-operators mailing list