← Back to team overview

openstack team mailing list archive

error in nova-network start-up

 

Hi,

When I try to start the nova-network, I am getting this error:

2013-04-24 11:12:30.926 10327 AUDIT nova.compute.resource_tracker [-] Auditing locally available compute resources
2013-04-24 11:12:31.064 10327 AUDIT nova.compute.resource_tracker [-] Free ram (MB): 7472
2013-04-24 11:12:31.064 10327 AUDIT nova.compute.resource_tracker [-] Free disk (GB): 18
2013-04-24 11:12:31.064 10327 AUDIT nova.compute.resource_tracker [-] Free VCPUS: 8
2013-04-24 11:12:31.183 10327 INFO nova.compute.resource_tracker [-] Compute_service record updated for aopcso1:aopcso1.uab.es
root@aopcso1:/etc/nova# cat /var/log/nova/nova-network.log 
2013-04-24 11:12:22.140 11502 INFO nova.manager [-] Skipping periodic task _periodic_update_dns because its interval is negative
2013-04-24 11:12:22.141 11502 INFO nova.network.driver [-] Loading network driver 'nova.network.linux_net'
2013-04-24 11:12:22.147 11502 AUDIT nova.service [-] Starting network node (version 2013.1)
2013-04-24 11:12:23.590 11502 CRITICAL nova [-] Unexpected error while running command.
Command: sudo nova-rootwrap /etc/nova/rootwrap.conf env CONFIG_FILE=["/etc/nova/nova.conf"] NETWORK_ID=1 dnsmasq --strict-order --bind-interfaces --conf-file= --domain='novalocal' --pid-file=/var/lib/nova/networks/nova-br100.pid --listen-address=192.168.100.1 --except-interface=lo --dhcp-range=set:private,192.168.100.2,static,255.255.255.0,120s --dhcp-lease-max=256 --dhcp-hostsfile=/var/lib/nova/networks/nova-br100.conf --dhcp-script=/usr/bin/nova-dhcpbridge --leasefile-ro
Exit code: 2
Stdout: ''
Stderr: "2013-04-24 11:12:23.481 INFO nova.manager [req-fb46a0ad-b4fa-41d9-8b1b-f1eb0170a93a None None] Skipping periodic task _periodic_update_dns because its interval is negative\n2013-04-24 11:12:23.482 INFO nova.network.driver [req-fb46a0ad-b4fa-41d9-8b1b-f1eb0170a93a None None] Loading network driver 'nova.network.linux_net'\n\ndnsmasq: failed to create listening socket for 192.168.100.1: La direcci\xc3\xb3n ya se est\xc3\xa1 usando\n"
2013-04-24 11:12:23.590 11502 TRACE nova Traceback (most recent call last):
2013-04-24 11:12:23.590 11502 TRACE nova   File "/usr/bin/nova-network", line 54, in <module>
2013-04-24 11:12:23.590 11502 TRACE nova     service.wait()
2013-04-24 11:12:23.590 11502 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 689, in wait
2013-04-24 11:12:23.590 11502 TRACE nova     _launcher.wait()
2013-04-24 11:12:23.590 11502 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 209, in wait
2013-04-24 11:12:23.590 11502 TRACE nova     super(ServiceLauncher, self).wait()
2013-04-24 11:12:23.590 11502 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 179, in wait
2013-04-24 11:12:23.590 11502 TRACE nova     service.wait()
2013-04-24 11:12:23.590 11502 TRACE nova   File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 168, in wait
2013-04-24 11:12:23.590 11502 TRACE nova     return self._exit_event.wait()
2013-04-24 11:12:23.590 11502 TRACE nova   File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait
2013-04-24 11:12:23.590 11502 TRACE nova     return hubs.get_hub().switch()
2013-04-24 11:12:23.590 11502 TRACE nova   File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 187, in switch
2013-04-24 11:12:23.590 11502 TRACE nova     return self.greenlet.switch()
2013-04-24 11:12:23.590 11502 TRACE nova   File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 194, in main
2013-04-24 11:12:23.590 11502 TRACE nova     result = function(*args, **kwargs)
2013-04-24 11:12:23.590 11502 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 147, in run_server
2013-04-24 11:12:23.590 11502 TRACE nova     server.start()
2013-04-24 11:12:23.590 11502 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 429, in start
2013-04-24 11:12:23.590 11502 TRACE nova     self.manager.init_host()
2013-04-24 11:12:23.590 11502 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/network/manager.py", line 1602, in init_host
2013-04-24 11:12:23.590 11502 TRACE nova     super(FlatDHCPManager, self).init_host()
2013-04-24 11:12:23.590 11502 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/network/manager.py", line 345, in init_host
2013-04-24 11:12:23.590 11502 TRACE nova     self._setup_network_on_host(ctxt, network)
2013-04-24 11:12:23.590 11502 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/network/manager.py", line 1617, in _setup_network_on_host
2013-04-24 11:12:23.590 11502 TRACE nova     self.driver.update_dhcp(elevated, dev, network)
2013-04-24 11:12:23.590 11502 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/network/linux_net.py", line 938, in update_dhcp
2013-04-24 11:12:23.590 11502 TRACE nova     restart_dhcp(context, dev, network_ref)
2013-04-24 11:12:23.590 11502 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py", line 242, in inner
2013-04-24 11:12:23.590 11502 TRACE nova     retval = f(*args, **kwargs)
2013-04-24 11:12:23.590 11502 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/network/linux_net.py", line 1049, in restart_dhcp
2013-04-24 11:12:23.590 11502 TRACE nova     _execute(*cmd, run_as_root=True)
2013-04-24 11:12:23.590 11502 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/network/linux_net.py", line 1142, in _execute
2013-04-24 11:12:23.590 11502 TRACE nova     return utils.execute(*cmd, **kwargs)
2013-04-24 11:12:23.590 11502 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 239, in execute
2013-04-24 11:12:23.590 11502 TRACE nova     cmd=' '.join(cmd))
2013-04-24 11:12:23.590 11502 TRACE nova ProcessExecutionError: Unexpected error while running command.
2013-04-24 11:12:23.590 11502 TRACE nova Command: sudo nova-rootwrap /etc/nova/rootwrap.conf env CONFIG_FILE=["/etc/nova/nova.conf"] NETWORK_ID=1 dnsmasq --strict-order --bind-interfaces --conf-file= --domain='novalocal' --pid-file=/var/lib/nova/networks/nova-br100.pid --listen-address=192.168.100.1 --except-interface=lo --dhcp-range=set:private,192.168.100.2,static,255.255.255.0,120s --dhcp-lease-max=256 --dhcp-hostsfile=/var/lib/nova/networks/nova-br100.conf --dhcp-script=/usr/bin/nova-dhcpbridge --leasefile-ro
2013-04-24 11:12:23.590 11502 TRACE nova Exit code: 2
2013-04-24 11:12:23.590 11502 TRACE nova Stdout: ''
2013-04-24 11:12:23.590 11502 TRACE nova Stderr: "2013-04-24 11:12:23.481 INFO nova.manager [req-fb46a0ad-b4fa-41d9-8b1b-f1eb0170a93a None None] Skipping periodic task _periodic_update_dns because its interval is negative\n2013-04-24 11:12:23.482 INFO nova.network.driver [req-fb46a0ad-b4fa-41d9-8b1b-f1eb0170a93a None None] Loading network driver 'nova.network.linux_net'\n\ndnsmasq: failed to create listening socket for 192.168.100.1: La direcci\xc3\xb3n ya se est\xc3\xa1 usando\n"
2013-04-24 11:12:23.590 11502 TRACE nova 

Any help will be highly appreciated.
Thanks
 		 	   		  

Follow ups