Bug 2109621 - Nova fails to reuse mdev vgpu devices
Summary: Nova fails to reuse mdev vgpu devices
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 17.0 (Wallaby)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: OSP DFG:Compute
QA Contact: OSP DFG:Compute
URL:
Whiteboard:
Depends On: 2109450
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-21 15:59 UTC by Sylvain Bauza
Modified: 2023-08-08 15:43 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-16 17:17:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1981631 0 None None None 2022-07-21 15:59:04 UTC
Red Hat Issue Tracker OSP-17787 0 None None None 2022-07-21 16:03:19 UTC

Description Sylvain Bauza 2022-07-21 15:59:05 UTC
Description of problem:

Due to some breaking change in libvirt on 8.0.0 or earlier, now nova isn't able to see the mdevs it created, leading to some capacity leaking for vGPUs.

A better explanation of the impact can be found in https://bugs.launchpad.net/nova/+bug/1981631

A libvirt bug report was created against this regression : https://bugzilla.redhat.com/show_bug.cgi?id=2109450

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Create an instance with a VGPU flavor
2. Inventory of the RP will have a 'total' value reducing by 1.

Actual results:


Expected results:
Inventory "total" value shouldn't change.

Additional info:

Comment 5 Artom Lifshitz 2023-05-16 17:17:04 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=2109616 is the bug used to track Nova's work to handle libvirt renaming mdev devices in RHEL 9.2.

This BZ, while related, is for a different thing, and is tracked as a Opinion upstream, with a patch at https://review.opendev.org/c/openstack/nova/+/858012, which isn't getting much traction for now. Let's close this as UPSTREAM for now.


Note You need to log in before you can comment on or make changes to this bug.