Bug 1737713
| Summary: | OvS-DPDK with OvS2.11 is failing | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Saravanan KR <skramaja> |
| Component: | openvswitch | Assignee: | David Marchand <dmarchan> |
| Status: | CLOSED DUPLICATE | QA Contact: | Eran Kuris <ekuris> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 13.0 (Queens) | CC: | apevec, cfontain, chrisw, dmarchan, gmuthukr, jlibosva, rhos-maint |
| Target Milestone: | --- | Keywords: | Triaged, ZStream |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-08-07 13:43:00 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: | |||
|
Description
Saravanan KR
2019-08-06 06:44:07 UTC
We are currently tracking problems in dpdk intialisation in bz1711739. The problem manifests when no pci device is configured so that dpdk can use them. Can you list the pci network devices on this system? - lspci |grep Ethernet Can you list which devices are bound to vfio-pci? - driverctl list-overrides Another thing to check to confirm the issue is the same as bz1711739, is to set the following workaround dpdk configuration in ovs db: ovs-vsctl set Open_vSwitch . other_config:dpdk-extra="--iova-mode=va" systemctl restart openvswitch sosreport - http://rhos-release.virt.bos.redhat.com/log/bz1737713/ > - driverctl list-overrides I don't have any ports added. Enabled DPDK in a existing regular Compute node (with hugepages). I have removed it as the deployment was failing. > Did cleaning up /dev/hugepages/rte_* before restarting new ovs-vswitchd help ?. The same issue occurs in a fresh deployment, when I have ovs2.11 in the overcloud-full image itself. > Another thing to check to confirm the issue is the same as bz1711739, is to set the following workaround dpdk configuration in ovs db: After this workaround, ovs-vswitchd is successful. Please, could you have a try with the following test packages: http://brew-task-repos.usersys.redhat.com/repos/scratch/dmarchan/openvswitch2.11/2.11.0/20.el7fdn.bz1711739/ It worked.
[root@computeovsdpdksriov-0 ~]# ovs-vsctl get Open_vSwitch . other_config
{dpdk-init="true"}
[root@computeovsdpdksriov-0 ~]# systemctl status ovs-vswitchd
● ovs-vswitchd.service - Open vSwitch Forwarding Unit
Loaded: loaded (/usr/lib/systemd/system/ovs-vswitchd.service; static; vendor preset: disabled)
Active: active (running) since Tue 2019-08-06 12:19:53 UTC; 3min 44s ago
Process: 522478 ExecStop=/usr/share/openvswitch/scripts/ovs-ctl --no-ovsdb-server stop (code=exited, status=0/SUCCESS)
Process: 522639 ExecStart=/usr/share/openvswitch/scripts/ovs-ctl --no-ovsdb-server --no-monitor --system-id=random ${OVSUSER} start $OPTIONS (code=exited, status=0/SUCCESS)
Process: 522636 ExecStartPre=/usr/bin/chmod 0775 /dev/hugepages (code=exited, status=0/SUCCESS)
Process: 522634 ExecStartPre=/bin/sh -c /usr/bin/chown :$${OVS_USER_ID##*:} /dev/hugepages (code=exited, status=0/SUCCESS)
Main PID: 522678 (ovs-vswitchd)
Tasks: 9
Memory: 33.2M
CGroup: /system.slice/ovs-vswitchd.service
└─522678 ovs-vswitchd unix:/var/run/openvswitch/db.sock -vconsole:emer -vsyslog:err -vfile:info --mlockall --user openvswitch:hugetlbfs --no-chdir --log-file=/...
Aug 06 12:19:39 computeovsdpdksriov-0 systemd[1]: Starting Open vSwitch Forwarding Unit...
Aug 06 12:19:53 computeovsdpdksriov-0 ovs-ctl[522639]: Starting ovs-vswitchd [ OK ]
Aug 06 12:19:53 computeovsdpdksriov-0 ovs-vsctl[522854]: ovs|00001|vsctl|INFO|Called as ovs-vsctl --no-wait set Open_vSwitch . external-ids:hostname=computeovsdp...caldomain
Aug 06 12:19:53 computeovsdpdksriov-0 ovs-ctl[522639]: Enabling remote OVSDB managers [ OK ]
Aug 06 12:19:53 computeovsdpdksriov-0 systemd[1]: Started Open vSwitch Forwarding Unit.
Hint: Some lines were ellipsized, use -l to show in full.
[root@computeovsdpdksriov-0 ~]# yum list openvswitch2.11
Loaded plugins: product-id, search-disabled-repos, subscription-manager
Installed Packages
openvswitch2.11.x86_64 2.11.0-20.el7fdn.bz1711739 @/openvswitch2.11-2.11.0-20.el7fdn.bz1711739.x86_64
Fixes are being pushed for 19.F in Fast Datapath channel. What should I do with this bz? Reassign it to your team for when you guys cross tag 19.F? |