<DIV> </DIV>
<DIV>
<DIV style="PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #efefef; COLOR: #000000; FONT-SIZE: 12px; PADDING-TOP: 8px">
<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 color=#b5c4df SIZE=1>

<DIV><SPAN><SPAN style="FONT-FAMILY: 宋体; COLOR: #000000; FONT-SIZE: 10.5pt">唐宏伟</SPAN></SPAN></DIV>
<DIV><SPAN><SPAN style="FONT-FAMILY: 宋体; COLOR: #000000; FONT-SIZE: 10.5pt">中国科学院计算技术研究所</SPAN></SPAN></DIV></DIV></DIV>
<DIV></DIV></DIV>