From 863da4bce179a6b6190cea0a5c183b7b505edd39 Mon Sep 17 00:00:00 2001 From: Andy McCrae Date: Thu, 16 Mar 2017 13:59:37 +0100 Subject: [PATCH] Use the cinderv3 endpoint by default Since cinderv2 is now deprecated, nova should default to use the cinderv3 endpoint. Change-Id: Ifed3e46c695d5eb42565a1d10145c2f3eaea0334 Depends-On: If6b8c1c15464c6bf7d5240a1f17e0e590dcaf7cd Closes-Bug: #1673226 --- .../notes/nova_use_cinder_v3_api-ce5f9c030591c404.yaml | 6 ++++++ templates/nova.conf.j2 | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/nova_use_cinder_v3_api-ce5f9c030591c404.yaml diff --git a/releasenotes/notes/nova_use_cinder_v3_api-ce5f9c030591c404.yaml b/releasenotes/notes/nova_use_cinder_v3_api-ce5f9c030591c404.yaml new file mode 100644 index 00000000..81df89a8 --- /dev/null +++ b/releasenotes/notes/nova_use_cinder_v3_api-ce5f9c030591c404.yaml @@ -0,0 +1,6 @@ +--- +upgrade: + - When upgrading nova the cinder ``catalog_info`` will + change to use the ``cinderv3`` endpoint. Ensure that + you have upgraded cinder so that the ``cinderv3`` + endpoint exists in the keystone catalog. diff --git a/templates/nova.conf.j2 b/templates/nova.conf.j2 index 3cdf9f99..a971627c 100644 --- a/templates/nova.conf.j2 +++ b/templates/nova.conf.j2 @@ -110,7 +110,7 @@ memcache_servers = {{ memcached_servers }} # Cinder [cinder] -catalog_info = volumev2:cinderv2:internalURL +catalog_info = volumev3:cinderv3:internalURL cross_az_attach = {{ nova_cross_az_attach }} os_region_name = {{ nova_service_region }}