Error about rfp/fpr veth in log when restarting l3 agent in DVR mode

Bug #1376013 reported by Sylvain Afchain
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Sylvain Afchain
Juno
Fix Released
Medium
Stephen Ma

Bug Description

2014-09-30 21:14:14.636 ERROR neutron.agent.linux.utils [-]
Command: ['sudo', '/usr/local/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qrouter-2d8e2ae6-4180-4e43-953d-931189c0a5ae', 'ip', 'link', 'add', 'rfp-2d8e2ae6-4', 'type', 'veth', 'peer', 'name', 'fpr-2d8e2ae6-4', 'netns', 'fip-be1a07de-9d7b-4823-8d01-3091773d794b']
Exit code: 2
Stdout: ''
Stderr: 'RTNETLINK answers: File exists\n'

tags: added: l3-dvr-backlog
Revision history for this message
Armando Migliaccio (armando-migliaccio) wrote :

Can you provide details about the conditions where this issue manifest itself? A trace log with no context whatsoever is not very useful!

Changed in neutron:
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Sylvain Afchain (sylvain-afchain) wrote :

With a 2 two nodes devstack, with a provider networks type vlan as external network, with a dvr router spawned attached on a private network(vxlan) and the external, when I restart the l3 agent I get the trace.

Revision history for this message
huangyunpeng (huangyunpeng) wrote :

In this sense, if i create a fip and associate with a vm port , and I restart the l3 agent ,the floatingip statue comes to error .

Andrey Alekov (aalekov)
Changed in neutron:
assignee: nobody → Andrey Alekov (aalekov)
Revision history for this message
Andrey Alekov (aalekov) wrote :

I'm tried to reproduce this bug in multinode topology. Unfortunately it's not possible. Please provide more information to reproduce bug.

Changed in neutron:
assignee: Andrey Alekov (aalekov) → nobody
Revision history for this message
Sylvain Afchain (sylvain-afchain) wrote :

As Andrey reported all the floating ips are reported as in ERROR state. This seems due to the exception generated by trying to recreate a interface that is already existing.

Changed in neutron:
assignee: nobody → Sylvain Afchain (sylvain-afchain)
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/136041

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

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

commit c15923230da2a21d5fdb56c885baa7f3aa045090
Author: Sylvain Afchain <email address hidden>
Date: Thu Nov 20 14:25:58 2014 +0000

    Fix floating-ips in error state in dvr mode

    Before this fix an exception was raised when
    creating the veth between the fip namespace and
    the qrouter namespace when the veth was already
    present.
    This fix add a check to only create the veth if
    not present.

    Change-Id: Iefea9778223aac885bedfdacfdeacfce74776333
    Closes-Bug: #1376013

Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in neutron:
milestone: none → kilo-1
status: Fix Committed → Fix Released
Stephen Ma (stephen-ma)
tags: added: juno-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/juno)

Fix proposed to branch: stable/juno
Review: https://review.openstack.org/153667

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

Reviewed: https://review.openstack.org/153667
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=496d7a8a4b68be799385c48c29830e3733ec1d4d
Submitter: Jenkins
Branch: stable/juno

commit 496d7a8a4b68be799385c48c29830e3733ec1d4d
Author: Sylvain Afchain <email address hidden>
Date: Thu Nov 20 14:25:58 2014 +0000

    Fix floating-ips in error state in dvr mode

    Before this fix an exception was raised when
    creating the veth between the fip namespace and
    the qrouter namespace when the veth was already
    present.
    This fix add a check to only create the veth if
    not present.

    Conflicts:
        neutron/tests/unit/test_l3_agent.py

    (cherry-picked from c15923230da2a21d5fdb56c885baa7f3aa045090)
    Change-Id: Iefea9778223aac885bedfdacfdeacfce74776333
    Closes-Bug: #1376013

tags: added: in-stable-juno
Thierry Carrez (ttx)
Changed in neutron:
milestone: kilo-1 → 2015.1.0
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.