Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1560728 - Assertion auxv_fd != -1 failed in DPDK. openvswitch.service will not start
Assertion auxv_fd != -1 failed in DPDK. openvswitch.service will not start
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: openvswitch (Show other bugs)
7.4
ppc64le Linux
high Severity high
: rc
: ---
Assigned To: Timothy Redaelli
Christian Trautman
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-03-26 16:56 EDT by Mick Tarsel
Modified: 2018-06-21 09:37 EDT (History)
9 users (show)

See Also:
Fixed In Version: openvswitch-2.9.0-34.el7fdn
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-06-21 09:36:35 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)
journalctl -xe after enabling DPDK (1.79 KB, text/plain)
2018-03-26 16:56 EDT, Mick Tarsel
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:1962 None None None 2018-06-21 09:37 EDT

  None (edit)
Description Mick Tarsel 2018-03-26 16:56:34 EDT
Created attachment 1413337 [details]
journalctl -xe after enabling DPDK

Description of problem:
After enabling DPDK in openvswitch rpm, ovs fails to finish executing ovs-vsctl commands and the openvswitch.service fails to restart/start. Commands to ovs-vsctl will hang needing CTRL+C to stop, however ovsdb is updated.

   To enable DPDK:

ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-init=true

journalctl -xe logs attached.

Version-Release number of selected component (if applicable):
openvswitch-2.9.0-3.el7fdp.ppc64le.rpm

How reproducible:
Only when DPDK is enabled in openvswitch rpm. Otherwise openvswitch works fine.

Steps to Reproduce:
1. Install openvswitch-2.9.0-3.el7fdp.ppc64le.rpm
2. systemctl start openvswitch
3. ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-init=true
4. ovs-vsctl add-br br0
Command hangs

4. systemctl restart openvswitch

Actual results:
# ovs-vsctl add-br br0
(after a long time...)
^C2018-03-26T20:42:30Z|00002|fatal_signal|WARN|terminating with signal 2 (Interrupt)

# ovs-vsctl show
    Bridge "br0"
        Port "br0"
            Interface "br0"
                type: internal
    ovs_version: "2.9.0"

Expected results:
# ovs-vsctl add-br br0
# ovs-vsctl show

Additional info:

This error is due to the file permission's of /proc/self/auxv. In DPDK, commit 1e0a17ac4c816fc41f6cf8c1fcd56149d8927263 introduces a different way to verify file permissions, changing the assertion from != 0 to != 1. 

Possible solution: 

Revert patch 1e0a17ac4c816fc41f6cf8c1fcd56149d8927263 from DPDK 17.11

New patch posted could also be a possible solution:
http://dpdk.org/ml/archives/dev/2018-March/093582.html


This is a bug in DPDK which is part of the openvswitch rpm for ppc64le.
Comment 2 Aaron Conole 2018-04-12 15:02:13 EDT
Posted upstream at http://dpdk.org/ml/archives/dev/2018-April/094743.html
Comment 10 Christian Trautman 2018-06-07 11:40:46 EDT
Reproduced with openvswitch-2.9.0-3.el7fdp.ppc64le.rpm

2. systemctl start openvswitch
3. ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-init=true
4. ovs-vsctl add-br br0
Command hangs as expected.

Verified with openvswitch-2.9.0-45.el7fdp.ppc64le. No hangs seen.

Changing to verified.
Comment 12 errata-xmlrpc 2018-06-21 09:36:35 EDT
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://access.redhat.com/errata/RHBA-2018:1962

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