Description of problem: In dev-preview-int 3rd iteration, requesting Dynamically Provisioned Storage dose not be disabled when setting dynamicProvisioningEnabled: false Package versions: oc v3.2.0.16 kubernetes v1.2.0-36-g4a3f9c5 docker 1.9.1 (78ee77d) kernel 3.10.0-327.13.1.el7.x86_64 How reproducible: Always Steps to Reproduce: 1. Check master-config.yaml in dev-preview-int [root@dev-preview-int-master-78c04 ~]# cat /etc/origin/master/master-config.yaml volumeConfig: dynamicProvisioningEnabled: false 2. Create a project in dev-preview-int. 3. Create pvc to request dynamically provision [dongm@dhcp-136-41 tmp]$ cat 1.yaml kind: "PersistentVolumeClaim" apiVersion: "v1" metadata: name: "claim2" annotations: volume.alpha.kubernetes.io/storage-class: "foo" spec: accessModes: - "ReadWriteOnce" resources: requests: storage: "5Gi" [dongm@dhcp-136-41 tmp]$ oc create -f 1.yaml persistentvolumeclaim "claim2" created [dongm@dhcp-136-41 tmp]$ oc get pvc NAME STATUS VOLUME CAPACITY ACCESSMODES AGE claim2 Bound pv-aws-w3kpj 5Gi RWO 4s Actual results: Requesting dynamically provisioned storage is successfully Expected results: Requesting dynamically provisioned storage should be disabled as setting in master-config.yaml in dev-preview-int Additional info:
I am taking ownership of this BZ. It's a config issue in Online.
Confirmed the flag is in 3.2.0.16 -- https://github.com/openshift/ose/compare/v3.2.0.16...master
Actually, I'm not sure now. I see the commit in the 3.2.016 link above but I don't see it in my local OSE repo: $ git tag --contains e05671447c08ed6ed20ec59064dea36e94e7f513 v3.2.0.17 v3.2.0.18 v3.2.0.19 v3.2.0.20
I am moving this to ON_QA because it will be fixed in the next version (3.2.0.17).
Verified on openshift v3.2.0.20 When setting dynamicProvisioningEnabled: false,dynamic pv can't be created. Will verify withe next dev-preview-int env later.
Verified against dev-preview-stg(openshift v3.2.0.44)