Enable VFIO module on boot for SR-IOV deployments
On SR-IOV capable deployments when rebooting a compute node, vfio_iommu_type1 will not be loaded which will cause guest instances with VF/PF fail to start/spawn. Manually loading the kernel module will allow to spawn guest instances successfully. Change-Id: I3ffd1c11a1851e62992a6a63e8abb130db82856f Closes-Bug: 1838159
This commit is contained in:
parent
0951f7e5fb
commit
3878bd3e47
@ -30,6 +30,15 @@
|
||||
- _KERNEL_ARGS_|default("") != ""
|
||||
- _KERNEL_ARGS_|default("") not in cmdline.stdout_lines[0]
|
||||
|
||||
# Kernel modules loading
|
||||
- name: Load VFIO kernel module on boot
|
||||
import_role:
|
||||
name: tripleo-module-load
|
||||
vars:
|
||||
modules:
|
||||
- name: vfio
|
||||
when: _KERNEL_ARGS_ is search("iommu")
|
||||
|
||||
# Tune-d Configuration
|
||||
- block:
|
||||
- name: Check Tune-d Configuration file exists
|
||||
|
@ -0,0 +1,8 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Enable VFIO module on boot for SR-IOV deployments.
|
||||
Before this change on SR-IOV capable deployments
|
||||
when rebooting a compute node, vfio_iommu_type1 will
|
||||
not be loaded which will cause guest instances with VF/PF
|
||||
fail to start/spawn.
|
Loading…
x
Reference in New Issue
Block a user