开发者社区> 问答> 正文

Openstack Ocata 计算节点neutron服务报错?报错

创建实例时分配IP,计算节点报错:

2017-11-28 15:31:49.110 1145 INFO neutron.plugins.ml2.drivers.agent._common_agent [req-8b6ef33e-abbe-479a-a717-2378b488f368 - - - - -] Linux bridge agent Agent out of sync with plugin!
2017-11-28 15:31:49.111 1145 INFO neutron.agent.securitygroups_rpc [req-8b6ef33e-abbe-479a-a717-2378b488f368 - - - - -] Remove device filter for set(['tap316d5f82-f5', 'tapcf1aabc7-04', 'tap65105b05-75', 'tapb274b482-b
8'])
2017-11-28 15:31:49.114 1145 ERROR neutron.agent.linux.utils [req-8b6ef33e-abbe-479a-a717-2378b488f368 - - - - -] Rootwrap error running command: ['conntrack', '-D', '-f', 'ipv4', '-d', '172.16.103.25', '-w', '1']
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent [req-8b6ef33e-abbe-479a-a717-2378b488f368 - - - - -] Error in agent loop. Devices info: {'current': set([]), 'timestamps': {}, 'removed
': set(['tap316d5f82-f5', 'tapcf1aabc7-04', 'tap65105b05-75', 'tapb274b482-b8']), 'added': set([]), 'updated': set([])}
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent Traceback (most recent call last):
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/agent/_common_agent.py", line 454, in daemon_loop
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent     sync = self.process_network_devices(device_info)
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 153, in wrapper
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent     return f(*args, **kwargs)
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/agent/_common_agent.py", line 213, in process_network_devices
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent     resync_b = self.treat_devices_removed(device_info['removed'])
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 153, in wrapper
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent     return f(*args, **kwargs)
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/agent/_common_agent.py", line 332, in treat_devices_removed
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent     self.sg_agent.remove_devices_filter(devices)
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/securitygroups_rpc.py", line 238, in remove_devices_filter
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent     self.firewall.remove_port_filter(device)
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/iptables_firewall.py", line 224, in remove_port_filter
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent     self._remove_conntrack_entries_from_port_deleted(port)
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/iptables_firewall.py", line 196, in _remove_conntrack_entries_from_port_de
leted
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent     [device_info], ethertype, set())
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_conntrack.py", line 126, in delete_conntrack_state_by_remote_ips
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent     self._delete_conntrack_state(device_info_list, rule)
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_conntrack.py", line 108, in _delete_conntrack_state
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent     extra_ok_codes=[1])
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/utils.py", line 132, in execute
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent     execute_rootwrap_daemon(cmd, process_input, addl_env))
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/utils.py", line 119, in execute_rootwrap_daemon
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent     LOG.error(_LE("Rootwrap error running command: %s"), cmd)
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent     self.force_reraise()
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent     six.reraise(self.type_, self.value, self.tb)
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/utils.py", line 116, in execute_rootwrap_daemon
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent     return client.execute(cmd, process_input)
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib/python2.7/site-packages/oslo_rootwrap/client.py", line 129, in execute
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent     res = proxy.run_one_command(cmd, stdin)
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "<string>", line 2, in run_one_command
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent   File "/usr/lib64/python2.7/multiprocessing/managers.py", line 773, in _callmethod
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent     raise convert_to_error(kind, result)
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent RemoteError: 
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent ---------------------------------------------------------------------------
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent Unserializable message: ('#ERROR', ValueError('I/O operation on closed file',))
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent ---------------------------------------------------------------------------
2017-11-28 15:31:49.171 1145 ERROR neutron.plugins.ml2.drivers.agent._common_agent 

 

展开
收起
爱吃鱼的程序员 2020-06-07 22:28:51 1672 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    请问您的问题解决了吗?

    你好,我现在也遇到这个问题,

    请问问题解决了么?

    没有,别人给我重装了一下就好了,你怎么解决的???

    看博客上说是安装contrack-tool软件包并重新启动所有服务就好了
    “yuminstallconntrack-tools”

    2020-06-07 22:29:08
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
OpenStack Swift 海量小文件性能优化之路 立即下载
低代码开发师(初级)实战教程 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载