[Openstack] dnsmasq: failed to bind listening socket for fe80::f816:3eff:fed1:e10f: Cannot assign requested address

Razique Mahroua razique.mahroua at gmail.com
Tue Nov 27 09:11:12 UTC 2012


Hey there, 
which version of dnsmasq are your running. This bug has been reported and fixed in the version 2.59-1 of dnsmasq
Razique

Razique Mahroua - Nuage & Co
razique.mahroua at gmail.com



Le 27 nov. 2012 à 08:25, "唐宏伟" <31438837 at qq.com> a écrit :

>  
>  
> Hi all,
>  
>     I have setup an "all-in-one" openstack folsom on my server from source code. I use quantum as the network manager. When I start the quantum-dhcp-agent, the dnsmasq starts failed, and output the error message "dnsmasq: failed to bind listening socket for fe80::f816:3eff:fed1:e10f: Cannot assign requested address ". The bound interface is a tap virtual network interface. But when I bind the dnsmasq service to a physical network interface such as eth0 or eth1, the error disappears.
>     The following are outputs of quantum-dhcp-agent.
> __________________________________________________________________________________________________________________________________________________________________________________________
> 2012-11-24 13:33:02 ERROR [quantum.agent.dhcp_agent] Unable to enable dhcp.
> Traceback (most recent call last):
> File "/usr/lib/python2.6/site-packages/quantum-2012.2-py2.6.egg/quantum/agent/dhcp_agent.py", line 93, in call_driver
> getattr(driver, action)()
> File "/usr/lib/python2.6/site-packages/quantum-2012.2-py2.6.egg/quantum/agent/linux/dhcp.py", line 112, in enable
> self.spawn_process()
> File "/usr/lib/python2.6/site-packages/quantum-2012.2-py2.6.egg/quantum/agent/linux/dhcp.py", line 258, in spawn_process
> utils.execute(cmd, self.root_helper)
> File "/usr/lib/python2.6/site-packages/quantum-2012.2-py2.6.egg/quantum/agent/linux/utils.py", line 55, in execute
> raise RuntimeError(m)
> RuntimeError:
> Command: ['sudo', 'QUANTUM_RELAY_SOCKET_PATH=/var/lib/quantum//dhcp/lease_relay', 'QUANTUM_NETWORK_ID=724019f6-47c7-4bed-9f7c-cbbcb4c1a1b5', 'dnsmasq', '--no-hosts', '--no-resolv', '--strict-order', '--bind-interfaces', '--interface=tap577a587c-cd', '--except-interface=lo', '--domain=openstacklocal', '--pid-file=/var/lib/quantum/dhcp/724019f6-47c7-4bed-9f7c-cbbcb4c1a1b5/pid', '--dhcp-hostsfile=/var/lib/quantum/dhcp/724019f6-47c7-4bed-9f7c-cbbcb4c1a1b5/host', '--dhcp-optsfile=/var/lib/quantum/dhcp/724019f6-47c7-4bed-9f7c-cbbcb4c1a1b5/opts', '--dhcp-script=/usr/bin/quantum-dhcp-agent-dnsmasq-lease-update', '--leasefile-ro', '--dhcp-range=set:tag0,10.10.1.0,static,120s', '--dhcp-range=set:tag1,10.0.0.0,static,120s']
> Exit code: 2
> Stdout: ''
> Stderr: '\ndnsmasq: failed to bind listening socket for fe80::f816:3eff:fed1:e10f: Cannot assign requested address\n'
> __________________________________________________________________________________________________________________________________________________________________________________________
> The following are arguments passed to dnsmasq command.
> __________________________________________________________________________________________________________________________________________________________________________________________
>     root 2297 0.0 0.0 148020 2060 pts/1 S 12:34 0:00 sudo QUANTUM_RELAY_SOCKET_PATH=/var/lib/quantum//dhcp/lease_relay QUANTUM_NETWORK_ID=724019f6-47c7-4bed-9f7c-cbbcb4c1a1b5 dnsmasq --no-hosts --no-resolv --strict-order --bind-interfaces --interface=tap577a587c-cd --except-interface=lo --domain=openstacklocal --pid-file=/var/lib/quantum/dhcp/724019f6-47c7-4bed-9f7c-cbbcb4c1a1b5/pid --dhcp-hostsfile=/var/lib/quantum/dhcp/724019f6-47c7-4bed-9f7c-cbbcb4c1a1b5/host --dhcp-optsfile=/var/lib/quantum/dhcp/724019f6-47c7-4bed-9f7c-cbbcb4c1a1b5/opts --dhcp-script=/usr/bin/quantum-dhcp-agent-dnsmasq-lease-update --leasefile-ro --dhcp-range=set:tag0,10.10.1.0,static,120s --dhcp-range=set:tag1,10.0.0.0,static,120s
> root 2298 0.0 0.0 10772 784 pts/1 S 12:34 0:00 dnsmasq --no-hosts --no-resolv --strict-order --bind-interfaces --interface=tap577a587c-cd --except-interface=lo --domain=openstacklocal --pid-file=/var/lib/quantum/dhcp/724019f6-47c7-4bed-9f7c-cbbcb4c1a1b5/pid --dhcp-hostsfile=/var/lib/quantum/dhcp/724019f6-47c7-4bed-9f7c-cbbcb4c1a1b5/host --dhcp-optsfile=/var/lib/quantum/dhcp/724019f6-47c7-4bed-9f7c-cbbcb4c1a1b5/opts --dhcp-script=/usr/bin/quantum-dhcp-agent-dnsmasq-lease-update --leasefile-ro --dhcp-range=set:tag0,10.10.1.0,static,120s --dhcp-range=set:tag1,10.0.0.0,static,120s
> __________________________________________________________________________________________________________________________________________________________________________________________
>  
>     Who can help me? Many thanks in advance!
> 唐宏伟
> 中国科学院计算技术研究所
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20121127/e07b927d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NUAGECO-LOGO-Fblan_petit.jpg
Type: image/jpeg
Size: 10122 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20121127/e07b927d/attachment.jpg>


More information about the Openstack mailing list