Attaching virtual GPU devices to guests in nova

Bug #1752463 reported by John G. Fanelli
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Confirmed
Medium
Unassigned

Bug Description

This bug tracker is for errors with the documentation, use the following as a template and remove or add fields as you see fit. Convert [ ] into [x] to check boxes:

- [X] This is a doc addition request.
- [X] I have a fix to the document that I can paste below including example: input and output.

Hi -- Fantastic news that NVIDIA vGPU is supported in OpenStack. In order for vGPU to work, it requires a vGPU driver that normally sits behind a license portal. If an OpenStack user trys to use the non-vGPU driver, it will not work and cause them to lose time debugging.

FREE evaluation drivers are available here: http://www.nvidia.com/object/grid-evaluation.html

I would suggest adding wording to this effect to the page to same time and frustration.

thank you

john fanelli
<email address hidden>

-----------------------------------
Release: 17.0.1.dev1 on 2018-02-28 15:54
SHA: 5039511840bd64151f3111d9c8d7d8a01344193b
Source: https://git.openstack.org/cgit/openstack/nova/tree/doc/source/admin/virtual-gpu.rst
URL: https://docs.openstack.org/nova/queens/admin/virtual-gpu.html

Tags: doc vgpu
tags: added: doc docs
Revision history for this message
Matt Riedemann (mriedem) wrote :

Thanks. Probably need Sylvain Bauza to take a look at this.

tags: added: vgpu
removed: doc
Changed in nova:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Matt Riedemann (mriedem) wrote :

Although, isn't there a workaround for this?

https://review.openstack.org/#/c/459753/

From that patch:

Image hide_hypervisor_id property helps libvirt set an xml instance file property, which will hide on guest host KVM hypervisor signature ("KVMKVMKVM\0\0\0"). According to the commit message in QEMU repository [1]:

"The latest Nvidia driver (337.88) specifically checks for KVM as the hypervisor and reports Code 43 for the driver in a Windows guest when found. Removing or changing the KVM signature is sufficient for the driver to load and work."

Also mentioned here:

https://docs.openstack.org/python-glanceclient/latest/cli/property-keys.html

img_hide_hypervisor_id:

Some hypervisors add a signature to their guests. While the presence of the signature can enable some paravirtualization features on the guest, it can also have the effect of preventing some drivers from loading. Hiding the signature by setting this property to true may allow such drivers to load and work.

Changed in nova:
status: Confirmed → Incomplete
Revision history for this message
Sylvain Bauza (sylvain-bauza) wrote :

While I understand your point, I tried to not provide a documentation for only one specific GPU driver, here NVidia.

Yes, you're right, in order to support virtual GPUs for NVidia devices, you need to have both a supported device ( see http://docs.nvidia.com/grid/5.0/pdf/grid-vgpu-user-guide.pdf ) and an accepted driver (and for example, not the 'nouveau' driver).

Maybe I should just add a note that would point to that documentation.

Revision history for this message
Sylvain Bauza (sylvain-bauza) wrote :

Matt, https://review.openstack.org/#/c/459753/ is for hiding the hypervisor signature in the guest because the nVidia driver checks it. That's for GPU passthrough, not for virtual GPU given you need to have a specific nVidia driver for your compute node itself (not the guest).

Putting the bug back to Confirmed.

Changed in nova:
status: Incomplete → Confirmed
do3meli (d-info-e)
tags: added: doc
removed: docs
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.