Revision history [back]

Hi All,

does any one faced this type of issue while launching an instance unable to get the DHCP

2015-08-07 14:43:23.207 2506 ERROR neutron.agent.dhcp_agent [-] Unable to enable dhcp for f6b0474c-842f-4f2a-9570-7a147926a1a9. 2015-08-07 14:43:23.207 2506 TRACE neutron.agent.dhcp_agent Traceback (most recent call last): 2015-08-07 14:43:23.207 2506 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/dhcp_agent.py", line 129, in call_driver 2015-08-07 14:43:23.207 2506 TRACE neutron.agent.dhcp_agent getattr(driver, action)(**action_kwargs) 2015-08-07 14:43:23.207 2506 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/dhcp.py", line 181, in enable 2015-08-07 14:43:23.207 2506 TRACE neutron.agent.dhcp_agent self.spawn_process() 2015-08-07 14:43:23.207 2506 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/dhcp.py", line 385, in spawn_process 2015-08-07 14:43:23.207 2506 TRACE neutron.agent.dhcp_agent ip_wrapper.netns.execute(cmd, addl_env=env) 2015-08-07 14:43:23.207 2506 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/ip_lib.py", line 467, in execute 2015-08-07 14:43:23.207 2506 TRACE neutron.agent.dhcp_agent check_exit_code=check_exit_code) 2015-08-07 14:43:23.207 2506 TRACE neutron.agent.dhcp_agent File "/usr/lib/python2.6/site-packages/neutron/agent/linux/utils.py", line 76, in execute 2015-08-07 14:43:23.207 2506 TRACE neutron.agent.dhcp_agent raise RuntimeError(m) 2015-08-07 14:43:23.207 2506 TRACE neutron.agent.dhcp_agent RuntimeError: 2015-08-07 14:43:23.207 2506 TRACE neutron.agent.dhcp_agent Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qdhcp-f6b0474c-842f-4f2a-9570-7a147926a1a9', 'env', 'NEUTRON_NETWORK_ID=f6b0474c-842f-4f2a-9570-7a147926a1a9', 'dnsmasq', '--no-hosts', '--no-resolv', '--strict-order', '--bind-interfaces', '--interface=ns-9aa76982-a6', '--except-interface=lo', '--pid-file=/var/lib/neutron/dhcp/f6b0474c-842f-4f2a-9570-7a147926a1a9/pid', '--dhcp-hostsfile=/var/lib/neutron/dhcp/f6b0474c-842f-4f2a-9570-7a147926a1a9/host', '--addn-hosts=/var/lib/neutron/dhcp/f6b0474c-842f-4f2a-9570-7a147926a1a9/addn_hosts', '--dhcp-optsfile=/var/lib/neutron/dhcp/f6b0474c-842f-4f2a-9570-7a147926a1a9/opts', '--dhcp-leasefile=/var/lib/neutron/dhcp/f6b0474c-842f-4f2a-9570-7a147926a1a9/leases', '--dhcp-range=tag0,172.16.1.0,static,86400s', '--dhcp-lease-max=256', '--conf-file=/etc/neutron/dnsmasq-neutron.conf', '--domain=openstacklocal'] 2015-08-07 14:43:23.207 2506 TRACE neutron.agent.dhcp_agent Exit code: 2 2015-08-07 14:43:23.207 2506 TRACE neutron.agent.dhcp_agent Stdout: '' 2015-08-07 14:43:23.207 2506 TRACE neutron.agent.dhcp_agent Stderr: '\ndnsmasq: failed to set SO_REUSE{ADDR|PORT} on DHCP socket: Protocol not available\n' 2015-08-07 14:43:23.207 2506 TRACE neutron.agent.dhcp_agent 2015-08-07 14:43:23.209 2506 INFO neutron.agent.dhcp_agent [-] Synchronizing state complete