| Summary: | Volume provision failed when StorageClass has different zone with master even multizone set to true | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Liang Xia <lxia> |
| Component: | Storage | Assignee: | Jan Safranek <jsafrane> |
| Status: | CLOSED WORKSFORME | QA Contact: | Liang Xia <lxia> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 3.4.0 | CC: | aos-bugs |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| 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: | 2016-10-21 08:57:11 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: | |
Tried again today, can not reproduce it(might be caused by some mis-config yesterday). This can be closed as not a bug now. |
Description of problem: A cluster with master in zone1, node in zone2 (in the same region). Volume provision failed when using StorageClass with region set to zone2. The error show: Failed to provision volume with StorageClass "sc1-kjzgt": kubernetes does not manage zone "us-central1-b" Version-Release number of selected component (if applicable): openshift v3.4.0.13 kubernetes v1.4.0+776c994 etcd 3.1.0-alpha.1 How reproducible: Always Steps to Reproduce: 1.Set up cluster with 1 master and 2 nodes, 1 master and 1 node in zone1, the other node in zone2. 2.Config master and all node, and restart the service. # cat /etc/gce/gce.conf [global] multizone=true # vi /etc/origin/master/master-config.yaml apiServerArguments: cloud-provider: - "gce" cloud-config: - "/etc/gce/gce.conf" controllerArguments: cloud-provider: - "gce" cloud-config: - "/etc/gce/gce.conf" # vi /etc/origin/node/node-config.yaml kubeletArguments: cloud-provider: - 'gce' cloud-config: - '/etc/gce/gce.conf' 3.Create StorageClass with region set to zone2. 4.Create PVC with above StorageClass. 5.Check PV/PVC status. Actual results: No PV/volume provisioned. PVC still pending. Expected results: PVC should bound to provisoned PV. Additional info: