Description of problem: Like other IAAS, in Azure cloud provider env, we also need a default storage class for every product Version-Release number of the following components: rpm -q openshift-ansible openshift-ansible-3.9.0-0.22.0.git.0.0e9d896.el7.noarch How reproducible: Always Steps to Reproduce: 1. Install cloud provider env on Azure 2. 3. Actual results: There is no default storage class Expected results: There should be a default storage class with azure-disk $ cat sc.yaml kind: StorageClass apiVersion: storage.k8s.io/v1 metadata: name: azddef annotations: storageclass.beta.kubernetes.io/is-default-class: "true" provisioner: kubernetes.io/azure-disk parameters: kind: Shared Additional info:
I have submitted a fix upstream for the installer [1]. The specific commits pertaining to this issue are [2, 3]. In addition to this, a fix to openshift_facts [4] was also required. [1] https://github.com/openshift/openshift-ansible/pull/7745 [2] https://github.com/openshift/openshift-ansible/pull/7745/commits/ab903a71654a6968f6a35e9933b3f4dd636c3786 [3] https://github.com/openshift/openshift-ansible/pull/7745/commits/047edd065d9dd8caff4f6e3bfb13bc7c832644fc [4] https://github.com/openshift/openshift-ansible/pull/7745/commits/c27dbd023803e6a2945815750278fb05697c69a6
Moving to ON_QA based on the community work contributed in comment 4, thanks! In openshift-ansible-3.10.0-0.22.0 and later.
Tested on below version: openshift v3.10.0-0.32.0 kubernetes v1.10.0+b81c8f8 Now Azure has default storage class of azure disk. # oc get sc NAME PROVISIONER AGE azure-standard (default) kubernetes.io/azure-disk 4h Tried to create a pvc, it works # oc get pvc NAME STATUS VOLUME CAPACITY ACCESS MODES STORAGECLASS AGE azpvc Bound pvc-b245bb71-4ea4-11e8-b97c-000d3a1acd47 1Gi RWO azure-standard 1m
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-2018:1816