[Openstack] error in nova-network start-up

Razique Mahroua razique.mahroua at gmail.com
Wed Apr 24 10:01:16 UTC 2013


Ok that's the Process 9033 - try a $ kill 9033 and you should be good!

Razique Mahroua - Nuage & Co
razique.mahroua at gmail.com
Tel : +33 9 72 37 94 15



Le 24 avr. 2013 à 11:52, Arindam Choudhury <arindam at live.com> a écrit :

> Hi,
> Thanks for your reply,
> Here is the output:
> 
> netstat -tanpu | grep LISTEN
> tcp        0      0 0.0.0.0:4369            0.0.0.0:*               LISTEN      13837/epmd      
> tcp        0      0 0.0.0.0:45746           0.0.0.0:*               LISTEN      2104/rpc.statd  
> tcp        0      0 0.0.0.0:756             0.0.0.0:*               LISTEN      3123/ypbind     
> tcp        0      0 0.0.0.0:53              0.0.0.0:*               LISTEN      9033/dnsmasq    
> tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      16165/sshd      
> tcp        0      0 0.0.0.0:16509           0.0.0.0:*               LISTEN      4267/libvirtd   
> tcp        0      0 0.0.0.0:38465           0.0.0.0:*               LISTEN      4577/glusterfs  
> tcp        0      0 0.0.0.0:38466           0.0.0.0:*               LISTEN      4577/glusterfs  
> tcp        0      0 0.0.0.0:38467           0.0.0.0:*               LISTEN      4577/glusterfs  
> tcp        0      0 0.0.0.0:56196           0.0.0.0:*               LISTEN      15134/beam.smp  
> tcp        0      0 0.0.0.0:24007           0.0.0.0:*               LISTEN      3053/glusterd   
> tcp        0      0 0.0.0.0:50503           0.0.0.0:*               LISTEN      -               
> tcp        0      0 0.0.0.0:8649            0.0.0.0:*               LISTEN      4081/gmond      
> tcp        0      0 0.0.0.0:24009           0.0.0.0:*               LISTEN      4572/glusterfsd 
> tcp        0      0 0.0.0.0:3306            0.0.0.0:*               LISTEN      4916/mysqld     
> tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      2093/rpcbind    
> tcp6       0      0 :::53                   :::*                    LISTEN      9033/dnsmasq    
> tcp6       0      0 :::22                   :::*                    LISTEN      16165/sshd      
> tcp6       0      0 :::51129                :::*                    LISTEN      2104/rpc.statd  
> tcp6       0      0 :::16509                :::*                    LISTEN      4267/libvirtd   
> tcp6       0      0 :::5672                 :::*                    LISTEN      15134/beam.smp  
> tcp6       0      0 :::54121                :::*                    LISTEN      -               
> tcp6       0      0 :::111                  :::*                    LISTEN      2093/rpcbind    
> 
> Subject: Re: [Openstack] error in nova-network start-up
> From: razique.mahroua at gmail.com
> Date: Wed, 24 Apr 2013 11:37:15 +0200
> CC: openstack at lists.launchpad.net
> To: arindam at live.com
> 
> Hi Arindam, 
> looks like the port you are trying to bind the process to is already used, can you run : 
> $ netstat -tanpu | grep LISTEN
> and paste the output?
> thanks!
> 
> 
> Razique Mahroua - Nuage & Co
> razique.mahroua at gmail.com
> Tel : +33 9 72 37 94 15
> 
> <NUAGECO-LOGO-Fblan_petit.jpg>
> 
> Le 24 avr. 2013 à 11:13, Arindam Choudhury <arindam at live.com> a écrit :
> 
> 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 at 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
> _______________________________________________
> 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/20130424/35c6688a/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/20130424/35c6688a/attachment.jpg>


More information about the Openstack mailing list