diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2018-01-11 11:39:02 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-11 11:39:02 -0800 |
commit | fdc5829d6ca252e1574278cd1dc50e932378d98d (patch) | |
tree | 0f80b64e32b59e7c4a2735066aed5f4e363e5a8a /roles/openshift_cloud_provider | |
parent | e347c3ed3cc23cdf3af1077dd4becc572a7dfad9 (diff) | |
parent | 3d943161cedc2fc0d1690e03ece1e2504d4d6d74 (diff) | |
download | openshift-fdc5829d6ca252e1574278cd1dc50e932378d98d.tar.gz openshift-fdc5829d6ca252e1574278cd1dc50e932378d98d.tar.bz2 openshift-fdc5829d6ca252e1574278cd1dc50e932378d98d.tar.xz openshift-fdc5829d6ca252e1574278cd1dc50e932378d98d.zip |
Merge pull request #6607 from tomassedovic/fix-cinder-pv
Automatic merge from submit-queue.
Fix Cinder Persistent Volume support
This documents how to use Cinder-backed persistent volumes with OpenStack.
It needed a change to the dynamic inventory because the "openstack" cloudprovider plugin does actually require internal name resolution -- and the `openshift_hostname` value must match the name of the Nova server.
In addition, we need to be able to specify the V2 of the Cinder API for now as described in: https://github.com/openshift/openshift-docs/issues/5730
Diffstat (limited to 'roles/openshift_cloud_provider')
-rw-r--r-- | roles/openshift_cloud_provider/templates/openstack.conf.j2 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/openshift_cloud_provider/templates/openstack.conf.j2 b/roles/openshift_cloud_provider/templates/openstack.conf.j2 index 313ee02b4..30f18ffa9 100644 --- a/roles/openshift_cloud_provider/templates/openstack.conf.j2 +++ b/roles/openshift_cloud_provider/templates/openstack.conf.j2 @@ -19,3 +19,7 @@ region = {{ openshift_cloudprovider_openstack_region }} [LoadBalancer] subnet-id = {{ openshift_cloudprovider_openstack_lb_subnet_id }} {% endif %} +{% if openshift_cloudprovider_openstack_blockstorage_version is defined %} +[BlockStorage] +bs-version={{ openshift_cloudprovider_openstack_blockstorage_version }} +{% endif %}
\ No newline at end of file |