diff --git a/pkg/local/preflight/checker.go b/pkg/local/preflight/checker.go index 94c146d4..365e9966 100644 --- a/pkg/local/preflight/checker.go +++ b/pkg/local/preflight/checker.go @@ -101,7 +101,9 @@ func (local *Checker) Init() error { local.packages = []string{ "nfs-common", "open-iscsi", "cryptsetup", } - local.modules = []string{} + local.modules = []string{ + "dm_crypt", + } local.services = []string{ "multipathd.service", } @@ -117,7 +119,9 @@ func (local *Checker) Init() error { local.packages = []string{ "nfs-utils", "iscsi-initiator-utils", "cryptsetup", } - local.modules = []string{} + local.modules = []string{ + "dm_crypt", + } local.services = []string{ "multipathd.service", } @@ -133,7 +137,9 @@ func (local *Checker) Init() error { local.packages = []string{ "nfs-client", "open-iscsi", "cryptsetup", } - local.modules = []string{} + local.modules = []string{ + "dm_crypt", + } local.services = []string{ "multipathd.service", } @@ -149,7 +155,9 @@ func (local *Checker) Init() error { local.packages = []string{ "nfs-utils", "open-iscsi", "cryptsetup", } - local.modules = []string{} + local.modules = []string{ + "dm_crypt", + } local.services = []string{ "multipathd.service", } @@ -192,6 +200,10 @@ func (local *Checker) Run() error { return err } + if err := local.checkModulesLoaded(false); err != nil { + return err + } + if local.EnableSpdk { instructionSets := map[string][]string{ "amd64": {"sse4_2"},