Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1741419

Summary: Default storage class on OpenStack is using beta annotation is-default-class while aws/azure/gcp/vsphere is using stable version
Product: OpenShift Container Platform Reporter: Liang Xia <lxia>
Component: StorageAssignee: Jan Safranek <jsafrane>
Status: CLOSED ERRATA QA Contact: Chao Yang <chaoyang>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.2.0CC: aos-bugs, aos-storage-staff, chaoyang, jsafrane
Target Milestone: ---   
Target Release: 4.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-10-16 06:35:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Liang Xia 2019-08-15 04:53:52 UTC
Description of problem:
After installation OCP 4.2 cluster on OpenStack, check the default storage class. It is using 'storageclass.beta.kubernetes.io/is-default-class: "true"'. While on aws/azure/gcp/vsphere, it is using 'storageclass.kubernetes.io/is-default-class: "true"'

Version-Release number of selected component (if applicable):
4.2.0-0.nightly-2019-08-13-183722

How reproducible:
Always

Steps to Reproduce:
1.Check default storage class on OpenStack and other platforms.
2.

Actual results:
On OpenStack, It is using 'storageclass.beta.kubernetes.io/is-default-class: "true"'.
On aws/azure/gcp/vsphere, it is using 'storageclass.kubernetes.io/is-default-class: "true"'.

Expected results:
All should use 'storageclass.kubernetes.io/is-default-class: "true"'.


Additional info:
https://github.com/openshift/cluster-storage-operator/blob/master/assets/openstack.yaml

Comment 1 Jan Safranek 2019-08-15 07:50:43 UTC
Good catch!

Comment 3 Chao Yang 2019-08-16 09:41:53 UTC
It is passed on 4.2.0-0.nightly-2019-08-15-232721
oc get sc standard -o yaml
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  annotations:
    storageclass.kubernetes.io/is-default-class: "true"
  creationTimestamp: "2019-08-16T07:04:51Z"
  name: standard
  ownerReferences:
  - apiVersion: v1
    kind: clusteroperator
    name: storage
    uid: 086eb611-bff3-11e9-99c9-fa163e064540
  resourceVersion: "9724"
  selfLink: /apis/storage.k8s.io/v1/storageclasses/standard
  uid: 24270a77-bff4-11e9-8abc-fa163e1e8b2b
provisioner: kubernetes.io/cinder
reclaimPolicy: Delete
volumeBindingMode: WaitForFirstConsumer

Comment 4 errata-xmlrpc 2019-10-16 06:35:55 UTC
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-2019:2922