yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #29284
[Bug 1431191] [NEW] dhcp-agent running error:“RTNETLINK answers: Invalid argument”
Public bug reported:
The dhcp-agent running error In my openstack system. Two ports in the
network, one is active status , another is build status.
Base config options:
"dhcp_delete_namespaces = True" in /etc/neutron/dhcp_agent.ini
"dhcp_agents_per_network = 2" in /etc/neutron/neutron.conf
Neutron informaton :
icehouse release = "1.el6" version = "2014.1.2"
OS is CentOS 6.5
I found some log in the dhcp-agent.log file, such as:
2015-03-11 17:18:00.925 31573 ERROR neutron.agent.dhcp_agent [-] Unable to enable dhcp for 1df2fa23-3e31-4371-99bf-fe138e7c6503.
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent Traceback (most recent call last):
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/dhcp_agent.py", line 129, in call_driver
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent getattr(driver, action)(**action_kwargs)
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/dhcp.py", line 165, in enable
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent reuse_existing=True)
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/dhcp.py", line 829, in setup
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent namespace=network.namespace)
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/interface.py", line 196, in plug
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent namespace_obj.add_device_to_namespace(ns_dev)
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/ip_lib.py", line 157, in add_device_to_namespace
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent device.link.set_netns(self.namespace)
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/ip_lib.py", line 243, in set_netns
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent self._as_root('set', self.name, 'netns', namespace)
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/ip_lib.py", line 218, in _as_root
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent kwargs.get('use_root_namespace', False))
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/ip_lib.py", line 71, in _as_root
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent namespace)
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/ip_lib.py", line 82, in _execute
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent root_helper=root_helper)
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/utils.py", line 76, in execute
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent raise RuntimeError(m)
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent RuntimeError:
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'link', 'set', 'tapb2312dc1-f7', 'netns', 'qdhcp-1df2fa23-3e31-4371-99bf-fe138e7c6503']
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent Exit code: 2
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent Stdout: ''
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent Stderr: 'RTNETLINK answers: Invalid argument\n'
** Affects: neutron
Importance: Undecided
Status: New
** Tags: dhcp-agent
** Description changed:
The dhcp-agent running error In my openstack system. Two ports in the
network, one is active status , another is build status.
-
Base config options:
- "dhcp_delete_namespaces = True" in /etc/neutron/dhcp_agent.ini
- "dhcp_agents_per_network = 2" in /etc/neutron/neutron.conf
-
+ "dhcp_delete_namespaces = True" in /etc/neutron/dhcp_agent.ini
+ "dhcp_agents_per_network = 2" in /etc/neutron/neutron.conf
Neutron informaton :
- icehouse release = "1.el6" version = "2014.1.2"
+ icehouse release = "1.el6" version = "2014.1.2"
+ OS is CentOS 6.5
I found some log in the dhcp-agent.log file, such as:
2015-03-11 17:18:00.925 31573 ERROR neutron.agent.dhcp_agent [-] Unable to enable dhcp for 1df2fa23-3e31-4371-99bf-fe138e7c6503.
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent Traceback (most recent call last):
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/dhcp_agent.py", line 129, in call_driver
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent getattr(driver, action)(**action_kwargs)
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/dhcp.py", line 165, in enable
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent reuse_existing=True)
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/dhcp.py", line 829, in setup
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent namespace=network.namespace)
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/interface.py", line 196, in plug
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent namespace_obj.add_device_to_namespace(ns_dev)
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/ip_lib.py", line 157, in add_device_to_namespace
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent device.link.set_netns(self.namespace)
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/ip_lib.py", line 243, in set_netns
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent self._as_root('set', self.name, 'netns', namespace)
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/ip_lib.py", line 218, in _as_root
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent kwargs.get('use_root_namespace', False))
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/ip_lib.py", line 71, in _as_root
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent namespace)
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/ip_lib.py", line 82, in _execute
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent root_helper=root_helper)
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/utils.py", line 76, in execute
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent raise RuntimeError(m)
- 2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent RuntimeError:
+ 2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent RuntimeError:
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'link', 'set', 'tapb2312dc1-f7', 'netns', 'qdhcp-1df2fa23-3e31-4371-99bf-fe138e7c6503']
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent Exit code: 2
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent Stdout: ''
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent Stderr: 'RTNETLINK answers: Invalid argument\n'
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1431191
Title:
dhcp-agent running error:“RTNETLINK answers: Invalid argument”
Status in OpenStack Neutron (virtual network service):
New
Bug description:
The dhcp-agent running error In my openstack system. Two ports in the
network, one is active status , another is build status.
Base config options:
"dhcp_delete_namespaces = True" in /etc/neutron/dhcp_agent.ini
"dhcp_agents_per_network = 2" in /etc/neutron/neutron.conf
Neutron informaton :
icehouse release = "1.el6" version = "2014.1.2"
OS is CentOS 6.5
I found some log in the dhcp-agent.log file, such as:
2015-03-11 17:18:00.925 31573 ERROR neutron.agent.dhcp_agent [-] Unable to enable dhcp for 1df2fa23-3e31-4371-99bf-fe138e7c6503.
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent Traceback (most recent call last):
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/dhcp_agent.py", line 129, in call_driver
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent getattr(driver, action)(**action_kwargs)
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/dhcp.py", line 165, in enable
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent reuse_existing=True)
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/dhcp.py", line 829, in setup
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent namespace=network.namespace)
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/interface.py", line 196, in plug
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent namespace_obj.add_device_to_namespace(ns_dev)
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/ip_lib.py", line 157, in add_device_to_namespace
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent device.link.set_netns(self.namespace)
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/ip_lib.py", line 243, in set_netns
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent self._as_root('set', self.name, 'netns', namespace)
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/ip_lib.py", line 218, in _as_root
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent kwargs.get('use_root_namespace', False))
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/ip_lib.py", line 71, in _as_root
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent namespace)
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/ip_lib.py", line 82, in _execute
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent root_helper=root_helper)
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/utils.py", line 76, in execute
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent raise RuntimeError(m)
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent RuntimeError:
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'link', 'set', 'tapb2312dc1-f7', 'netns', 'qdhcp-1df2fa23-3e31-4371-99bf-fe138e7c6503']
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent Exit code: 2
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent Stdout: ''
2015-03-11 17:18:00.925 31573 TRACE neutron.agent.dhcp_agent Stderr: 'RTNETLINK answers: Invalid argument\n'
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1431191/+subscriptions
Follow ups
References