[Openstack] LinuxBridge Agent Error

Brian Haley haleyb.dev at gmail.com
Mon Apr 10 20:54:02 UTC 2017


On 04/10/2017 04:15 PM, Georgios Dimitrakakis wrote:
> Installing the "conntrack-tools" package from the
> "centos-openstack-ocata" repository seems to have fixed the problem.
>
> My question is if this should have happened automatically during
> installation and if yes why it didn't happen?

 From your comment it was a manual install.  Looking at the 
neutron-sanity-check tool it doesn't seem to check for conntrack.  Fix 
proposed at https://review.openstack.org/455450

Thanks!

-Brian


> On Fri, 07 Apr 2017 19:26:02 +0300, Georgios Dimitrakakis wrote:
>> Hello,
>>
>> I am on CentOS 7 and this is a manual Ocata installation as described
>> on the deployment guide.
>>
>> My cloud seems to be operating normally even with these messages. The
>> thing is that I don't like all these (there are a whole bunch of them
>> every second) in my log files.
>>
>> I will try to see if I am missing the "conntrack" and try to install
>> the patch that will provide more info..
>>
>>
>> Best,
>>
>> G.
>>
>>> Is this a packstack installation?
>>>
>>> Inviato da iPhone
>>>
>>> Il giorno 07 apr 2017, alle ore di 07:19, Kevin Benton  ha scritto:
>>>
>>>> You may be missing whatever package in your distro provides the
>>>> 'conntrack' util.
>>>>
>>>> On Apr 7, 2017 03:52, "Georgios Dimitrakakis" wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I am having an Ocata installation and on my Compute Node the
>>>>> "linuxbridge-agent.log" file is constantly filling out with
>>>>> messages like this:
>>>>>
>>>>> 2017-04-07 13:37:47.709 1397 ERROR neutron.plugins.ml2.drivers.ag
>>>>> [1]ent._common_agent Traceback (most recent call last):
>>>>> 2017-04-07 13:37:47.709 1397 ERROR neutron.plugins.ml2.drivers.ag
>>>>> [2]ent._common_agent File
>>>>>
>>>>
>>>
>>> "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/agent/_common_agent.py",
>>>
>>>>> line 453, in daemon_loop
>>>>> 2017-04-07 13:37:47.709 1397 ERROR neutron.plugins.ml2.drivers.ag
>>>>> [3]ent._common_agent sync =
>>>>> self.process_network_devices(device_info)
>>>>> 2017-04-07 13:37:47.709 1397 ERROR neutron.plugins.ml2.drivers.ag
>>>>> [4]ent._common_agent File
>>>>> "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line
>>>>> 153, in wrapper
>>>>> 2017-04-07 13:37:47.709 1397 ERROR neutron.plugins.ml2.drivers.ag
>>>>> [5]ent._common_agent return f(*args, **kwargs)
>>>>> 2017-04-07 13:37:47.709 1397 ERROR neutron.plugins.ml2.drivers.ag
>>>>> [6]ent._common_agent File
>>>>>
>>>>
>>>
>>> "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/agent/_common_agent.py",
>>>
>>>>> line 213, in process_network_devices
>>>>> 2017-04-07 13:37:47.709 1397 ERROR neutron.plugins.ml2.drivers.ag
>>>>> [7]ent._common_agent resync_b =
>>>>> self.treat_devices_removed(device_info['removed'])
>>>>> 2017-04-07 13:37:47.709 1397 ERROR neutron.plugins.ml2.drivers.ag
>>>>> [8]ent._common_agent File
>>>>> "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line
>>>>> 153, in wrapper
>>>>> 2017-04-07 13:37:47.709 1397 ERROR neutron.plugins.ml2.drivers.ag
>>>>> [9]ent._common_agent return f(*args, **kwargs)
>>>>> 2017-04-07 13:37:47.709 1397 ERROR neutron.plugins.ml2.drivers.ag
>>>>> [10]ent._common_agent File
>>>>>
>>>>
>>>
>>> "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/agent/_common_agent.py",
>>>
>>>>> line 331, in treat_devices_removed
>>>>> 2017-04-07 13:37:47.709 1397 ERROR neutron.plugins.ml2.drivers.ag
>>>>> [11]ent._common_agent self.sg_agent.remove_devices_filter(devices)
>>>>> 2017-04-07 13:37:47.709 1397 ERROR neutron.plugins.ml2.drivers.ag
>>>>> [12]ent._common_agent File
>>>>>
>>>>
>>>
>>> "/usr/lib/python2.7/site-packages/neutron/agent/securitygroups_rpc.py",
>>>>> line 238, in remove_devices_filter
>>>>> 2017-04-07 13:37:47.709 1397 ERROR neutron.plugins.ml2.drivers.ag
>>>>> [13]ent._common_agent self.firewall.remove_port_filter(device)
>>>>> 2017-04-07 13:37:47.709 1397 ERROR neutron.plugins.ml2.drivers.ag
>>>>> [14]ent._common_agent File
>>>>>
>>>>
>>>
>>> "/usr/lib/python2.7/site-packages/neutron/agent/linux/iptables_firewall.py",
>>>
>>>>> line 222, in remove_port_filter
>>>>> 2017-04-07 13:37:47.709 1397 ERROR neutron.plugins.ml2.drivers.ag
>>>>> [15]ent._common_agent
>>>>> self._remove_conntrack_entries_from_port_deleted(port)
>>>>> 2017-04-07 13:37:47.709 1397 ERROR neutron.plugins.ml2.drivers.ag
>>>>> [16]ent._common_agent File
>>>>>
>>>>
>>>
>>> "/usr/lib/python2.7/site-packages/neutron/agent/linux/iptables_firewall.py",
>>>
>>>>> line 194, in _remove_conntrack_entries_from_port_deleted
>>>>> 2017-04-07 13:37:47.709 1397 ERROR neutron.plugins.ml2.drivers.ag
>>>>> [17]ent._common_agent [device_info], ethertype, set())
>>>>> 2017-04-07 13:37:47.709 1397 ERROR neutron.plugins.ml2.drivers.ag
>>>>> [18]ent._common_agent File
>>>>>
>>>>
>>>
>>> "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_conntrack.py",
>>>>> line 121, in delete_conntrack_state_by_remote_ips
>>>>> 2017-04-07 13:37:47.709 1397 ERROR neutron.plugins.ml2.drivers.ag
>>>>> [19]ent._common_agent
>>>>> self._delete_conntrack_state(device_info_list, rule)
>>>>> 2017-04-07 13:37:47.709 1397 ERROR neutron.plugins.ml2.drivers.ag
>>>>> [20]ent._common_agent File
>>>>>
>>>>
>>>
>>> "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_conntrack.py",
>>>>> line 103, in _delete_conntrack_state
>>>>> 2017-04-07 13:37:47.709 1397 ERROR neutron.plugins.ml2.drivers.ag
>>>>> [21]ent._common_agent extra_ok_codes=[1])
>>>>> 2017-04-07 13:37:47.709 1397 ERROR neutron.plugins.ml2.drivers.ag
>>>>> [22]ent._common_agent File
>>>>> "/usr/lib/python2.7/site-packages/neutron/agent/linux/utils.py",
>>>>> line 128, in execute
>>>>> 2017-04-07 13:37:47.709 1397 ERROR neutron.plugins.ml2.drivers.ag
>>>>> [23]ent._common_agent execute_rootwrap_daemon(cmd, process_input,
>>>>> addl_env))
>>>>> 2017-04-07 13:37:47.709 1397 ERROR neutron.plugins.ml2.drivers.ag
>>>>> [24]ent._common_agent File
>>>>> "/usr/lib/python2.7/site-packages/neutron/agent/linux/utils.py",
>>>>> line 115, in execute_rootwrap_daemon
>>>>> 2017-04-07 13:37:47.709 1397 ERROR neutron.plugins.ml2.drivers.ag
>>>>> [25]ent._common_agent return client.execute(cmd, process_input)
>>>>> 2017-04-07 13:37:47.709 1397 ERROR neutron.plugins.ml2.drivers.ag
>>>>> [26]ent._common_agent File
>>>>> "/usr/lib/python2.7/site-packages/oslo_rootwrap/client.py", line
>>>>> 128, in execute
>>>>> 2017-04-07 13:37:47.709 1397 ERROR neutron.plugins.ml2.drivers.ag
>>>>> [27]ent._common_agent res = proxy.run_one_command(cmd, stdin)
>>>>> 2017-04-07 13:37:47.709 1397 ERROR neutron.plugins.ml2.drivers.ag
>>>>> [28]ent._common_agent File "", line 2, in run_one_command
>>>>> 2017-04-07 13:37:47.709 1397 ERROR neutron.plugins.ml2.drivers.ag
>>>>> [29]ent._common_agent File
>>>>> "/usr/lib64/python2.7/multiprocessing/managers.py", line 773, in
>>>>> _callmethod
>>>>> 2017-04-07 13:37:47.709 1397 ERROR neutron.plugins.ml2.drivers.ag
>>>>> [30]ent._common_agent raise convert_to_error(kind, result)
>>>>> 2017-04-07 13:37:47.709 1397 ERROR neutron.plugins.ml2.drivers.ag
>>>>> [31]ent._common_agent RemoteError:
>>>>> 2017-04-07 13:37:47.709 1397 ERROR neutron.plugins.ml2.drivers.ag
>>>>> [32]ent._common_agent
>>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------------
>>>
>>>>> 2017-04-07 13:37:47.709 1397 ERROR neutron.plugins.ml2.drivers.ag
>>>>> [33]ent._common_agent Unserializable message: ('#ERROR',
>>>>> ValueError('I/O operation on closed file',))
>>>>> 2017-04-07 13:37:47.709 1397 ERROR neutron.plugins.ml2.drivers.ag
>>>>> [34]ent._common_agent
>>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------------
>>>
>>>>> 2017-04-07 13:37:47.709 1397 ERROR neutron.plugins.ml2.drivers.ag
>>>>> [35]ent._common_agent
>>>>> 2017-04-07 13:37:47.710 1397 INFO neutron.plugins.ml2.drivers.ag
>>>>> [36]ent._common_agent [req-93157f5e-9f2d-4547-9002-c473211df719 -
>>>>> - - - -] Linux bridge agent Agent out of sync with plugin!
>>>>>
>>>>> Any idea what might be the problem???
>>>>>
>>>>> The full log of a total circle of messages can be found here:
>>>>> https://pastebin.com/6Yzn0FuY [37]
>>>>>
>>>>> Looking forward for an answer!
>>>>>
>>>>> Best regards,
>>>>>
>>>>> G.
>>>>>
>>>>> _______________________________________________
>>>>> Mailing list:
>>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack [38]
>>>>> Post to : openstack at lists.openstack.org [39]
>>>>> Unsubscribe :
>>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack [40]
>>>> !DSPAM:1,58e777a158574020391806!
>>>
>>>> _______________________________________________
>>>> Mailing list:
>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack [42]
>>>> Post to : openstack at lists.openstack.org [43]
>>>> Unsubscribe :
>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack [44]
>>>>
>>>> !DSPAM:1,58e777a158574020391806!
>>>
>>>
>>> Links:
>>> ------
>>> [1] http://neutron.plugins.ml2.drivers.ag
>>> [2] http://neutron.plugins.ml2.drivers.ag
>>> [3] http://neutron.plugins.ml2.drivers.ag
>>> [4] http://neutron.plugins.ml2.drivers.ag
>>> [5] http://neutron.plugins.ml2.drivers.ag
>>> [6] http://neutron.plugins.ml2.drivers.ag
>>> [7] http://neutron.plugins.ml2.drivers.ag
>>> [8] http://neutron.plugins.ml2.drivers.ag
>>> [9] http://neutron.plugins.ml2.drivers.ag
>>> [10] http://neutron.plugins.ml2.drivers.ag
>>> [11] http://neutron.plugins.ml2.drivers.ag
>>> [12] http://neutron.plugins.ml2.drivers.ag
>>> [13] http://neutron.plugins.ml2.drivers.ag
>>> [14] http://neutron.plugins.ml2.drivers.ag
>>> [15] http://neutron.plugins.ml2.drivers.ag
>>> [16] http://neutron.plugins.ml2.drivers.ag
>>> [17] http://neutron.plugins.ml2.drivers.ag
>>> [18] http://neutron.plugins.ml2.drivers.ag
>>> [19] http://neutron.plugins.ml2.drivers.ag
>>> [20] http://neutron.plugins.ml2.drivers.ag
>>> [21] http://neutron.plugins.ml2.drivers.ag
>>> [22] http://neutron.plugins.ml2.drivers.ag
>>> [23] http://neutron.plugins.ml2.drivers.ag
>>> [24] http://neutron.plugins.ml2.drivers.ag
>>> [25] http://neutron.plugins.ml2.drivers.ag
>>> [26] http://neutron.plugins.ml2.drivers.ag
>>> [27] http://neutron.plugins.ml2.drivers.ag
>>> [28] http://neutron.plugins.ml2.drivers.ag
>>> [29] http://neutron.plugins.ml2.drivers.ag
>>> [30] http://neutron.plugins.ml2.drivers.ag
>>> [31] http://neutron.plugins.ml2.drivers.ag
>>> [32] http://neutron.plugins.ml2.drivers.ag
>>> [33] http://neutron.plugins.ml2.drivers.ag
>>> [34] http://neutron.plugins.ml2.drivers.ag
>>> [35] http://neutron.plugins.ml2.drivers.ag
>>> [36] http://neutron.plugins.ml2.drivers.ag
>>> [37] https://pastebin.com/6Yzn0FuY
>>> [38] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>> [39] mailto:openstack at lists.openstack.org
>>> [40] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>> [41] mailto:giorgis at acmac.uoc.gr
>>> [42] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>> [43] mailto:openstack at lists.openstack.org
>>> [44] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>> [45] mailto:kevin at benton.pub
>>
>>
>> _______________________________________________
>> Mailing list:
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to     : openstack at lists.openstack.org
>> Unsubscribe :
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack





More information about the Openstack mailing list