Ask Your Question

Couldn't run instance due to dnsmasq error.

asked 2011-01-20 08:25:12 -0500

guanxiaohua2k6 gravatar image

I couldn't run instance due to the following error.

(nova.root 2011.1-workspace:tarmac-20110115022500-fcgl1yga6csc221i): ERROR [N/A] Exception during message handling (nova.root): TRACE: Traceback (most recent call last): (nova.root): TRACE: File "/usr/lib/pymodules/python2.6/nova/", line 191, in receive (nova.root): TRACE: rval = node_func(context=ctxt, *node_args) (nova.root): TRACE: File "/usr/lib/pymodules/python2.6/nova/network/", line 143, in set_network_host (nova.root): TRACE: self._on_set_network_host(context, network_id) (nova.root): TRACE: File "/usr/lib/pymodules/python2.6/nova/network/", line 570, in _on_set_network_host (nova.root): TRACE: self.driver.update_dhcp(context, network_id) (nova.root): TRACE: File "/usr/lib/pymodules/python2.6/nova/network/", line 267, in update_dhcp (nova.root): TRACE: _execute(command, addl_env=env) (nova.root): TRACE: File "/usr/lib/pymodules/python2.6/nova/network/", line 328, in _execute (nova.root): TRACE: return utils.execute(cmd, *args, *kwargs) (nova.root): TRACE: File "/usr/lib/pymodules/python2.6/nova/", line 147, in execute (nova.root): TRACE: cmd=cmd) (nova.root): TRACE: ProcessExecutionError: Unexpected error while running command. (nova.root): TRACE: Command: sudo -E dnsmasq --strict-order --bind-interfaces --conf-file= --pid-file=/var/lib/nova/networks/ --listen-address= --except-interface=lo --dhcp-range=,static,120s --dhcp-hostsfile=/var/lib/nova/networks/nova-br100.conf --dhcp-script=/usr/bin/nova-dhcpbridge --leasefile-ro (nova.root): TRACE: Exit code: 2 (nova.root): TRACE: Stdout: '' (nova.root): TRACE: Stderr: '\ndnsmasq: failed to bind listening socket for Address already in use\n' (nova.root): TRACE: (nova.rpc 2011.1-workspace:tarmac-20110115022500-fcgl1yga6csc221i): ERROR [N/A] Returning exception Unexpected error while running command.

The version I used is 2011.1~bzr569-0ubuntu0ppa1~maverick3, and the flag network_manager is VlanManager.

Please give me some advices.

Thank you.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2011-01-21 01:13:51 -0500

hyunsun-moon gravatar image

Check if dnsmasq is running already.

ps -aef | grep dnsmasq

If you have running dnsmasq, kill it and retry.

edit flag offensive delete link more

answered 2011-01-21 03:17:25 -0500

guanxiaohua2k6 gravatar image

Thanks Hyunsun Moon, that solved my question.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2011-01-20 08:25:12 -0500

Seen: 53 times

Last updated: Jan 21 '11