From c076183ffae963f10bd1c2d722842a344a7c0406 Mon Sep 17 00:00:00 2001 From: Gorka Eguileor Date: Mon, 11 Sep 2023 19:57:01 +0200 Subject: [PATCH] Samples: NVMe-oF kernel module loads 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. --- config/samples/backends/bases/nvmeof/nvme-fabrics.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/config/samples/backends/bases/nvmeof/nvme-fabrics.yaml b/config/samples/backends/bases/nvmeof/nvme-fabrics.yaml index c0ef6cf6d..e90cca4a8 100644 --- a/config/samples/backends/bases/nvmeof/nvme-fabrics.yaml +++ b/config/samples/backends/bases/nvmeof/nvme-fabrics.yaml @@ -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 @@ -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