The following rootwrap filters need to be updated in order to run OpenStack Kilo
* roles/os_neutron/files/rootwrap.d/dhcp.filters
- Replace: https://github.com/stackforge/os-ansible-deployment/blob/master/playbooks/roles/os_neutron/files/rootwrap.d/dhcp.filters
- With: https://github.com/openstack/neutron/blob/master/etc/neutron/rootwrap.d/dhcp.filters
* roles/os_neutron/files/rootwrap.d/l3.filters
- Replace: https://github.com/stackforge/os-ansible-deployment/blob/master/playbooks/roles/os_neutron/files/rootwrap.d/l3.filters
- With: https://github.com/openstack/neutron/blob/master/etc/neutron/rootwrap.d/l3.filters
Without updating these rootwrap files neutron has no ability to run dhcp and l3 related commands:
-- Stacktrace --
2015-03-05 04:54:01.074 662 ERROR neutron.agent.dhcp.agent [-] Unable to enable dhcp for b921bd96-6573-43f9-8b74-f11f3a183b7c.
2015-03-05 04:54:01.074 662 TRACE neutron.agent.dhcp.agent Traceback (most recent call last):
2015-03-05 04:54:01.074 662 TRACE neutron.agent.dhcp.agent File "/usr/local/lib/python2.7/dist-packages/neutron/agent/dhcp/agent.py", line 112, in call_driver
2015-03-05 04:54:01.074 662 TRACE neutron.agent.dhcp.agent getattr(driver, action)(**action_kwargs)
2015-03-05 04:54:01.074 662 TRACE neutron.agent.dhcp.agent File "/usr/local/lib/python2.7/dist-packages/neutron/agent/linux/dhcp.py", line 207, in enable
2015-03-05 04:54:01.074 662 TRACE neutron.agent.dhcp.agent self.spawn_process()
2015-03-05 04:54:01.074 662 TRACE neutron.agent.dhcp.agent File "/usr/local/lib/python2.7/dist-packages/neutron/agent/linux/dhcp.py", line 375, in spawn_process
2015-03-05 04:54:01.074 662 TRACE neutron.agent.dhcp.agent self._spawn_or_reload_process(reload_with_HUP=False)
2015-03-05 04:54:01.074 662 TRACE neutron.agent.dhcp.agent File "/usr/local/lib/python2.7/dist-packages/neutron/agent/linux/dhcp.py", line 394, in _spawn_or_reload_process
2015-03-05 04:54:01.074 662 TRACE neutron.agent.dhcp.agent pid_file=pid_filename)
2015-03-05 04:54:01.074 662 TRACE neutron.agent.dhcp.agent File "/usr/local/lib/python2.7/dist-packages/neutron/agent/linux/external_process.py", line 179, in enable
2015-03-05 04:54:01.074 662 TRACE neutron.agent.dhcp.agent process_manager.enable(reload_cfg=reload_cfg)
2015-03-05 04:54:01.074 662 TRACE neutron.agent.dhcp.agent File "/usr/local/lib/python2.7/dist-packages/neutron/agent/linux/external_process.py", line 76, in enable
2015-03-05 04:54:01.074 662 TRACE neutron.agent.dhcp.agent ip_wrapper.netns.execute(cmd, addl_env=self.cmd_addl_env)
2015-03-05 04:54:01.074 662 TRACE neutron.agent.dhcp.agent File "/usr/local/lib/python2.7/dist-packages/neutron/agent/linux/ip_lib.py", line 554, in execute
2015-03-05 04:54:01.074 662 TRACE neutron.agent.dhcp.agent extra_ok_codes=extra_ok_codes, **kwargs)
2015-03-05 04:54:01.074 662 TRACE neutron.agent.dhcp.agent File "/usr/local/lib/python2.7/dist-packages/neutron/agent/linux/utils.py", line 87, in execute
2015-03-05 04:54:01.074 662 TRACE neutron.agent.dhcp.agent raise RuntimeError(m)
2015-03-05 04:54:01.074 662 TRACE neutron.agent.dhcp.agent RuntimeError:
2015-03-05 04:54:01.074 662 TRACE neutron.agent.dhcp.agent Command: ['sudo', '/usr/local/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qdhcp-b921bd96-6573-43f9-8b74-f11f3a183b7c', 'dnsmasq', '--no-hosts', '--no-resolv', '--strict-order', '--bind-interfaces', '--interface=ns-52e55e4a-2f', '--except-interface=lo', '--pid-file=/var/lib/neutron/dhcp/b921bd96-6573-43f9-8b74-f11f3a183b7c/pid', '--dhcp-hostsfile=/var/lib/neutron/dhcp/b921bd96-6573-43f9-8b74-f11f3a183b7c/host', '--addn-hosts=/var/lib/neutron/dhcp/b921bd96-6573-43f9-8b74-f11f3a183b7c/addn_hosts', '--dhcp-optsfile=/var/lib/neutron/dhcp/b921bd96-6573-43f9-8b74-f11f3a183b7c/opts', '--leasefile-ro', '--dhcp-authoritative', '--dhcp-range=set:tag0,192.168.74.0,static,86400s', '--dhcp-lease-max=256', '--conf-file=/etc/neutron/dnsmasq-neutron.conf', '--domain=openstacklocal']
2015-03-05 04:54:01.074 662 TRACE neutron.agent.dhcp.agent Exit code: 99
Fix proposed to branch: master /review. openstack. org/166986
Review: https:/