Bug 1390826
Summary: | PVC failed to bind while using storage class | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Wenqi He <wehe> |
Component: | Management Console | Assignee: | Zac Herman <zherman> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Yadan Pei <yapei> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 3.4.0 | CC: | aos-bugs, eboyd, jforrest, jokerman, mmccomas, tdawson |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Binding via storage classes was originally done using the alpha level of services and that value was hard coded. The test case used the beta level to set a default storage class.
This caused a conflict when trying to bind the storage classes that resulted in an error and a failure to assign the storage class properly.
The fix was to bring everything up to the same service level which remains storageclass.beta.kubernetes.io.
Result:
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2017-01-13 16:17:24 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
Wenqi He
2016-11-02 03:14:21 UTC
GCE is just an example, this could happen on all storageclass provision. Erin/Zac can you guys determine whether this is an issue with the changes to the create PVC page or if this needs to be transferred to another team? I have a fix, but I want to do a little more testing. PR #822 has been opened to fix these issues Commit pushed to master at https://github.com/openshift/origin-web-console https://github.com/openshift/origin-web-console/commit/a6e3bf3a68da0b710b97d6312752faf5e7267fe2 Merge pull request #822 from zherman0/bug1390826 Merged by openshift-bot This has been merged into ose and is in OSE v3.4.0.23 or newer. Test failed on below version: openshift v3.4.0.23+24b1a58 kubernetes v1.4.0+776c994 $ oc describe pvc FirstSeen LastSeen Count From SubobjectPath Type Reason Message --------- -------- ----- ---- ------------- -------- ------ ------- 12m 5s 49 {persistentvolume-controller } Warning ProvisioningFailed Failed to provision volume with StorageClass "fast": claim.Spec.Selector is not supported for dynamic provisioning on AWS Still a "selector: {}" part to make this fail $ oc get pvc weheui -o yaml apiVersion: v1 kind: PersistentVolumeClaim metadata: annotations: volume.beta.kubernetes.io/storage-class: fast creationTimestamp: 2016-11-08T07:28:22Z name: weheui namespace: wehe resourceVersion: "8366" selfLink: /api/v1/namespaces/wehe/persistentvolumeclaims/weheui uid: ed8d165f-a584-11e6-8cf0-0e3d9543087e spec: accessModes: - ReadWriteOnce resources: requests: storage: 1Gi selector: {} status: phase: Pending Hope this will be fixed in newer version. PR #854 has been submitted. I could not completely test dynamic provisioning but I did completely remove the extra spec selector object so hopefully that fixes the test case. QE - Please retest. Thank you. Erin, Zac's latest PR is not merged yet, its pending him fixing some review feedback. Moving this back to assigned. Commit pushed to master at https://github.com/openshift/origin-web-console https://github.com/openshift/origin-web-console/commit/44484b3fa93991a6b9d5f4121eda94600ef55628 Merge pull request #854 from zherman0/bug1390826 Merged by openshift-bot This has been merged into ocp and is in OCP v3.4.0.26 or newer. I have verified this on below version: openshift v3.4.0.26+f7e109e kubernetes v1.4.0+776c994 This issue is fixed, Thanks |