nouveau should be blacklisted by default for GPU passthough

Bug #1774674 reported by Oliver Walsh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Oliver Walsh

Bug Description

To allow PCI passthrough of an NVIDIA GPU, or vGPU drivers to be installed on the host, nouveau should be configured to ensure it does not conflict.

The recommendation is to explicitly blacklist nouveau to prevent loading at boot and disable kernel modesets in case nouveau is manually loaded, then regenerate initrd.

Oliver Walsh (owalsh)
Changed in tripleo:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Oliver Walsh (owalsh)
milestone: none → rocky-2
tags: added: queens-backport-potential
tags: added: ocata-backport-potential pike-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (master)

Fix proposed to branch: master
Review: https://review.openstack.org/571779

Changed in tripleo:
status: Triaged → In Progress
Changed in tripleo:
milestone: rocky-2 → rocky-3
Changed in tripleo:
milestone: rocky-3 → rocky-rc1
Oliver Walsh (owalsh)
Changed in tripleo:
milestone: rocky-rc1 → rocky-3
Changed in tripleo:
milestone: rocky-3 → rocky-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-common (master)

Reviewed: https://review.openstack.org/571779
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=7c396455739209e102ea2409e557373f9c5afd9c
Submitter: Zuul
Branch: master

commit 7c396455739209e102ea2409e557373f9c5afd9c
Author: Oliver Walsh <email address hidden>
Date: Fri Jun 1 17:42:49 2018 +0100

    Add disable-nouveau element to tripleo images

    This ensures nouveau is not loaded at boot, as this can prevent PCI passthrough
    or loading the NVIDIA binary drivers that are required for vGPU support.

    Requires switching from the (now deprecated) modprobe-blacklist to the modprobe
    element in the hardened images.

    bp tripleo-vgpu

    Depends-On: I60815de86e7b22dfb39555af9d2d53564841e2ab
    Change-Id: I5d487e99b4e72368f36051509146dc75dd31b62e
    Closes-bug: 1774674

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-common 9.3.0

This issue was fixed in the openstack/tripleo-common 9.3.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/639343

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-common (stable/queens)

Change abandoned by Martin Schuppert (<email address hidden>) on branch: stable/queens
Review: https://review.openstack.org/639343
Reason: talking to the nova team they'd prefer to not backport it and have a documented steps.

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.