Quantcast
Channel: Ask OpenStack: Q&A Site for OpenStack Users and Developers - Individual question feed
Viewing all articles
Browse latest Browse all 2

ERROR neutron.plugins.ml2.drivers.agent._common_agent

Previous: Comment by Bernd Bausch for I install openstack-ocata in my CentOS7.2, I install the controller and compute in one node. In can not use neutron agent-list to show the agent list, there shows nothing: [root@controller ~]# neutron agent-list neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead. I use vim /etc/neutron/plugins/ml2/linuxbridge_agent.ini check my linuxbridge_agent.ini: [linux_bridge] physical_interface_mappings = provider:enp2s0f0 [securitygroup] enable_security_group = True firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver [vxlan] enable_vxlan = True local_ip = 10.1.1.120 l2_population = True In the /var/log/neutron/inuxbridge-agent.log: 2017-12-09 11:11:10.656 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent message = self.waiters.get(msg_id, timeout=timeout) 2017-12-09 11:11:10.656 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 238, in get 2017-12-09 11:11:10.656 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent 'to message ID %s' % msg_id) 2017-12-09 11:11:10.656 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent MessagingTimeout: Timed out waiting for a reply to message ID 64f066e39907443ca01235bcc8d8143e 2017-12-09 11:11:10.656 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent 2017-12-09 11:11:10.658 8506 WARNING oslo.service.loopingcall [-] Function 'neutron.plugins.ml2.drivers.agent._common_agent.CommonAgentLoop._report_state' run outlasted interval by 30.07 sec 2017-12-09 11:12:10.661 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent [-] Failed reporting state! 2017-12-09 11:12:10.661 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent Traceback (most recent call last): 2017-12-09 11:12:10.661 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/agent/_common_agent.py", line 131, in _report_state 2017-12-09 11:12:10.661 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent True) 2017-12-09 11:12:10.661 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/site-packages/neutron/agent/rpc.py", line 87, in report_state 2017-12-09 11:12:10.661 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent return method(context, 'report_state', **kwargs) 2017-12-09 11:12:10.661 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 169, in call 2017-12-09 11:12:10.661 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent retry=self.retry) 2017-12-09 11:12:10.661 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 97, in _send 2017-12-09 11:12:10.661 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent timeout=timeout, retry=retry) 2017-12-09 11:12:10.661 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 458, in send 2017-12-09 11:12:10.661 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent retry=retry) 2017-12-09 11:12:10.661 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 447, in _send 2017-12-09 11 ... (more)
0
0
I install openstack-ocata in my CentOS7.2, I install the controller and compute in one node. In can not use `neutron agent-list` to show the agent list, there shows nothing: [root@controller ~]# neutron agent-list neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead. I use vim /etc/neutron/plugins/ml2/linuxbridge_agent.ini check my linuxbridge_agent.ini: [linux_bridge] physical_interface_mappings = provider:enp2s0f0 [securitygroup] enable_security_group = True firewall_driver = neutron.agent.linux.iptables_firewall.IptablesFirewallDriver [vxlan] enable_vxlan = True local_ip = 10.1.1.120 l2_population = True In the `/var/log/neutron/inuxbridge-agent.log`: 2017-12-09 11:11:10.656 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent message = self.waiters.get(msg_id, timeout=timeout) 2017-12-09 11:11:10.656 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 238, in get 2017-12-09 11:11:10.656 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent 'to message ID %s' % msg_id) 2017-12-09 11:11:10.656 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent MessagingTimeout: Timed out waiting for a reply to message ID 64f066e39907443ca01235bcc8d8143e 2017-12-09 11:11:10.656 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent 2017-12-09 11:11:10.658 8506 WARNING oslo.service.loopingcall [-] Function 'neutron.plugins.ml2.drivers.agent._common_agent.CommonAgentLoop._report_state' run outlasted interval by 30.07 sec 2017-12-09 11:12:10.661 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent [-] Failed reporting state! 2017-12-09 11:12:10.661 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent Traceback (most recent call last): 2017-12-09 11:12:10.661 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/site-packages/neutron/plugins/ml2/drivers/agent/_common_agent.py", line 131, in _report_state 2017-12-09 11:12:10.661 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent True) 2017-12-09 11:12:10.661 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/site-packages/neutron/agent/rpc.py", line 87, in report_state 2017-12-09 11:12:10.661 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent return method(context, 'report_state', **kwargs) 2017-12-09 11:12:10.661 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/site-packages/oslo_messaging/rpc/client.py", line 169, in call 2017-12-09 11:12:10.661 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent retry=self.retry) 2017-12-09 11:12:10.661 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 97, in _send 2017-12-09 11:12:10.661 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent timeout=timeout, retry=retry) 2017-12-09 11:12:10.661 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 458, in send 2017-12-09 11:12:10.661 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent retry=retry) 2017-12-09 11:12:10.661 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 447, in _send 2017-12-09 11:12:10.661 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent result = self._waiter.wait(msg_id, timeout) 2017-12-09 11:12:10.661 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 339, in wait 2017-12-09 11:12:10.661 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent message = self.waiters.get(msg_id, timeout=timeout) 2017-12-09 11:12:10.661 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent File "/usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 238, in get 2017-12-09 11:12:10.661 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent 'to message ID %s' % msg_id) 2017-12-09 11:12:10.661 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent MessagingTimeout: Timed out waiting for a reply to message ID 5bb6243884a6420bac23dc708ffead50 2017-12-09 11:12:10.661 8506 ERROR neutron.plugins.ml2.drivers.agent._common_agent 2017-12-09 11:12:10.662 8506 WARNING oslo.service.loopingcall [-] Function 'neutron.plugins.ml2.drivers.agent._common_agent.CommonAgentLoop._report_state' run outlasted interval by 30.00 sec I use `ip a ` to show my network-interfaces: [root@controller neutron]# ip a 1: lo: mtu 65536 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: enp2s0f0: mtu 1500 qdisc mq state UP qlen 1000 link/ether 0c:c4:7a:15:e8:14 brd ff:ff:ff:ff:ff:ff inet 103.35.202.1/29 brd 103.35.202.7 scope global enp2s0f0 valid_lft forever preferred_lft forever inet 103.35.202.2/29 brd 103.35.202.7 scope global secondary enp2s0f0 valid_lft forever preferred_lft forever inet 103.35.202.3/29 brd 103.35.202.7 scope global secondary enp2s0f0 valid_lft forever preferred_lft forever inet 103.35.202.4/29 brd 103.35.202.7 scope global secondary enp2s0f0 valid_lft forever preferred_lft forever inet 103.35.202.5/29 brd 103.35.202.7 scope global secondary enp2s0f0 valid_lft forever preferred_lft forever inet6 fe80::ec4:7aff:fe15:e814/64 scope link valid_lft forever preferred_lft forever 3: enp2s0f1: mtu 1500 qdisc mq state DOWN qlen 1000 link/ether 0c:c4:7a:15:e8:15 brd ff:ff:ff:ff:ff:ff inet 10.1.1.120/24 brd 10.1.1.255 scope global enp2s0f1 valid_lft forever preferred_lft forever In the ask.openstck I find a similar issue, it says the local_ip was not config, but mine is set, you can see in my `/etc/neutron/plugins/ml2/linuxbridge_agent.ini`. some friend can help me with this?

Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images