_configure_neutron_l3_agent fails with bad argument for iptables

Bug #1624773 reported by Henry Gessau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Fix Released
Undecided
Henry Gessau

Bug Description

Example failure:

 + lib/neutron_plugins/services/l3:_configure_neutron_l3_agent:124 : sudo iptables -t nat -A POSTROUTING -o enp0s8 enp0s3 -s 172.24.4.0/24 -j MASQUERADE
 Bad argument `enp0s3'

Note that iptables takes only one device for the -o (out-interface) option, and here devstack is giving it two devices, enp0s8 and enp0s3.

Henry Gessau (gessau)
Changed in devstack:
assignee: nobody → Henry Gessau (gessau)
tags: added: neutron
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to devstack (master)

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

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

Reviewed: https://review.openstack.org/371995
Committed: https://git.openstack.org/cgit/openstack-dev/devstack/commit/?id=734f144f5d47c9b76562d5b5c705428be0963aec
Submitter: Jenkins
Branch: master

commit 734f144f5d47c9b76562d5b5c705428be0963aec
Author: Henry Gessau <email address hidden>
Date: Sat Sep 17 19:28:53 2016 -0400

    Neutron L3: account for all default routes

    Some systems may have more than one default route.
    Set up iptables NAT rules on all v4 default route devices.
    Accept RAs on all v6 default route devices.

    Closes-Bug: #1624773

    Change-Id: If58509297497ea33c6c156f083a4394000bd0561

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

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/382888

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

Reviewed: https://review.openstack.org/382888
Committed: https://git.openstack.org/cgit/openstack-dev/devstack/commit/?id=511d629220f6c1cb55770845613809d75c8ec3c3
Submitter: Jenkins
Branch: stable/newton

commit 511d629220f6c1cb55770845613809d75c8ec3c3
Author: Henry Gessau <email address hidden>
Date: Sat Sep 17 19:28:53 2016 -0400

    Neutron L3: account for all default routes

    Some systems may have more than one default route.
    Set up iptables NAT rules on all v4 default route devices.
    Accept RAs on all v6 default route devices.

    Closes-Bug: #1624773

    Change-Id: If58509297497ea33c6c156f083a4394000bd0561
    (cherry picked from commit 734f144f5d47c9b76562d5b5c705428be0963aec)

tags: added: in-stable-newton
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.