lbaas doesn't have route rule for rootwrap

Bug #1325406 reported by Aaron Rosen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Aaron Rosen
Havana
Fix Released
Undecided
Unassigned
Icehouse
Fix Released
Undecided
Unassigned

Bug Description

If one runs the lbaas agent from packages and does not have the l3-agent installed on the same box the lbaas agent will fail to add the default gw route and it's missing the rootwrap filter for route which is only present in l3.filters

Stderr: '/usr/bin/neutron-rootwrap: Unauthorized command: ip netns exec qlbaas-d2ac1e20-7e98-4660-a5e3-3dd035b941b5 route add default gw 1.1.1.1 (no filter matched)\n' execute /usr/lib/python2.7/dist-packages/neutron/agent/linux/utils.py:73

Aaron Rosen (arosen)
Changed in neutron:
assignee: nobody → Aaron Rosen (arosen)
importance: Undecided → High
tags: added: havana-backport-potential icehouse-backport-potential
tags: added: lbaas
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/97121

Changed in neutron:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/97121
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=c9a0eaacaad3d6d00867a75b5c2302b3836ee46d
Submitter: Jenkins
Branch: master

commit c9a0eaacaad3d6d00867a75b5c2302b3836ee46d
Author: Aaron Rosen <email address hidden>
Date: Sun Jun 1 11:37:05 2014 -0700

    LBaaS add missing rootwrap filter for route

    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

Changed in neutron:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/97444

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/havana)

Fix proposed to branch: stable/havana
Review: https://review.openstack.org/97446

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/havana)

Reviewed: https://review.openstack.org/97446
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=74f1fc03f7ab80a939b869f0b93ba6c4d20f302a
Submitter: Jenkins
Branch: stable/havana

commit 74f1fc03f7ab80a939b869f0b93ba6c4d20f302a
Author: Aaron Rosen <email address hidden>
Date: Sun Jun 1 11:37:05 2014 -0700

    LBaaS add missing rootwrap filter for route

    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.

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

    Change-Id: I59cd0a549a1f1d1564d139d42daf55d02898bf76
    Closes-bug: 1325406
    (cherry picked from commit c9a0eaacaad3d6d00867a75b5c2302b3836ee46d)

tags: added: in-stable-havana
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/icehouse)

Reviewed: https://review.openstack.org/97444
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=066760ea7620a00a9fca6e200998aabb0a0074e1
Submitter: Jenkins
Branch: stable/icehouse

commit 066760ea7620a00a9fca6e200998aabb0a0074e1
Author: Aaron Rosen <email address hidden>
Date: Sun Jun 1 11:37:05 2014 -0700

    LBaaS add missing rootwrap filter for route

    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.

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

    Change-Id: I59cd0a549a1f1d1564d139d42daf55d02898bf76
    Closes-bug: 1325406
    (cherry picked from commit c9a0eaacaad3d6d00867a75b5c2302b3836ee46d)

tags: added: in-stable-icehouse
Thierry Carrez (ttx)
Changed in neutron:
milestone: none → juno-1
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/100942

Thierry Carrez (ttx)
Changed in neutron:
milestone: juno-1 → 2014.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.