分享

neutron agent-list 看不到computer的linuxbridge怎么办

very_99 发表于 2016-1-21 09:48:20 [显示全部楼层] 回帖奖励 阅读模式 关闭右栏 6 42479
配置也反复查看对比,还是搞不清楚。 可以从哪些log或命令去检查呢?
是不是controller端需要做个刷新动作或computer做个注册动作?

[mw_shl_code=bash,true][root@controller1 ~]# neutron agent-list
+--------------------------------------+--------------------+----------+-------+----------------+---------------------------+
| id                                   | agent_type         | host     | alive | admin_state_up | binary                    |
+--------------------------------------+--------------------+----------+-------+----------------+---------------------------+
| 52b3682d-46b7-4b1e-8a93-f9d822f8520f | DHCP agent         | network1 | :-)   | True           | neutron-dhcp-agent        |
| 9a795b10-f4d9-4d04-ad47-b1fa039081a2 | L3 agent           | network1 | :-)   | True           | neutron-l3-agent          |
| bbd5eaa1-c512-428a-9d38-6cc99d10c68b | Linux bridge agent | network1 | :-)   | True           | neutron-linuxbridge-agent |
| c0bd081a-0491-4a65-aa08-62913e56eb6e | Metadata agent     | network1 | :-)   | True           | neutron-metadata-agent    |
+--------------------------------------+--------------------+----------+-------+----------------+---------------------------+[/mw_shl_code]

已有(6)人评论

跳转到指定楼层
very_99 发表于 2016-1-21 10:19:03
检查各个log,发现computer上linuxbridge日志没有刷新,重启此服务也是。  发现原来这里有问题鸟~~
[mw_shl_code=bash,true][root@computer1 ~]# systemctl status neutron-linuxbridge-agent.service  -l
● neutron-linuxbridge-agent.service - OpenStack Neutron Linux Bridge Agent
   Loaded: loaded (/usr/lib/systemd/system/neutron-linuxbridge-agent.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Thu 2016-01-21 10:12:17 CST; 5min ago
  Process: 12639 ExecStart=/usr/bin/neutron-linuxbridge-agent --config-file /usr/share/neutron/neutron-dist.conf --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/linuxbridge_agent.ini --config-dir /etc/neutron/conf.d/common --config-dir /etc/neutron/conf.d/neutron-linuxbridge-agent --log-file /var/log/neutron/linuxbridge-agent.log (code=exited, status=1/FAILURE)
Main PID: 12639 (code=exited, status=1/FAILURE)

Jan 21 10:12:17 computer1 neutron-linuxbridge-agent[12639]: File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/linuxbridge/agent/linuxbridge_neutron_agent.py", line 1128, in main
Jan 21 10:12:17 computer1 neutron-linuxbridge-agent[12639]: common_config.init(sys.argv[1:])
Jan 21 10:12:17 computer1 neutron-linuxbridge-agent[12639]: File "/usr/lib/python2.7/site-packages/neutron/common/config.py", line 196, in init
Jan 21 10:12:17 computer1 neutron-linuxbridge-agent[12639]: **kwargs)
Jan 21 10:12:17 computer1 neutron-linuxbridge-agent[12639]: File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 1890, in __call__
Jan 21 10:12:17 computer1 neutron-linuxbridge-agent[12639]: self._namespace._files_permission_denied)
Jan 21 10:12:17 computer1 neutron-linuxbridge-agent[12639]: oslo_config.cfg.ConfigFilesPermissionDeniedError: Failed to open some config files: /etc/neutron/plugins/ml2/linuxbridge_agent.ini
Jan 21 10:12:17 computer1 systemd[1]: neutron-linuxbridge-agent.service: main process exited, code=exited, status=1/FAILURE
Jan 21 10:12:17 computer1 systemd[1]: Unit neutron-linuxbridge-agent.service entered failed state.
Jan 21 10:12:17 computer1 systemd[1]: neutron-linuxbridge-agent.service failed.[/mw_shl_code]
回复

使用道具 举报

very_99 发表于 2016-1-21 13:48:24
配置了多余的东西,导致不正常。 删除后 重新安装就好了。


但是  配置 该不该有 该怎么增加修改,文档还是找不到
回复

使用道具 举报

easthome001 发表于 2016-1-21 14:15:58
very_99 发表于 2016-1-21 10:19
检查各个log,发现computer上linuxbridge日志没有刷新,重启此服务也是。  发现原来这里有问题鸟~~
[mw_sh ...

可能这个服务安装有问题
回复

使用道具 举报

openstack123 发表于 2016-6-30 17:22:13
我也遇到这个问题了,楼主怎么解决的
回复

使用道具 举报

445433045 发表于 2016-10-11 09:22:07
服务不正常,看看linuxbridge的配置文件
回复

使用道具 举报

jarvan 发表于 2018-1-31 17:21:42
very_99 发表于 2016-1-21 13:48
配置了多余的东西,导致不正常。 删除后 重新安装就好了。

兄弟,哪些是多余的,完全按照官方文档来的,也报错了。计算节点的 neutron-linuxbridge-agent.service起不来

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

推荐上一条 /2 下一条