Description of problem: Try azure disk dynamic provision with storage class on 3.5 failed Version-Release number of selected component (if applicable): openshift v3.5.0.6+87f6173 kubernetes v1.5.2+43a9be4 How reproducible: Always Steps to Reproduce: 1. Create a storage class oc create -f https://raw.githubusercontent.com/weherdh/v3-testfiles/azsc/persistent-volumes/azure/azsc-LRS.yaml 2. Create a pvc oc create -f https://raw.githubusercontent.com/weherdh/v3-testfiles/azsc/persistent-volumes/azure/azpvc-sc.yaml 3. Check pvc status Actual results: $ oc get storageclass NAME TYPE lrs kubernetes.io/azure-disk $ oc get pvc NAME STATUS VOLUME CAPACITY ACCESSMODES AGE azclaim Pending 11m $ oc describe pvc azclaim Name: azclaim Namespace: wehe StorageClass: lrs Status: Pending Volume: Labels: <none> Capacity: Access Modes: Events: FirstSeen LastSeen Count From SubObjectPath Type Reason Message --------- -------- ----- ---- ------------- -------- ------ ------- 11m 7s 49 {persistentvolume-controller } Warning ProvisioningFailed no volume plugin matched Expected results: There should be a dynamic PV created for this claim Additional info: Master.log: Jan 22 15:47:12 wehe-master atomic-openshift-master: I0122 15:47:12.623765 1063 pv_controller_base.go:579] storeObjectUpdate: adding claim "wehe/azclaim", version 47256 Jan 22 15:47:12 wehe-master atomic-openshift-master: I0122 15:47:12.623797 1063 pv_controller.go:192] synchronizing PersistentVolumeClaim[wehe/azclaim]: phase: Pending, bound to: "", bindCompleted: false, boundByController: false Jan 22 15:47:12 wehe-master atomic-openshift-master: I0122 15:47:12.623808 1063 pv_controller.go:216] synchronizing unbound PersistentVolumeClaim[wehe/azclaim]: no volume found Jan 22 15:47:12 wehe-master atomic-openshift-master: I0122 15:47:12.623814 1063 pv_controller.go:1201] provisionClaim[wehe/azclaim]: started Jan 22 15:47:12 wehe-master atomic-openshift-master: I0122 15:47:12.623826 1063 pv_controller.go:1397] scheduleOperation[provision-wehe/azclaim[fc5e307e-e076-11e6-a4e7-000d3a138657]] Jan 22 15:47:12 wehe-master atomic-openshift-master: I0122 15:47:12.623844 1063 pv_controller.go:1220] provisionClaimOperation [wehe/azclaim] started, class: "lrs" Jan 22 15:47:12 wehe-master atomic-openshift-master: I0122 15:47:12.623902 1063 pv_controller.go:1225] error finding provisioning plugin for claim wehe/azclaim: no volume plugin matched
fix at https://github.com/openshift/origin/pull/12756
This has been merged into ocp and is in OCP v3.5.0.16 or newer.
Tested on below version: openshift v3.5.0.16+a26133a kubernetes v1.5.2+43a9be4 [wehe@dhcp-136-45 octest]$ oc get pvc NAME STATUS VOLUME CAPACITY ACCESSMODES AGE azpvc Bound pvc-e4ab8255-ea83-11e6-93d7-000d3a17665e 1Gi RWO 5s This bug is fixed, thanks.
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-2017:0884