CSI Cert tests: Volume config option RWX (ReadWriteMany) causes test failures on filesystem volumes

Solution Verified - Updated -

Issue

CSI certification tests have a config option RWX: <boolean> that enabled tests with ReadWriteMany volumes (RWX). If the CSI driver supports both block and filesystem volumes, both block and filesystem volumes will be tested with RWX. RWX mode is not supported for filesystem volumes, which causes various tests to fail.

Engineering has requested an opt out (opt in?) to enable only block RWX tests, leaving filesystem tests RWO only. A lot of CSI drivers can attach a block device to multiple nodes, which is a pre-requisite for CNV/KubeVirt, while they can't mount a single ext4/xfs to multiple nodes.

There is an upstream issue with some discussion: https://github.com/kubernetes/kubernetes/issues/105626

Environment

  • Red Hat Openshift Platform
  • Third-Party CSI drivers

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content