发起问题
0

neutron agent-list 没有 linuxbridge-agent

提问于 2016-06-02 02:39:47 -0500

cehui0303 图像

我配置了整个neutron,采用provider的模式,我将Node,controller,network都部署在同一台只有一张网卡的物理机上

机器的ifconfig配置如下: root@UBUNTUOPENSTACK:/home/ubuntu# ifconfig em1 Link encap:Ethernet HWaddr 00:1e:37:3a:98:ea inet addr:126.33.9.170 Bcast:126.33.9.255 Mask:255.255.255.0 inet6 addr: fe80::21e:37ff:fe3a:98ea/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:15354 errors:0 dropped:0 overruns:0 frame:0 TX packets:10364 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2112601 (2.1 MB) TX bytes:2993866 (2.9 MB) Interrupt:20 Memory:f7c00000-f7c20000

lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:54834 errors:0 dropped:0 overruns:0 frame:0 TX packets:54834 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:11324882 (11.3 MB) TX bytes:11324882 (11.3 MB)

virbr0 Link encap:Ethernet HWaddr 52:54:00:06:34:f7 inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

但我用agent-list显示的时候i,只有

root@UBUNTUOPENSTACK:/home/ubuntu# neutron agent-list +--------------------------------------+----------------+-----------------+-------------------+-------+----------------+------------------------+ | id | agent_type | host | availability_zone | alive | admin_state_up | binary | +--------------------------------------+----------------+-----------------+-------------------+-------+----------------+------------------------+ | 1a56e88a-7e9a-4d88-8e95-fcdc2b068349 | Metadata agent | UBUNTUOPENSTACK | | :-) | True | neutron-metadata-agent | | df774982-d451-4267-bbf2-75492146cbc8 | DHCP agent | UBUNTUOPENSTACK | nova | :-) | True | neutron-dhcp-agent | +--------------------------------------+----------------+-----------------+-------------------+-------+----------------+------------------------+

我配置了neutron-linuxbridge-agent了的,而且该服务可以看到是运行中的。

我看到错误日志是这样的 2016-06-02 15:26:04.709 11467 INFO neutron.common.config [-] Logging enabled! 2016-06-02 15:26:04.709 11467 INFO neutron.common.config [-] /usr/bin/neutron-linuxbridge-agent version 8.1.0 2016-06-02 15:26:04.710 11467 INFO neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent [-] Interface mappings: {'provider': 'em1'} 2016-06-02 15:26:04.710 11467 INFO neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent [-] Bridge mappings: {} 2016-06-02 15:26:04.717 11467 INFO neutron.plugins.ml2.drivers.linuxbridge.agent.linuxbridge_neutron_agent [-] Agent initialized successfully, now running... 2016-06-02 15:26:04.733 11467 ERROR neutron.agent.linux.utils [req-2b017102-d0bb-4543-9026-71dd1f807f91 - - - - -] Exit code: 1; Stdin: ; Stdout: ; Stderr: sudo: /etc/sudoers is world writable sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin

2016-06-02 15:26:04.734 11467 ERROR oslo_service.service [req-2b017102-d0bb-4543-9026-71dd1f807f91 - - - - -] Error starting thread. 2016-06-02 15:26:04.734 11467 ERROR oslo_service.service Traceback (most recent call last): 2016-06-02 15:26:04.734 11467 ERROR oslo_service.service File "/usr/lib/python2.7/dist-packages/oslo_service/service.py", line 680, in run_service 2016-06-02 15:26:04.734 11467 ERROR oslo_service.service service.start() 2016-06-02 15:26:04.734 11467 ERROR oslo_service.service File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/drivers/agent/_common_agent.py", line 78, in start 2016-06-02 15:26:04.734 11467 ERROR oslo_service.service self.setup_rpc() 2016-06-02 15:26:04.734 11467 ERROR oslo_service.service File "/usr/lib/python2.7/dist-packages/neutron ... (more)

edit retag flag offensive close merge delete
0

回答 2016-12-25 20:46:10 -0500

bujike 图像

我也碰到这样的问题,你后来是怎么解决的

edit flag offensive delete link 更多

你的回答

Please start posting anonymously - your entry will be published after you log in or create a new account.

开始回答

提问工具

1 follower

统计

已提问: 2016-06-02 02:39:47 -0500

已查看: 1,008 次

最后更新: Jun 02 '16