Hide Forgot
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:
Tried again today, can not reproduce it(might be caused by some mis-config yesterday). This can be closed as not a bug now.