Bug 1480223 - iproute does not show some geneve protocol's options when they are set
iproute does not show some geneve protocol's options when they are set
Status: CLOSED DUPLICATE of bug 1480207
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: iproute (Show other bugs)
7.4-Alt
Unspecified Unspecified
medium Severity medium
: rc
: ---
Assigned To: Phil Sutter
BaseOS QE Security Team
: Regression
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-08-10 08:28 EDT by Jaroslav Aster
Modified: 2017-08-10 09:04 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-08-10 09:04:11 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jaroslav Aster 2017-08-10 08:28:51 EDT
Description of problem:

iproute does not show some geneve protocol's options when they are set. It is a regression against rhel-7.4.


Version-Release number of selected component (if applicable):

iproute-4.11.0-1.el7a
kernel-4.11.0-16.el7a


How reproducible:

100%


Steps to Reproduce:

1. Options udp6zerocsumtx noudp6zerocsumtx udp6zerocsumrx noudp6zerocsumrx are not printed when they are set.

# ip link add TestIface type geneve id 10 remote 192.168.11.1 udp6zerocsumtx; echo "return code: $?"
return code: 0
# ip -d link show TestIface | grep udp6zerocsumtx || echo '<<nothing>>'
<<nothing>>

2. Options udpcsum noudpcsum are printed when they are set, but they are switched. When I set udpcsum, I see noudpcsum and reverse.

# ip link add TestIface type geneve id 10 remote 192.168.11.1 udpcsum; echo "return code: $?"
return code: 0
# ip -d link show TestIface | grep udpcsum || echo '<<nothing>>'
    geneve id 10 remote 192.168.11.1 dstport 6081 noudpcsum addrgenmode eui64

# ip link add TestIface type geneve id 10 remote 192.168.11.1 noudpcsum; echo "return code: $?"
return code: 0
# ip -d link show TestIface | grep udpcsum || echo '<<nothing>>'
    geneve id 10 remote 192.168.11.1 dstport 6081 udpcsum addrgenmode eui64 


Actual results:

Some options are not printed.


Expected results:

All options are printed.
Comment 2 Phil Sutter 2017-08-10 08:43:13 EDT
Hi Jaroslav,

Flags udp6zerocsumtx noudp6zerocsumtx udp6zerocsumrx noudp6zerocsumrx are only valid for IPv6 tunnels. So I guess things work if you specify an IPv6 remote.

Regarding inverted udpcsum flags, see Bug 1480207.
Comment 3 Jaroslav Aster 2017-08-10 09:04:11 EDT
Hi Phil,

you are right. I had a mistake in my test. It passed on rhel-7.4, so I missed it. I fixed my test and it passed now. So there is only one issue with udpcsum and it is, as you wrote, kernel issue.

I will close this bug as a duplicate and we will track issue in bz#1480207. Thanks for investigation.

*** This bug has been marked as a duplicate of bug 1480207 ***

Note You need to log in before you can comment on or make changes to this bug.