no nova hypervisor on nodes w/ C62x QAT devices

Bug #1790714 reported by Wendy Mitchell
6
This bug affects 1 person
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
--------------

Ghada Khalil (gkhalil)
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
Frank Miller (sensfan22)
Changed in starlingx:
assignee: Jack Ding (jackding) → Daniel Chavolla (dchavoll)
Revision history for this message
Daniel Chavolla (dchavoll) wrote :

Fixed by stx-nova commit 2fe8c2cc9e0061bc83864b489cb7a6b20c18c7fa

ommit 2fe8c2cc9e0061bc83864b489cb7a6b20c18c7fa
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
    /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.

    Ported from internal commit 28955dec983

    fixes starlingx bug 1790714
    https://bugs.launchpad.net/starlingx/+bug/1790714

    Upstreaming status: commit should be upstreamed

Changed in starlingx:
status: Triaged → Fix Committed
Revision history for this message
Daniel Chavolla (dchavoll) wrote :
Revision history for this message
Ghada Khalil (gkhalil) wrote :

Fix is available in master as of 2018-09-18

Changed in starlingx:
status: Fix Committed → Fix Released
Ken Young (kenyis)
tags: added: stx.1.0
removed: stx.2018.10
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.