<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hey there, <div>which version of dnsmasq are your running. This bug has been reported and fixed in the version <span style="line-height: 19px; ">2.59-1 of dnsmasq</span></div><div><span style="line-height: 19px;">Razique<br></span><div><br></div><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; font-family: 'Lucida Grande'; border-spacing: 0px; "><span class="Apple-style-span" style="font-family: Helvetica; "><b style="color: rgb(19, 112, 138); ">Razique Mahroua</b></span><span class="Apple-style-span" style="font-family: Helvetica; color: rgb(19, 112, 138); "><b> - </b></span><span class="Apple-style-span" style="font-family: Helvetica; "><span class="Apple-style-span" style="font-family: Helvetica; "><b style="color: rgb(19, 112, 138); ">Nuage & Co</b></span><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; border-collapse: separate; border-spacing: 0px; -webkit-text-decorations-in-effect: none; "><span class="Apple-style-span" style="border-collapse: separate; font-variant: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-weight: normal; font-style: normal; "><font class="Apple-style-span" color="#13708a"><a href="mailto:razique.mahroua@gmail.com">razique.mahroua@gmail.com</a></font></div></span><br class="Apple-interchange-newline"><span></span><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-weight: normal; font-style: normal; "></span><span style="color: rgb(0, 0, 0); font-weight: normal; "></span></span><span style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span><span><img height="125" width="125" id="95c339c0-5c54-450b-a95b-7b0798aa5313" apple-width="yes" apple-height="yes" src="cid:00E07450-433E-43E6-9005-48B8FD5C669F@la.fabrique"></span>
</span></span></span></span></span></div>
<br><div><div>Le 27 nov. 2012 à 08:25, "唐宏伟" <31438837@<a href="http://qq.com">qq.com</a>> a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div> </div>
<div>
<div style="padding: 8px; background-color: rgb(239, 239, 239); font-size: 12px; background-position: initial initial; background-repeat: initial initial; ">
<div> </div>
<style> 



</style>
</div>
<div>
<div class="FoxDiv20121126201143194237">
<div>Hi all,</div>
<div> </div>
<div>    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. </div>
<div>    The following are outputs of quantum-dhcp-agent.</div>
<div>__________________________________________________________________________________________________________________________________________________________________________________________</div>
<div>2012-11-24 13:33:02 ERROR [quantum.agent.dhcp_agent] Unable to enable dhcp.<br>Traceback (most recent call last):<br>File "/usr/lib/python2.6/site-packages/quantum-2012.2-py2.6.egg/quantum/agent/dhcp_agent.py", line 93, in call_driver<br>getattr(driver, action)()<br>File "/usr/lib/python2.6/site-packages/quantum-2012.2-py2.6.egg/quantum/agent/linux/dhcp.py", line 112, in enable<br>self.spawn_process()<br>File "/usr/lib/python2.6/site-packages/quantum-2012.2-py2.6.egg/quantum/agent/linux/dhcp.py", line 258, in spawn_process<br>utils.execute(cmd, self.root_helper)<br>File "/usr/lib/python2.6/site-packages/quantum-2012.2-py2.6.egg/quantum/agent/linux/utils.py", line 55, in execute<br>raise RuntimeError(m)<br>RuntimeError:<br>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']<br>Exit code: 2<br>Stdout: ''<br>Stderr: '\ndnsmasq: failed to bind listening socket for fe80::f816:3eff:fed1:e10f: Cannot assign requested address\n' </div>
<div>__________________________________________________________________________________________________________________________________________________________________________________________</div>
<div>The following are arguments passed to dnsmasq command.</div>
<div>__________________________________________________________________________________________________________________________________________________________________________________________</div>
<div>    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<br>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<br>__________________________________________________________________________________________________________________________________________________________________________________________</div>
<div> </div>
<div>    Who can help me? Many thanks in advance!</div>
<hr style="WIDTH: 210px; HEIGHT: 1px" align="left" size="1">

<div><span><span style="font-family: 宋体; font-size: 10.5pt; ">唐宏伟</span></span></div>
<div><span><span style="font-family: 宋体; font-size: 10.5pt; ">中国科学院计算技术研究所</span></span></div></div></div>
<div></div></div>_______________________________________________<br>Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><br>More help   : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><br></blockquote></div><br></div></body></html>