[nailgun-agent][dpdk] invalid PID is reported for some NICs

Bug #1655733 reported by Atsuko Ito
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Atsuko Ito
Mitaka
Fix Released
Medium
Atsuko Ito
Newton
Fix Committed
Medium
Atsuko Ito
Ocata
Fix Committed
Medium
Atsuko Ito

Bug Description

For virtio, /sys/class/net/*/device/{vendor,device} reports subsystem pci_id (1af4:0001), but should report main pci_id (1af4:1000). Should be gathered from /sys/bus/pci/device/${bus_info}

 Ethernet controller [0200]: Red Hat, Inc Virtio network device [1af4:1000]
 Subsystem: Red Hat, Inc Device [1af4:0001]
 Physical Slot: 3
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
 Latency: 0
 Interrupt: pin A routed to IRQ 11
 Region 0: I/O ports at c040 [size=32]
 Region 1: Memory at febd5000 (32-bit, non-prefetchable) [size=4K]
 Expansion ROM at feb00000 [disabled] [size=256K]
 Capabilities: [40] MSI-X: Enable+ Count=3 Masked-
  Vector table: BAR=1 offset=00000000
  PBA: BAR=1 offset=00000800
 Kernel driver in use: virtio-pci

Changed in fuel:
importance: Undecided → Medium
status: New → Confirmed
Atsuko Ito (yottatsa)
summary: - [nailgun-agent][dpdk] invalid device_id is reported for nic for multiid
- device
+ [nailgun-agent][dpdk] invalid PID is reported for some NICs
Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-nailgun-agent (master)

Reviewed: https://review.openstack.org/419087
Committed: https://git.openstack.org/cgit/openstack/fuel-nailgun-agent/commit/?id=0a306b1dc7021ec41b2947e6efa53be7c4075a9c
Submitter: Jenkins
Branch: master

commit 0a306b1dc7021ec41b2947e6efa53be7c4075a9c
Author: Vladimir Eremin <email address hidden>
Date: Wed Jan 11 21:56:06 2017 +0300

    Read device PCIID instead of subsystem one

    For some devices like Virtio network device [1af4:1000], there is
    invalid PCIID in /sys/class/net.

    Change-Id: I3bc514c2d57e3a7669c418e49830491041cb8f52
    Closes-Bug: #1655733

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-nailgun-agent (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/419567

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-nailgun-agent (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/419568

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-nailgun-agent (stable/mitaka)

Reviewed: https://review.openstack.org/419567
Committed: https://git.openstack.org/cgit/openstack/fuel-nailgun-agent/commit/?id=c14c0b208bc6766352afe720c9c5efe3f67a6ba9
Submitter: Jenkins
Branch: stable/mitaka

commit c14c0b208bc6766352afe720c9c5efe3f67a6ba9
Author: Vladimir Eremin <email address hidden>
Date: Wed Jan 11 21:56:06 2017 +0300

    Read device PCIID instead of subsystem one

    For some devices like Virtio network device [1af4:1000], there is
    invalid PCIID in /sys/class/net.

    Change-Id: I3bc514c2d57e3a7669c418e49830491041cb8f52
    Closes-Bug: #1655733
    (cherry picked from commit 0a306b1dc7021ec41b2947e6efa53be7c4075a9c)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-nailgun-agent (stable/newton)

Reviewed: https://review.openstack.org/419568
Committed: https://git.openstack.org/cgit/openstack/fuel-nailgun-agent/commit/?id=5e119e08c3c4d885f0ad8c91919b7818fe15b783
Submitter: Jenkins
Branch: stable/newton

commit 5e119e08c3c4d885f0ad8c91919b7818fe15b783
Author: Vladimir Eremin <email address hidden>
Date: Wed Jan 11 21:56:06 2017 +0300

    Read device PCIID instead of subsystem one

    For some devices like Virtio network device [1af4:1000], there is
    invalid PCIID in /sys/class/net.

    Change-Id: I3bc514c2d57e3a7669c418e49830491041cb8f52
    Closes-Bug: #1655733
    (cherry picked from commit 0a306b1dc7021ec41b2947e6efa53be7c4075a9c)

tags: added: hard-to-verify
tags: added: on-verification
tags: removed: on-verification
Revision history for this message
Sergey Novikov (snovikov) wrote :

Verified on snapshot #822 (RC2)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/fuel-nailgun-agent 11.0.0.0rc1

This issue was fixed in the openstack/fuel-nailgun-agent 11.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.