Linux bridge agent状态xxx

当Linux bridge agent出现状态问题,且时间同步不是原因时,可能是因为网络接口配置错误。日志显示eno1677提供商接口不存在,实际配置文件中的物理接口映射设置不正确。解决方案是将`linuxbridge_agent.ini`配置文件中的`provider:eno1677`更改为正确的网卡名称。

时间不一样会导致xxx状态,但是时间问题只会出现在compute节点,controller节点或者没有问题的情况下就要考虑其它的了

[root@controller ~]# neutron agent-list
+--------------------------------------+--------------------+------------+-------------------+-------+----------------+---------------------------+
| id                                   | agent_type         | host       | availability_zone | alive | admin_state_up | binary                    |
+--------------------------------------+--------------------+------------+-------------------+-------+----------------+---------------------------+
| 1576ae04-aff3-45af-8a5e-d83f84c78555 | DHCP agent         | controller | nova              | :-)   | True           | neutron-dhcp-agent        |
| 2a21a914-d1cb-4b37-a8f1-4b295403ac8c | Linux bridge agent | compute    |                   | :-)   | True           | neutron-linuxbridge-agent |
| 88d5d470-f5d3-41b7-a600-9d7fdcddc930 | Metadata agent     | controller |                   | :-)   | True           | neutron-metadata-agent    |
| db07bd42-504e-4b7c-b5a6-badbcd0547ef | Linux bridge agent | controller |                   | xxx   | True           | neutron-linuxbridge-agent |
| e3606dd1-ed63-4f66-b3db-fdeafdf5ffa7 | L3 agent           | controller | nova              | :-)   | True           | neutron-l3-agent          |
+--------------------------------------+--------------------+------------+-------------------+-------+----------------+---------------------------+


查看linuxbridge-agent.log日志

[root@controller ~]# tail -f /var/log/neutron/linuxbridge-agent.log 
2017-11-16 11:16:15.733 16752 INFO neutron.common.config [-] Logging enabled!
2017-11-16 11:16:15.734 16752 INFO neutron.common.config [-] /usr/bin/neutron-linuxbridge-agent version 8.1.2
2017-11-16 11:16:15.734 16752 INFO neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent [-] Interface mappings: {'provider': 'eno1677'}
2017-11-16 11:16:15.734 16752 INFO neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent [-] Bridge mappings: {}
2017-11-16 11:16:15.743 16752 ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent [-] Interface eno1677 for physical network provider does not exist. Agent terminated!
2017-11-16 11:17:22.144 16846 INFO neutron.common.config [-] Logging enabled!
2017-11-16 11:17:22.146 16846 INFO neutron.common.config [-] /usr/bin/neutron-linuxbridge-agent version 8.1.2
2017-11-16 11:17:22.147 16846 INFO neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent [-] Interface mappings: {'provider': 'eno1677'}
2017-11-16 11:17:22.147 16846 INFO neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent [-] Bridge mappings: {}
2017-11-16 11:17:22.166 16846 ERROR neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent [-] Interface eno1677 for physical network provider does not exist. Agent terminated!

Interface eno1677 for physical network provider does not exist. Agent terminated!

就是说eno1677网络提供商接口不存在,这个报错就很明显

linuxbridge_agent.ini配置文件下

[linux_bridge]

physical_interface_mappings = provider:这个网卡名字错了找不到


解决方法:改成自己的网卡名字就是


评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值