Arping code should detect missing interface and return early
Bug #1696893 reported by
Brian Haley
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Low
|
Brian Haley |
Bug Description
Since arping is spawned in a thread, if a router is added and quickly removed from a network, the arping calls could generate errors on the second or third loop, for example:
Exit code: 2; Stdin: ; Stdout: ; Stderr: arping: Device qr-1e77796c-2b not available.
This can happen in this scenario:
T(0): internal_
port plugged
arping started in thread
T(1): internal_
port unplugged
T(2): arping fails
T(3): arping fails
An example is in:
Just search for qr-1e77796c-2b in the logs before this time.
The arping code should detect this on a failure, log a warning and return early as there is no way to stop the thread once it is spawned.
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/472500
Review: https:/