yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #02695
[Bug 1167447] Re: dnsmasq fails to start
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => havana-1
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1167447
Title:
dnsmasq fails to start
Status in OpenStack Compute (Nova):
Fix Released
Status in OpenStack Compute (nova) grizzly series:
Fix Released
Bug description:
running 2013.1 on CentOS 6.4, error only occurred after moving to grizzly (previously running folsom)
upon starting nova-network:
2013-04-10 11:51:28.993 54896 INFO nova.manager [-] Skipping periodic task _periodic_update_dns because its interval is negative
2013-04-10 11:51:28.994 54896 INFO nova.network.driver [-] Loading network driver 'nova.network.linux_net'
2013-04-10 11:51:29.016 54896 AUDIT nova.service [-] Starting network node (version 2013.1-1.el6)
2013-04-10 11:51:33.176 54896 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=/etc/dnsmasq-nova.conf --domain='nova.local' --pid-file=/var/lib/nova/networks/nova-br128.pid --listen-address=10.1.128.12 --except-interface=lo --dhcp-range=set:rbchq0,10.1.128.3,static,255.255.252.0,120s --dhcp-lease-max=1024 --dhcp-hostsfile=/var/lib/nova/networks/nova-br128.conf --dhcp-script=/usr/bin/nova-dhcpbridge --leasefile-ro --no-hosts
Exit code: 1
Stdout: ''
Stderr: '\ndnsmasq: bad command line options: try --help\n'
2013-04-10 11:51:33.176 54896 TRACE nova Traceback (most recent call last):
2013-04-10 11:51:33.176 54896 TRACE nova File "/usr/bin/nova-network", line 54, in <module>
2013-04-10 11:51:33.176 54896 TRACE nova service.wait()
2013-04-10 11:51:33.176 54896 TRACE nova File "/usr/lib/python2.6/site-packages/nova/service.py", line 689, in wait
2013-04-10 11:51:33.176 54896 TRACE nova _launcher.wait()
2013-04-10 11:51:33.176 54896 TRACE nova File "/usr/lib/python2.6/site-packages/nova/service.py", line 209, in wait
2013-04-10 11:51:33.176 54896 TRACE nova super(ServiceLauncher, self).wait()
2013-04-10 11:51:33.176 54896 TRACE nova File "/usr/lib/python2.6/site-packages/nova/service.py", line 179, in wait
2013-04-10 11:51:33.176 54896 TRACE nova service.wait()
2013-04-10 11:51:33.176 54896 TRACE nova File "/usr/lib/python2.6/site-packages/eventlet/greenthread.py", line 166, in wait
2013-04-10 11:51:33.176 54896 TRACE nova return self._exit_event.wait()
2013-04-10 11:51:33.176 54896 TRACE nova File "/usr/lib/python2.6/site-packages/eventlet/event.py", line 116, in wait
2013-04-10 11:51:33.176 54896 TRACE nova return hubs.get_hub().switch()
2013-04-10 11:51:33.176 54896 TRACE nova File "/usr/lib/python2.6/site-packages/eventlet/hubs/hub.py", line 177, in switch
2013-04-10 11:51:33.176 54896 TRACE nova return self.greenlet.switch()
2013-04-10 11:51:33.176 54896 TRACE nova File "/usr/lib/python2.6/site-packages/eventlet/greenthread.py", line 192, in main
2013-04-10 11:51:33.176 54896 TRACE nova result = function(*args, **kwargs)
2013-04-10 11:51:33.176 54896 TRACE nova File "/usr/lib/python2.6/site-packages/nova/service.py", line 147, in run_server
2013-04-10 11:51:33.176 54896 TRACE nova server.start()
2013-04-10 11:51:33.176 54896 TRACE nova File "/usr/lib/python2.6/site-packages/nova/service.py", line 429, in start
2013-04-10 11:51:33.176 54896 TRACE nova self.manager.init_host()
2013-04-10 11:51:33.176 54896 TRACE nova File "/usr/lib/python2.6/site-packages/nova/network/manager.py", line 1680, in init_host
2013-04-10 11:51:33.176 54896 TRACE nova NetworkManager.init_host(self)
2013-04-10 11:51:33.176 54896 TRACE nova File "/usr/lib/python2.6/site-packages/nova/network/manager.py", line 345, in init_host
2013-04-10 11:51:33.176 54896 TRACE nova self._setup_network_on_host(ctxt, network)
2013-04-10 11:51:33.176 54896 TRACE nova File "/usr/lib/python2.6/site-packages/nova/openstack/common/lockutils.py", line 228, in inner
2013-04-10 11:51:33.176 54896 TRACE nova retval = f(*args, **kwargs)
2013-04-10 11:51:33.176 54896 TRACE nova File "/usr/lib/python2.6/site-packages/nova/network/manager.py", line 1837, in _setup_network_on_host
2013-04-10 11:51:33.176 54896 TRACE nova self.driver.update_dhcp(elevated, dev, network)
2013-04-10 11:51:33.176 54896 TRACE nova File "/usr/lib/python2.6/site-packages/nova/network/linux_net.py", line 938, in update_dhcp
2013-04-10 11:51:33.176 54896 TRACE nova restart_dhcp(context, dev, network_ref)
2013-04-10 11:51:33.176 54896 TRACE nova File "/usr/lib/python2.6/site-packages/nova/openstack/common/lockutils.py", line 242, in inner
2013-04-10 11:51:33.176 54896 TRACE nova retval = f(*args, **kwargs)
2013-04-10 11:51:33.176 54896 TRACE nova File "/usr/lib/python2.6/site-packages/nova/network/linux_net.py", line 1049, in restart_dhcp
2013-04-10 11:51:33.176 54896 TRACE nova _execute(*cmd, run_as_root=True)
2013-04-10 11:51:33.176 54896 TRACE nova File "/usr/lib/python2.6/site-packages/nova/network/linux_net.py", line 1142, in _execute
2013-04-10 11:51:33.176 54896 TRACE nova return utils.execute(*cmd, **kwargs)
2013-04-10 11:51:33.176 54896 TRACE nova File "/usr/lib/python2.6/site-packages/nova/utils.py", line 239, in execute
2013-04-10 11:51:33.176 54896 TRACE nova cmd=' '.join(cmd))
2013-04-10 11:51:33.176 54896 TRACE nova ProcessExecutionError: Unexpected error while running command.
2013-04-10 11:51:33.176 54896 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=/etc/dnsmasq-nova.conf --domain='nova.local' --pid-file=/var/lib/nova/networks/nova-br128.pid --listen-address=10.1.128.12 --except-interface=lo --dhcp-range=set:rbchq0,10.1.128.3,static,255.255.252.0,120s --dhcp-lease-max=1024 --dhcp-hostsfile=/var/lib/nova/networks/nova-br128.conf --dhcp-script=/usr/bin/nova-dhcpbridge --leasefile-ro --no-hosts
2013-04-10 11:51:33.176 54896 TRACE nova Exit code: 1
2013-04-10 11:51:33.176 54896 TRACE nova Stdout: ''
2013-04-10 11:51:33.176 54896 TRACE nova Stderr: '\ndnsmasq: bad command line options: try --help\n'
2013-04-10 11:51:33.176 54896 TRACE nova
if i attempt to run the dnsmasq command myself it does not complain
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1167447/+subscriptions