Skip to content

Commit

Permalink
Samples: NVMe-oF kernel module loads
Browse files Browse the repository at this point in the history
In our tests it looked like it was enough to load the nvme-fabrics
kernel module, as this seemed to load the nvme-tcp kernel module as
needed, but we were told some vendors had to load the other modules for
the OpenStack CI to work as expected.

Just to be on the safe side we add the nvme-tcp and nvme-rdma kernel
modules to the list to load.
  • Loading branch information
Akrog committed Sep 11, 2023
1 parent bec0f7b commit c076183
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions config/samples/backends/bases/nvmeof/nvme-fabrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ metadata:
labels:
machineconfiguration.openshift.io/role: master
service: cinder
name: 99-master-cinder-load-nvme-fabrics
name: 99-master-cinder-load-nvmeof
spec:
config:
ignition:
version: 3.2.0
storage:
files:
- path: /etc/modules-load.d/nvme_fabrics.conf
- path: /etc/modules-load.d/nvmeof.conf
overwrite: false
# Mode must be decimal, this is 0644
mode: 420
Expand All @@ -23,4 +23,5 @@ spec:
contents:
# Source can be a http, https, tftp, s3, gs, or data as defined in rfc2397.
# This is the rfc2397 text/plain string format
source: data:,nvme-fabrics
# nvme-fabrics should load other modules automatically, but load them to be sure
source: data:,nvme-fabrics%0Anvme-tcp%0Anvme-rdma

0 comments on commit c076183

Please sign in to comment.