no nova hypervisor on nodes w/ C62x QAT devices
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
High
|
Daniel Chavolla |
Bug Description
Brief Description
-----------------
STX: no nova hypervisor on nodes w/ C62x QAT devices
Steps to Reproduce
------------------
Install STX load on node w/ C62x QAT device
Attempt to launch an instance
Expected Behavior
------------------
Expected the hypervisor to be there and expected to be able to launch the instance.
Actual Behavior
----------------
The nova hypervisor appears to be missing (although the lab install appears to be clean).
Instance launches in error
Message No valid host was found. Placement service found no hosts.No filter information
Code 501 Details No filter information
Created Aug. 31, 2018, 4:18 p.m.
# nova hypervisor-list
+----+-
| ID | Hypervisor hostname | State | Status |
+----+-
+----+-
Reproducibility
---------------
Yes
System Configuration
-------
Any config where the compute has C62x QAT devices
Branch/Pull Time/Commit
-------
master as of 2018-08-30_20-18-00
Timestamp/Logs
--------------
summary: |
- STX: no nova hypervisor on nodes w/ C62x QAT devices + no nova hypervisor on nodes w/ C62x QAT devices |
tags: | added: stx.2018.10 stx.distro.openstack |
description: | updated |
Changed in starlingx: | |
importance: | Undecided → High |
assignee: | nobody → Jack Ding (jackding) |
status: | New → Triaged |
Changed in starlingx: | |
assignee: | Jack Ding (jackding) → Daniel Chavolla (dchavoll) |
tags: |
added: stx.1.0 removed: stx.2018.10 |
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