settingsLogin | Registersettings

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

0 votes

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.linuxbridgeneutronagent
sync = self.processnetworkdevices(deviceinfo)
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge
neutronagent.py",
line 1009, in process
networkdevices
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
resync
a = self.treatdevicesaddedupdated(devicesaddedupdated)
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge
neutronagent.py",
line 1045, in treat
devicesaddedupdated
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridgeneutronagent
devicedetails['portid'], devicedetails['deviceowner'])
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridgeneutronagent
File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridgeneutronagent.py",
line 542, in addinterface
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
tap
devicename, deviceowner)
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridgeneutronagent
File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridgeneutronagent.py",
line 480, in addtapinterface
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridgeneutronagent
return False
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridgeneutronagent
File "/usr/lib/python2.7/site-packages/osloutils/excutils.py", line 195,
in exit
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
six.reraise(self.type
, self.value, self.tb)
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridgeneutronagent
File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridgeneutronagent.py",
line 472, in addtapinterface
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridgeneutronagent
tapdevicename, deviceowner)
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge
neutronagent.py",
line 504, in _add
tapinterface
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
segmentation
id)
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridgeneutronagent
File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridgeneutronagent.py",
line 456, in ensurephysicalinbridge
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
physical
interface)
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridgeneutronagent
File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridgeneutronagent.py",
line 275, in ensureflatbridge
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridgeneutronagent
gateway):
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridgeneutronagent
File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridgeneutronagent.py",
line 416, in ensurebridge
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
self.update
interfaceipdetails(bridgename, interface, ips, gateway)
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
File
"/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge
neutronagent.py",
line 355, in update
interfaceipdetails
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridgeneutronagent
dstdevice.addr.add(cidr=ip['cidr'])
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
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.linuxbridgeneutronagent
self.asroot([net.version], tuple(args))
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridgeneutronagent
File "/usr/lib/python2.7/site-packages/neutron/agent/linux/iplib.py",
line 338, in _as
root
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridgeneutronagent
userootnamespace=userootnamespace)
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridgeneutronagent
File "/usr/lib/python2.7/site-packages/neutron/agent/linux/iplib.py",
line 92, in _as
root
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridgeneutronagent
logfailaserror=self.logfailaserror)
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridgeneutronagent
File "/usr/lib/python2.7/site-packages/neutron/agent/linux/iplib.py",
line 101, in _execute
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
log
failaserror=logfailaserror)
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
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
neutronagent
raise RuntimeError(m)
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
RuntimeError:
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
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
neutronagent
Exit code: 2
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
Stdin:
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
Stdout:
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
Stderr: RTNETLINK answers: File exists
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
2017-10-24 15:57:08.634 1784 ERROR
neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge
neutronagent
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.securitygroupsrpc
[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
neutronagent
[req-bbe542d2-7d02-4373-b6af-4f8ee3dd6392 - - - - -] Port tapac96860d-e8
updated. Details: {u'profile': {}, u'network
qospolicyid': None,
u'qospolicyid': None, u'allowedaddresspairs': [], u'adminstateup':
True, u'networkid': u'b850e7b5-709b-4efe-922a-fb827820d185',
u'segmentation
id': 36, u'deviceowner': u'network:routerinterface',
u'physicalnetwork': None, u'macaddress': u'fa:16:3e:13:eb:eb', u'device':
u'tapac96860d-e8', u'portsecurityenabled': False, u'portid':
u'ac96860d-e814-4011-bd44-8b56b2d994e9', u'fixed
ips': [{u'subnetid':
u'b14d0f3c-8ec9-47fb-b035-d3f88df57d8d', u'ip
address': u'192.168.10.1'}],
u'networktype': u'vxlan', u'securitygroups': []}
2017-10-24 15:57:10.356 1784 INFO
neutron.plugins.ml2.drivers.linuxbridge.agent.arpprotect
[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
neutronagent
[req-bbe542d2-7d02-4373-b6af-4f8ee3dd6392 - - - - -] Port tap0ebbaf42-6b
updated. Details: {u'profile': {}, u'network
qospolicyid': None,
u'qospolicyid': None, u'allowedaddresspairs': [], u'adminstateup':
True, u'networkid': u'b850e7b5-709b-4efe-922a-fb827820d185',
u'segmentation
id': 36, u'deviceowner': u'network:dhcp',
u'physical
network': None, u'macaddress': u'fa:16:3e:d2:35:92', u'device':
u'tap0ebbaf42-6b', u'port
securityenabled': False, u'portid':
u'0ebbaf42-6bd9-4853-b041-e00f3da4dd89', u'fixedips': [{u'subnetid':
u'b14d0f3c-8ec9-47fb-b035-d3f88df57d8d', u'ipaddress': u'192.168.10.2'}],
u'network
type': u'vxlan', u'securitygroups': []}
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.linuxbridgeneutronagent
[req-bbe542d2-7d02-4373-b6af-4f8ee3dd6392 - - - - -] Port tap26f36046-c8
updated. Details: {u'profile': {}, u'networkqospolicyid': None,
u'qos
policyid': None, u'allowedaddresspairs': [], u'adminstateup':
True, u'network
id': u'9ee73442-5a86-48c0-84da-8f650937fd08',
u'segmentationid': None, u'deviceowner': u'network:dhcp',
u'physicalnetwork': u'public', u'macaddress': u'fa:16:3e:a3:72:e3',
u'device': u'tap26f36046-c8', u'portsecurityenabled': False, u'portid':
u'26f36046-c837-4ba3-938a-a84189fffa6d', u'fixed
ips': [{u'subnetid':
u'28683bfe-2410-4f9b-b805-ec3c7aee009a', u'ip
address': u'172.22.10.11'}],
u'networktype': u'flat', u'securitygroups': []}
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

asked Oct 25, 2017 in openstack-operators by Christopher_Hull (2,220 points)   2 5 7
...