Disable Cinder v2 API

Cinder v2 API has been deprecated in Pike and it make sense to
disable it's creation by default. Doing this we also will drop catalog
records and service during upgrade

Change-Id: I11986bfe6d2af5e671b7008a71a58538d0576336
This commit is contained in:
Dmitriy Rabotyagov 2021-05-28 11:22:02 +03:00
parent 9e6ba16bc9
commit 71eb6c4c10
2 changed files with 8 additions and 1 deletions

View File

@ -128,7 +128,7 @@ cinder_service_admin_tenant_name: "service"
cinder_service_admin_username: "cinder"
## Cinder API's enabled
cinder_enable_v2_api: true
cinder_enable_v2_api: false
## Cinder api service type and data
cinder_service_name: cinder

View File

@ -0,0 +1,7 @@
---
upgrade:
- |
Variable ``cinder_enable_v2_api`` is set to ``False`` by default. This will
result in Cinder v2 API removal from keystone catalog during upgrade.
If you want to preserve v2 API you must override ``cinder_enable_v2_api``
in user_variables.yml