Kubernetes Submit Queue
|
712ccf3fa4
|
Merge pull request #44082 from zetaab/fixzone2
Automatic merge from submit-queue
use availability_zone instead of availability (update godep for gophercloud)
**What this PR does / why we need it**: there is typo in json variable name
**Which issue this PR fixes**: fixes #44032
**Special notes for your reviewer**:our openstack environment region name is not nova, so I tested this and it works now
All cinder blockstorages are using variable name availability_zone instead of availability. Docs:
v3:
https://developer.openstack.org/api-ref/block-storage/v3/index.html?expanded=create-a-volume-detail#create-a-volume
v2:
https://developer.openstack.org/api-ref/block-storage/v2/index.html?expanded=create-volume-detail#create-volume
I could not find v1 documentation anymore from openstack pages. However, https://developer.rackspace.com/docs/cloud-block-storage/v1/api-reference/cbs-volumes-operations/#create-a-volume documentation says also availability_zone is the correct one.
Like mentioned in https://github.com/kubernetes/kubernetes/issues/44032#issuecomment-291488494 openstack CLI is using availability_zone
|
2017-04-19 03:26:25 -07:00 |