← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1644534] [NEW] Get dnsmasq: bad command line options error message in neutron-dhcp-agent

 

Public bug reported:

Get following error message in Kolla's gate

2016-11-23 12:06:55.376 7 DEBUG neutron.agent.linux.utils [-] Running command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qdhcp-0a9e36c5-2d55-4e6c-b4ba-67fd13e7681e', 'ip', 'addr', 'show', 'tapbe705a89-82'] create_process /var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/linux/utils.py:92
2016-11-23 12:06:55.595 7 DEBUG neutron.agent.ovsdb.native.vlog [-] [POLLIN] on fd 8 __log_wakeup /var/lib/kolla/venv/lib/python2.7/site-packages/ovs/poller.py:202
2016-11-23 12:06:55.676 7 DEBUG neutron.agent.linux.utils [-] Exit code: 0 execute /var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/linux/utils.py:149
2016-11-23 12:06:55.677 7 DEBUG neutron.agent.linux.utils [-] Unable to access /var/lib/neutron/dhcp/0a9e36c5-2d55-4e6c-b4ba-67fd13e7681e/pid get_value_from_file /var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/linux/utils.py:216
2016-11-23 12:06:55.678 7 DEBUG neutron.agent.linux.utils [-] Running command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qdhcp-0a9e36c5-2d55-4e6c-b4ba-67fd13e7681e', 'dnsmasq', '--no-hosts', '--no-resolv', '--strict-order', '--except-interface=lo', '--pid-file=/var/lib/neutron/dhcp/0a9e36c5-2d55-4e6c-b4ba-67fd13e7681e/pid', '--dhcp-hostsfile=/var/lib/neutron/dhcp/0a9e36c5-2d55-4e6c-b4ba-67fd13e7681e/host', '--addn-hosts=/var/lib/neutron/dhcp/0a9e36c5-2d55-4e6c-b4ba-67fd13e7681e/addn_hosts', '--dhcp-optsfile=/var/lib/neutron/dhcp/0a9e36c5-2d55-4e6c-b4ba-67fd13e7681e/opts', '--dhcp-leasefile=/var/lib/neutron/dhcp/0a9e36c5-2d55-4e6c-b4ba-67fd13e7681e/leases', '--dhcp-match=set:ipxe,175', '--enable-ra', '--ra-param=tapbe705a89-82,0,0', '--bind-interfaces', '--interface=tapbe705a89-82', '--dhcp-range=set:tag0,10.0.0.0,static,86400s', '--dhcp-option-force=option:mtu,1450', '--dhcp-lease-max=256', '--conf-file=/etc/neutron/dnsmasq.conf', '--domain=openstacklocal'] create_process /var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/linux/utils.py:92
2016-11-23 12:06:55.950 7 ERROR neutron.agent.linux.utils [-] Exit code: 1; Stdin: ; Stdout: ; Stderr: 
dnsmasq: bad command line options: try --help

2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent [-] Unable to enable dhcp for 0a9e36c5-2d55-4e6c-b4ba-67fd13e7681e.
2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent Traceback (most recent call last):
2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent   File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/dhcp/agent.py", line 115, in call_driver
2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent     getattr(driver, action)(**action_kwargs)
2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent   File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/linux/dhcp.py", line 216, in enable
2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent     self.spawn_process()
2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent   File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/linux/dhcp.py", line 437, in spawn_process
2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent     self._spawn_or_reload_process(reload_with_HUP=False)
2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent   File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/linux/dhcp.py", line 451, in _spawn_or_reload_process
2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent     pm.enable(reload_cfg=reload_with_HUP)
2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent   File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/linux/external_process.py", line 94, in enable
2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent     run_as_root=self.run_as_root)
2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent   File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 882, in execute
2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent     log_fail_as_error=log_fail_as_error, **kwargs)
2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent   File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/linux/utils.py", line 147, in execute
2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent     raise ProcessExecutionError(msg, returncode=returncode)
2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent ProcessExecutionError: Exit code: 1; Stdin: ; Stdout: ; Stderr: 
2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent dnsmasq: bad command line options: try --help
2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent 
2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent 
2016-11-23 12:06:55.951 7 INFO neutron.agent.dhcp.agent [-] Finished network 0a9e36c5-2d55-4e6c-b4ba-67fd13e7681e dhcp configuration


more info please see [0]

[0] http://logs.openstack.org/89/400789/4/check/gate-kolla-ansible-dsvm-
deploy-centos-source-centos-7-nv/0fa22f6/logs/kolla/neutron/neutron-
dhcp-agent.log

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1644534

Title:
  Get dnsmasq: bad command line options error message in neutron-dhcp-
  agent

Status in neutron:
  New

Bug description:
  Get following error message in Kolla's gate

  2016-11-23 12:06:55.376 7 DEBUG neutron.agent.linux.utils [-] Running command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qdhcp-0a9e36c5-2d55-4e6c-b4ba-67fd13e7681e', 'ip', 'addr', 'show', 'tapbe705a89-82'] create_process /var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/linux/utils.py:92
  2016-11-23 12:06:55.595 7 DEBUG neutron.agent.ovsdb.native.vlog [-] [POLLIN] on fd 8 __log_wakeup /var/lib/kolla/venv/lib/python2.7/site-packages/ovs/poller.py:202
  2016-11-23 12:06:55.676 7 DEBUG neutron.agent.linux.utils [-] Exit code: 0 execute /var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/linux/utils.py:149
  2016-11-23 12:06:55.677 7 DEBUG neutron.agent.linux.utils [-] Unable to access /var/lib/neutron/dhcp/0a9e36c5-2d55-4e6c-b4ba-67fd13e7681e/pid get_value_from_file /var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/linux/utils.py:216
  2016-11-23 12:06:55.678 7 DEBUG neutron.agent.linux.utils [-] Running command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qdhcp-0a9e36c5-2d55-4e6c-b4ba-67fd13e7681e', 'dnsmasq', '--no-hosts', '--no-resolv', '--strict-order', '--except-interface=lo', '--pid-file=/var/lib/neutron/dhcp/0a9e36c5-2d55-4e6c-b4ba-67fd13e7681e/pid', '--dhcp-hostsfile=/var/lib/neutron/dhcp/0a9e36c5-2d55-4e6c-b4ba-67fd13e7681e/host', '--addn-hosts=/var/lib/neutron/dhcp/0a9e36c5-2d55-4e6c-b4ba-67fd13e7681e/addn_hosts', '--dhcp-optsfile=/var/lib/neutron/dhcp/0a9e36c5-2d55-4e6c-b4ba-67fd13e7681e/opts', '--dhcp-leasefile=/var/lib/neutron/dhcp/0a9e36c5-2d55-4e6c-b4ba-67fd13e7681e/leases', '--dhcp-match=set:ipxe,175', '--enable-ra', '--ra-param=tapbe705a89-82,0,0', '--bind-interfaces', '--interface=tapbe705a89-82', '--dhcp-range=set:tag0,10.0.0.0,static,86400s', '--dhcp-option-force=option:mtu,1450', '--dhcp-lease-max=256', '--conf-file=/etc/neutron/dnsmasq.conf', '--domain=openstacklocal'] create_process /var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/linux/utils.py:92
  2016-11-23 12:06:55.950 7 ERROR neutron.agent.linux.utils [-] Exit code: 1; Stdin: ; Stdout: ; Stderr: 
  dnsmasq: bad command line options: try --help

  2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent [-] Unable to enable dhcp for 0a9e36c5-2d55-4e6c-b4ba-67fd13e7681e.
  2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent Traceback (most recent call last):
  2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent   File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/dhcp/agent.py", line 115, in call_driver
  2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent     getattr(driver, action)(**action_kwargs)
  2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent   File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/linux/dhcp.py", line 216, in enable
  2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent     self.spawn_process()
  2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent   File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/linux/dhcp.py", line 437, in spawn_process
  2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent     self._spawn_or_reload_process(reload_with_HUP=False)
  2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent   File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/linux/dhcp.py", line 451, in _spawn_or_reload_process
  2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent     pm.enable(reload_cfg=reload_with_HUP)
  2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent   File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/linux/external_process.py", line 94, in enable
  2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent     run_as_root=self.run_as_root)
  2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent   File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 882, in execute
  2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent     log_fail_as_error=log_fail_as_error, **kwargs)
  2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent   File "/var/lib/kolla/venv/lib/python2.7/site-packages/neutron/agent/linux/utils.py", line 147, in execute
  2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent     raise ProcessExecutionError(msg, returncode=returncode)
  2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent ProcessExecutionError: Exit code: 1; Stdin: ; Stdout: ; Stderr: 
  2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent dnsmasq: bad command line options: try --help
  2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent 
  2016-11-23 12:06:55.951 7 ERROR neutron.agent.dhcp.agent 
  2016-11-23 12:06:55.951 7 INFO neutron.agent.dhcp.agent [-] Finished network 0a9e36c5-2d55-4e6c-b4ba-67fd13e7681e dhcp configuration


  more info please see [0]

  [0] http://logs.openstack.org/89/400789/4/check/gate-kolla-ansible-
  dsvm-deploy-centos-source-centos-7-nv/0fa22f6/logs/kolla/neutron
  /neutron-dhcp-agent.log

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1644534/+subscriptions