← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1578842] Re: gratuitous arping causes exception filling up logs with errors on Ubuntu14.04

 

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

commit cc9ce5189db4f3300c38b36dd28a98d64ca7a1fe
Author: Arun Sriraman <sarun@xxxxxxxxxxxxx>
Date:   Thu May 5 22:18:24 2016 +0000

    Changing arping command execute to accept 1 as extra OK code
    
    Connecting any network to a router causes l3-agent to send out
    gratuitous ARP packets that do not require a response. On Ubuntu 14.04
    sometimes this command returns 1, which causes it to falsely report
    arping command failure. This is now added to the extra OK codes.
    
    Change-Id: I6299e936d4e4e7fd7497d23224e7abf605a99c15
    Closes-bug: #1578842


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1578842

Title:
  gratuitous arping causes exception filling up logs with errors on
  Ubuntu14.04

Status in neutron:
  Fix Released

Bug description:
  Connecting an external network to a router causes l3-agent to send out
  gratuitous arp packets to to the external network gateway IP in order
  to pre-populate the mac table without expecting a response. Similar
  behavior when associating floating IPs. Arping utility on CentOS7.2
  returns 0 when no response but returns 1 on Ubuntu14.04 which causes
  an exception and thus a Traceback in the log files.

  Changing arping command call to not check return code status fixes
  this issue and that is the proposed fix.

  Pre-conditions: Router with external network attached.

  Step-by-step reproduction steps:
  1) Create a router
  2) Attach an external network as gateway.
  3) Attach a tenant network to the router.
  4) Associate a Floating IP to a VM instance powered on in that tenant network.

  Expected output: No errors in logs. Seen on CentOS7.2
  Actual output: Traceback in l3 log. Seen on Ubuntu14.04
  http://paste.openstack.org/show/496284/

  Version: Openstack Liberty (Tag: 7.0.2). Ubuntu14.04.
  uname -a
  Linux ubuntu01 4.2.0-27-generic #32~14.04.1-Ubuntu SMP Fri Jan 22 15:32:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

  Services running: l3-agent in dvr mode, ovs-agent, dhcp-agent, nova-
  compute.

  Perceived Severity: Medium (Causes issues with active monitoring)

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1578842/+subscriptions


References