Description of problem: Request 'oc get volumesnapshotclass' to show deletionPolicy/driver info. Currently, it only show name/age info. Version-Release number of selected component (if applicable): openshift-clients-4.4.0-202002052231.git.1.3433f68.el7.x86_64 How reproducible: Always Steps to Reproduce: 1. oc get volumesnapshotclass Actual results: $ oc get volumesnapshotclass NAME AGE ceph-rbd-snap 20m $ oc get volumesnapshotclass ceph-rbd-snap -o yaml apiVersion: snapshot.storage.k8s.io/v1beta1 deletionPolicy: Delete driver: openshift-storage.rbd.csi.ceph.com kind: VolumeSnapshotClass metadata: creationTimestamp: "2020-02-07T07:15:48Z" generation: 1 name: ceph-rbd-snap resourceVersion: "109436" selfLink: /apis/snapshot.storage.k8s.io/v1beta1/volumesnapshotclasses/ceph-rbd-snap uid: 25b2d701-d8ef-4bce-8bb4-65e238ebeb26 Expected results: VolumeSnapshotClass is quite similar to StorageClass, it is better to show info deletionPolicy/driver Additional info: $ oc get storageclass NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE ocs-storagecluster-ceph-rbd openshift-storage.rbd.csi.ceph.com Delete Immediate false 74m ocs-storagecluster-cephfs openshift-storage.cephfs.csi.ceph.com Delete Immediate false 74m openshift-storage.noobaa.io openshift-storage.noobaa.io/obc Delete Immediate false 68m standard (default) kubernetes.io/gce-pd Delete WaitForFirstConsumer true 4h6m
The printing is defined on the server, the owners of the component are responsible for updating the printers on the server. Moving to storage team to update.
Upstream PR has been submitted at [1]. [1] https://github.com/kubernetes-csi/external-snapshotter/pull/256
Upstream PR has been merged. I've submitted [1] to include this in the operator we ship. [1] https://github.com/openshift/cluster-csi-snapshot-controller-operator/pull/30
Fixed by https://github.com/openshift/cluster-csi-snapshot-controller-operator/pull/30
Cloned https://bugzilla.redhat.com/show_bug.cgi?id=1808337 to 4.4 to track the issues in https://bugzilla.redhat.com/show_bug.cgi?id=1800477, https://bugzilla.redhat.com/show_bug.cgi?id=1800437 and https://bugzilla.redhat.com/show_bug.cgi?id=1800470
Verified pass with following result: [wduan@MINT config]$ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.5.0-0.nightly-2020-03-12-212933 True False 26m Cluster version is 4.5.0-0.nightly-2020-03-12-212933 [wduan@MINT snapshot]$ oc create -f VolumeSnapshotClass.yaml volumesnapshotclass.snapshot.storage.k8s.io/csi-snapclass created [wduan@MINT snapshot]$ oc get volumesnapshotclass NAME DRIVER DELETIONPOLICY AGE csi-snapclass disk.csi.azure.com Delete 16s
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, 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:2409