From 209b3f85eb9a3e5b6949ed7f268ad1fad7e636fe Mon Sep 17 00:00:00 2001 From: jamallorock Date: Mon, 2 Jan 2023 15:34:13 +0100 Subject: [PATCH] Update odf4-install-no-ui.adoc Adding missing local-block manifest. Without this manifest, instalation stucks soon on discovering deviceset. --- .../ocs4/pages/odf4-install-no-ui.adoc | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/training/modules/ocs4/pages/odf4-install-no-ui.adoc b/training/modules/ocs4/pages/odf4-install-no-ui.adoc index a454048..e317741 100644 --- a/training/modules/ocs4/pages/odf4-install-no-ui.adoc +++ b/training/modules/ocs4/pages/odf4-install-no-ui.adoc @@ -136,6 +136,29 @@ spec: #maxSize: 0Ti # <-- Uncomment and modify to limit the maximum size of disk used .... + +[source] +.... +apiVersion: local.storage.openshift.io/v1 +kind: LocalVolume +metadata: + name: local-block + namespace: openshift-local-storage +spec: + nodeSelector: + nodeSelectorTerms: + - matchExpressions: + - key: cluster.ocs.openshift.io/openshift-storage + operator: In + values: + - "" + storageClassDevices: + - storageClassName: localblock + volumeMode: Block + devicePaths: + - /dev/sdb # modify this line +.... + [source,shell] .... oc create -f localvolumeset.yaml