Unable to sync network state [closed]

asked 2013-09-12 04:24:41 -0500

网名还没想好 gravatar image

updated 2013-09-12 08:40:36 -0500

Jobin gravatar image

When i execute sudo neutron-dhcp-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/dhcp_agent.ini on network node, I get the following error:

2013-09-12 17:18:42     INFO [quantum.common.config] Logging enabled!
2013-09-12 17:18:42     INFO [quantum.openstack.common.rpc.common] Connected to AMQP server on
2013-09-12 17:18:42     INFO [quantum.openstack.common.rpc.common] Connected to AMQP server on
2013-09-12 17:18:42     INFO [quantum.agent.dhcp_agent] DHCP agent started
2013-09-12 17:18:42     INFO [quantum.agent.dhcp_agent] Synchronizing state
2013-09-12 17:18:43    ERROR [quantum.agent.dhcp_agent] Unable to sync network state.
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/quantum/agent/dhcp_agent.py", line 154, in sync_state
  File "/usr/lib/python2.7/dist-packages/quantum/agent/dhcp_agent.py", line 201, in disable_dhcp_helper
  File "/usr/lib/python2.7/dist-packages/quantum/agent/dhcp_agent.py", line 341, in disable_isolated_metadata_proxy
  File "/usr/lib/python2.7/dist-packages/quantum/agent/linux/external_process.py", line 67, in disable
  File "/usr/lib/python2.7/dist-packages/quantum/agent/linux/ip_lib.py", line 414, in execute
  File "/usr/lib/python2.7/dist-packages/quantum/agent/linux/utils.py", line 61, in execute
    raise RuntimeError(m)
Command: ['sudo', '/usr/bin/quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ip', 'netns', 'exec', 'qdhcp-e2f2befb-1fa5-40db-b803-a15f47122627', 'kill', '-9', '2421']
Exit code: 1
Stdout: ''
Stderr: 'seting the network namespace failed: Invalid argument\n'
2013-09-12 17:18:48     INFO [quantum.agent.dhcp_agent] Synchronizing state
2013-09-12 17:18:48    ERROR [quantum.agent.dhcp_agent] Unable to sync network state.

How should i solve this problem? Any help will be highly appreciated.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by koolhead17
close date 2013-11-19 19:32:49.009765


It seems to be a known issue - https://bugs.launchpad.net/neutron/+bug/1052535 - What operating system, kernal and iproute versions?

darragh-oreilly gravatar imagedarragh-oreilly ( 2013-09-13 03:53:51 -0500 )edit

think you very much

Cheering gravatar imageCheering ( 2013-09-14 00:03:28 -0500 )edit