Open
Description
Description
IN 4.19 , metadata tests failing due to pod provisioner pods name has changed , this fix will works for that.
Steps to Reproduce
- Edit the rook-ceph-operator-config ConfigMap and add
CSI_ENABLE_METADATA: "true"
ocs get cm rook-ceph-operator-config -o yaml
apiVersion: v1
data:
CSI_ENABLE_METADATA: "true"
kind: ConfigMap
metadata:
creationTimestamp: "2025-04-30T06:10:39Z"
name: rook-ceph-operator-config
namespace: openshift-storage
resourceVersion: "169757"
uid: 2bef7dc5-dec7-44ca-8fe7-31a6a831ccde
- Restart the
cephfs-nodeplugin / rbd-nodeplugin pods
. - Observe that
--setmetadata=true
is present in container args of above pods.
Actual Behavior
- CSI pods do not include --setmetadata=true
- Metadata injection tests fail
- Behavior deviates from previous releases (< 4.19)
Expected Behavior
When CSI_ENABLE_METADATA=true is set, the CSI nodeplugin pods should include the argument --setmetadata=true, enabling metadata injection into RBD and CephFS volumes.
Impact (likelihood of reproduction, impact on the cluster and on other tests, etc.)
Test Failing : ocs-ci/tests/functional/pv/add_metadata_feature/test_metadata.py
Screenshots (if applicable)
Environment
- Test Suite(s):
- Platform(s):
- Version(s):
- OS: