Fix nova-hypervisor not showing up on nodes w/c62x QAT devices
When nova is gathering pci info, it should not query pci net info
for c62x QAT devices.
This fix checks for the presence of pci_capability fields prior
to accessing them.
Also, c62x devices do not have a "net" subdir under
/sys/bus/pci/devices/<pci address>/
This fix prevents trying to access this subdir for c62x QAT devices,
therefore stopping the flow of "No net device was found for VF"
messages in nova compute logs.
Fixed by stx-nova commit 2fe8c2cc9e0061b c83864b489cb7a6 b20c18c7fa
ommit 2fe8c2cc9e0061b c83864b489cb7a6 b20c18c7fa
Author: Daniel Chavolla <email address hidden>
Date: Fri Sep 14 10:23:00 2018 -0400
Fix nova-hypervisor not showing up on nodes w/c62x QAT devices
When nova is gathering pci info, it should not query pci net info
for c62x QAT devices.
This fix checks for the presence of pci_capability fields prior
to accessing them.
Also, c62x devices do not have a "net" subdir under bus/pci/ devices/ <pci address>/
/sys/
This fix prevents trying to access this subdir for c62x QAT devices,
therefore stopping the flow of "No net device was found for VF"
messages in nova compute logs.
Ported from internal commit 28955dec983
fixes starlingx bug 1790714 /bugs.launchpad .net/starlingx/ +bug/1790714
https:/
Upstreaming status: commit should be upstreamed