We would like to add storage capabilities report following the CSI certification tests, as discussed in the attached github PR. E.g.: $ podman run -v `pwd`:/data:z --rm -it $CONTAINER sh -c "KUBECONFIG=/data/kubeconfig.yaml TEST_CSI_DRIVER_FILES=/data/manifest.yaml /usr/bin/openshift-tests run openshift/csi --junit-dir /data/results" openshift-tests version: v4.1.0-3107-g627d022 … Writing JUnit report to /data/results/junit_e2e_20200907-091404.xml 32 pass, 146 skip (4m35s) Storage Capabilities (guaranteed only on full CSI test suite with 0 fails) ========================================================================== Driver short name: ceph-test Driver name: test.rbd.csi.ceph.com Storage class: ceph-rbd-sc.yaml Raw block VM disks supported: true Live migration supported: false VM snapshots supported: false Storage-assisted cloning supported: false
Test with latest OCP4.6 test image Version: 4.6.0-0.nightly-2020-09-21-030155 Writing JUnit report to /data/results/junit_e2e_20200921-083944.xml 43 pass, 135 skip (4m57s) Storage Capabilities (guaranteed only on full CSI test suite with 0 fails) ========================================================================== Driver short name: ceph-test Driver name: openshift-storage.rbd.csi.ceph.com Storage class: ceph-rbd-sc.yaml Raw block VM disks supported: true Live migration supported: false VM snapshots supported: true Storage-assisted cloning supported: true
when set FromFile in manifest.yaml ``` SnapshotClass: # Must be set to enable snapshotting tests FromFile: /data/snapshotclass.yaml ... # Support populate data from snapshot snapshotDataSource: true ``` The Storage report shows false for VM snapshot supported and Storage-assisted cloning supported Storage Capabilities (guaranteed only on full CSI test suite with 0 fails) ========================================================================== Driver short name: ceph-test Driver name: openshift-storage.rbd.csi.ceph.com Storage class: ceph-rbd-sc.yaml Raw block VM disks supported: true Live migration supported: false VM snapshots supported: false Storage-assisted cloning supported: false Discussed with Arnon, the storage report need a minor change, move back to Assigned
@yadu I'll fix it once I get a clarification from Fábio Bertinatto
The new output is wrong. It mixes CSI features and CNV features. Please distinguish them clearly. Expected result:  Driver short name: ceph-test Driver name: openshift-storage.rbd.csi.ceph.com Storage class: ceph-rbd-sc.yaml Supported CSI features: Raw block: true Snapshots: true Cloning: true Resize: false ... Supported CNV features: Raw block VM disks: true Live migration: false VM snapshots: false Storage-assisted cloning: false ...
@jsafrane, good idea, thanks!
*** Bug 1879903 has been marked as a duplicate of this bug. ***
Test on latest OCP4.6 test image, issue have been fixed. Storage Capabilities (guaranteed only on full CSI test suite with 0 fails) ========================================================================== Driver short name: ceph-test Driver name: openshift-storage.rbd.csi.ceph.com Storage class: ceph-rbd-sc.yaml Supported OpenShift / CSI features: Persistent volumes: true Raw block mode: true FSGroup: false Executable files on a volume: true Volume snapshots: true Volume cloning: false Use volume from multiple pods on a node: false ReadWriteMany access mode: true Volume expansion for controller: false Volume expansion for node: false Volume limits: false Volume can run on single node: false Topology: false Supported CNV features: Raw block VM disks: true Live migration: true VM snapshots: true Storage-assisted cloning: true
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (OpenShift Container Platform 4.6 GA Images), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:4196