← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1542385] [NEW] dnsmasq: cannot open log

 

Public bug reported:

it seems dnsmasq can't create the log file...

2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent [req-a29e6030-7524-4d33-8a1e-b7bb31809441 a19d99e7a3ac400db02142044a3190eb 728a8a9d8
1824100bc01735e12273607 - - -] Unable to enable dhcp for b3da5a48-39f7-43a0-b6a5-a26e426fec08.
2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent Traceback (most recent call last):
2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/site-packages/neutron/agent/dhcp/agent.py", line 115, in call_driver
2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent     getattr(driver, action)(**action_kwargs)
2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/dhcp.py", line 206, in enable
2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent     self.spawn_process()
2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/dhcp.py", line 414, in spawn_process
2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent     self._spawn_or_reload_process(reload_with_HUP=False)
2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/dhcp.py", line 428, in _spawn_or_reload_process
2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent     pm.enable(reload_cfg=reload_with_HUP)
2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/external_process.py", line 92, in enable
2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent     run_as_root=self.run_as_root)
2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 861, in execute
2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent     log_fail_as_error=log_fail_as_error, **kwargs)
2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/utils.py", line 159, in execute
2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent     raise RuntimeError(m)
2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent RuntimeError:
2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qdhcp-b3da5a48-39f7-43a0-b6a5-a26e426fec08', 'dnsmasq', '--no-hosts', '--no-resolv', '--strict-order', '--except-interface=lo', '--pid-file=/var/lib/neutron/dhcp/b3da5a48-39f7-43a0-b6a5-a26e426fec08/pid', '--dhcp-hostsfile=/var/lib/neutron/dhcp/b3da5a48-39f7-43a0-b6a5-a26e426fec08/host', '--addn-hosts=/var/lib/neutron/dhcp/b3da5a48-39f7-43a0-b6a5-a26e426fec08/addn_hosts', '--dhcp-optsfile=/var/lib/neutron/dhcp/b3da5a48-39f7-43a0-b6a5-a26e426fec08/opts', '--dhcp-leasefile=/var/lib/neutron/dhcp/b3da5a48-39f7-43a0-b6a5-a26e426fec08/leases', '--dhcp-match=set:ipxe,175', '--bind-interfaces', '--interface=tap58da37d6-b4', '--dhcp-range=set:tag0,192.168.123.0,static,86400s', '--dhcp-option-force=option:mtu,1358', '--dhcp-lease-max=256', '--conf-file=', '--server=192.168.219.1', '--domain=openstack.local', '--log-queries', '--log-dhcp', '--log-facility=/var/log/neutron/b3da5a48-39f7-43a0-b6a5-a26e426fec08/dhcp_dns_log']
2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent Exit code: 3
2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent Stdin:
2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent Stdout:
2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent Stderr:
2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent dnsmasq: cannot open log /var/log/neutron/b3da5a48-39f7-43a0-b6a5-a26e426fec08/dhcp_dns_log: No such file or directory

** Affects: neutron
     Importance: Medium
         Status: New

** Changed in: neutron
   Importance: Undecided => Medium

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

Title:
  dnsmasq: cannot open log

Status in neutron:
  New

Bug description:
  it seems dnsmasq can't create the log file...

  2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent [req-a29e6030-7524-4d33-8a1e-b7bb31809441 a19d99e7a3ac400db02142044a3190eb 728a8a9d8
  1824100bc01735e12273607 - - -] Unable to enable dhcp for b3da5a48-39f7-43a0-b6a5-a26e426fec08.
  2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent Traceback (most recent call last):
  2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/site-packages/neutron/agent/dhcp/agent.py", line 115, in call_driver
  2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent     getattr(driver, action)(**action_kwargs)
  2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/dhcp.py", line 206, in enable
  2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent     self.spawn_process()
  2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/dhcp.py", line 414, in spawn_process
  2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent     self._spawn_or_reload_process(reload_with_HUP=False)
  2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/dhcp.py", line 428, in _spawn_or_reload_process
  2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent     pm.enable(reload_cfg=reload_with_HUP)
  2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/external_process.py", line 92, in enable
  2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent     run_as_root=self.run_as_root)
  2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/ip_lib.py", line 861, in execute
  2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent     log_fail_as_error=log_fail_as_error, **kwargs)
  2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent   File "/usr/lib/python2.7/site-packages/neutron/agent/linux/utils.py", line 159, in execute
  2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent     raise RuntimeError(m)
  2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent RuntimeError:
  2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent Command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qdhcp-b3da5a48-39f7-43a0-b6a5-a26e426fec08', 'dnsmasq', '--no-hosts', '--no-resolv', '--strict-order', '--except-interface=lo', '--pid-file=/var/lib/neutron/dhcp/b3da5a48-39f7-43a0-b6a5-a26e426fec08/pid', '--dhcp-hostsfile=/var/lib/neutron/dhcp/b3da5a48-39f7-43a0-b6a5-a26e426fec08/host', '--addn-hosts=/var/lib/neutron/dhcp/b3da5a48-39f7-43a0-b6a5-a26e426fec08/addn_hosts', '--dhcp-optsfile=/var/lib/neutron/dhcp/b3da5a48-39f7-43a0-b6a5-a26e426fec08/opts', '--dhcp-leasefile=/var/lib/neutron/dhcp/b3da5a48-39f7-43a0-b6a5-a26e426fec08/leases', '--dhcp-match=set:ipxe,175', '--bind-interfaces', '--interface=tap58da37d6-b4', '--dhcp-range=set:tag0,192.168.123.0,static,86400s', '--dhcp-option-force=option:mtu,1358', '--dhcp-lease-max=256', '--conf-file=', '--server=192.168.219.1', '--domain=openstack.local', '--log-queries', '--log-dhcp', '--log-facility=/var/log/neutron/b3da5a48-39f7-43a0-b6a5-a26e426fec08/dhcp_dns_log']
  2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent Exit code: 3
  2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent Stdin:
  2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent Stdout:
  2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent Stderr:
  2016-02-04 16:52:42.164 10511 ERROR neutron.agent.dhcp.agent dnsmasq: cannot open log /var/log/neutron/b3da5a48-39f7-43a0-b6a5-a26e426fec08/dhcp_dns_log: No such file or directory

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