Bug 1276591
| Summary: | iproute: 'ip addr flush' failed to send flush request: Cannot assign requested address | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Jianwen Ji <jiji> | |
| Component: | iproute | Assignee: | Phil Sutter <psutter> | |
| Status: | CLOSED ERRATA | QA Contact: | Jaroslav Aster <jaster> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | high | |||
| Version: | 6.8 | CC: | jaster, jishi, mmarusic, network-qe, vinayaksharma082, zhchen | |
| Target Milestone: | rc | |||
| Target Release: | 6.8 | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | iproute-2.6.32-48.el6 | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1291825 (view as bug list) | Environment: | ||
| Last Closed: | 2016-05-11 00:20:19 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1291825 | |||
|
Comment 1
Phil Sutter
2015-11-02 15:30:50 UTC
This bug exists upstream as well, so this should affect also RHEL7. Patches fixing this issue (and related ones) sent upstream: https://www.mail-archive.com/netdev@vger.kernel.org/msg86280.html Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-0895.html Can i get more information regarding this bug? (In reply to Vinayak Sharma from comment #10) > Can i get more information regarding this bug? What kind of info do you want to get? (In reply to Jianwen Ji from comment #11) > (In reply to Vinayak Sharma from comment #10) > > Can i get more information regarding this bug? > > What kind of info do you want to get? Hi Jianwen ji, Thanks for replying Actually it is not clear from the comments or bug details on this page that how "ip addr flush" is failing exactly . Is it giving some non zero exit code and failing or is it exiting with exit code 0 but is not doing what it is supposed to do ? I am sorry if i am missing something as i am new to bugzilla and RHEL also . Thanks I also need steps to reproduce this issue if possible (In reply to Vinayak Sharma from comment #13) > I also need steps to reproduce this issue if possible I can't recall all the information 'ip addr flush' should exit with non zero code and gave the following error message: Failed to send flush request: Cannot assign requested address Here is one simple bash reproducer for reference: #!/bin/bash ROW=200 NUM=200 IFA=${1:-"eth6"} set -o pipefail ip addr flush dev $IFA for i in `seq $ROW`;do for j in `seq $NUM`;do ip a a 172.111.$i.$j/16 dev $IFA done done ip a a 172.111.253.253/16 dev $IFA ip link set dev $IFA up ip addr flush dev $IFA Hope this could help you. (In reply to Jianwen Ji from comment #14) > (In reply to Vinayak Sharma from comment #13) > > I also need steps to reproduce this issue if possible > > I can't recall all the information > 'ip addr flush' should exit with non zero code and gave the following error > message: > Failed to send flush request: Cannot assign requested address > > Here is one simple bash reproducer for reference: > > #!/bin/bash > ROW=200 > NUM=200 > IFA=${1:-"eth6"} > set -o pipefail > ip addr flush dev $IFA > for i in `seq $ROW`;do > for j in `seq $NUM`;do > ip a a 172.111.$i.$j/16 dev $IFA > done > done > ip a a 172.111.253.253/16 dev $IFA > ip link set dev $IFA up > ip addr flush dev $IFA > > Hope this could help you. Thanks for the response , Yes your response is helpful . We have executed the shell script provided by you to reproduce this issue . the command "ip addr flush dev $IFA" gave error message "Failed to send flush request: Cannot assign requested address" However output of "ip addr show" displayed that ip address of interface "$IFA" was flushed actually. That means this bug is just an issue of wrongly displaying error messege when command is actually doing its work as expected in background. Thank you so much (In reply to Jianwen Ji from comment #14) > (In reply to Vinayak Sharma from comment #13) > > I also need steps to reproduce this issue if possible > > I can't recall all the information > 'ip addr flush' should exit with non zero code and gave the following error > message: > Failed to send flush request: Cannot assign requested address > > Here is one simple bash reproducer for reference: > > #!/bin/bash > ROW=200 > NUM=200 > IFA=${1:-"eth6"} > set -o pipefail > ip addr flush dev $IFA > for i in `seq $ROW`;do > for j in `seq $NUM`;do > ip a a 172.111.$i.$j/16 dev $IFA > done > done > ip a a 172.111.253.253/16 dev $IFA > ip link set dev $IFA up > ip addr flush dev $IFA > > Hope this could help you. Thanks for the response , Yes your response is helpful . We have executed the shell script provided by you to reproduce this issue . the command "ip addr flush dev $IFA" gave error message "Failed to send flush request: Cannot assign requested address" However output of "ip addr show" displayed that ip address of interface "$IFA" was flushed actually. That means this bug is just an issue of wrongly displaying error messege when command is actually doing its work as expected in background. Thank you so much |