]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
LBaaS add missing rootwrap filter for route
authorAaron Rosen <aaronorosen@gmail.com>
Sun, 1 Jun 2014 18:37:05 +0000 (11:37 -0700)
committerAaron Rosen <aaronorosen@gmail.com>
Sun, 1 Jun 2014 18:37:05 +0000 (11:37 -0700)
If one runs the lbaas agent from packages and does not have the l3-agent
installed on the same box as the lbaas agent it will fail to add the
default gw route. This is because it's missing the rootwrap filter for
route which is only present in l3.filters.

Change-Id: I59cd0a549a1f1d1564d139d42daf55d02898bf76
Closes-bug: 1325406

etc/neutron/rootwrap.d/lbaas-haproxy.filters

index f807887e64ee2527a43211e19d72de1025a2a43b..b4e1ecba2029563ee6b08e37fc94852d42e332b3 100644 (file)
@@ -20,6 +20,7 @@ mm-ctl: CommandFilter, mm-ctl, root
 # ip_lib
 ip: IpFilter, ip, root
 ip_exec: IpNetnsExecFilter, ip, root
+route: CommandFilter, route, root
 
 # arping
 arping: CommandFilter, arping, root