2015-08-04 07:39:22 +00:00
|
|
|
---
|
2017-01-19 12:42:27 +08:00
|
|
|
cinder_services:
|
|
|
|
cinder-api:
|
|
|
|
container_name: cinder_api
|
|
|
|
group: cinder-api
|
|
|
|
enabled: true
|
|
|
|
image: "{{ cinder_api_image_full }}"
|
2019-04-09 16:55:20 +08:00
|
|
|
volumes: "{{ cinder_api_default_volumes + cinder_api_extra_volumes }}"
|
2018-07-13 19:17:53 +05:30
|
|
|
dimensions: "{{ cinder_api_dimensions }}"
|
2020-12-01 15:21:29 +08:00
|
|
|
healthcheck: "{{ cinder_api_healthcheck }}"
|
2018-06-19 00:43:35 -05:00
|
|
|
haproxy:
|
|
|
|
cinder_api:
|
|
|
|
enabled: "{{ enable_cinder }}"
|
|
|
|
mode: "http"
|
|
|
|
external: false
|
|
|
|
port: "{{ cinder_api_port }}"
|
2018-12-27 13:56:51 -05:00
|
|
|
listen_port: "{{ cinder_api_listen_port }}"
|
2020-02-25 13:35:51 +08:00
|
|
|
tls_backend: "{{ cinder_enable_tls_backend }}"
|
2018-06-19 00:43:35 -05:00
|
|
|
cinder_api_external:
|
|
|
|
enabled: "{{ enable_cinder }}"
|
|
|
|
mode: "http"
|
|
|
|
external: true
|
|
|
|
port: "{{ cinder_api_port }}"
|
2018-12-27 13:56:51 -05:00
|
|
|
listen_port: "{{ cinder_api_listen_port }}"
|
2020-02-25 13:35:51 +08:00
|
|
|
tls_backend: "{{ cinder_enable_tls_backend }}"
|
2017-01-19 12:42:27 +08:00
|
|
|
cinder-scheduler:
|
|
|
|
container_name: cinder_scheduler
|
|
|
|
group: cinder-scheduler
|
|
|
|
enabled: true
|
|
|
|
image: "{{ cinder_scheduler_image_full }}"
|
2019-04-09 16:55:20 +08:00
|
|
|
volumes: "{{ cinder_scheduler_default_volumes + cinder_scheduler_extra_volumes }}"
|
2018-07-13 19:17:53 +05:30
|
|
|
dimensions: "{{ cinder_scheduler_dimensions }}"
|
2020-12-01 15:21:29 +08:00
|
|
|
healthcheck: "{{ cinder_scheduler_healthcheck }}"
|
2017-01-19 12:42:27 +08:00
|
|
|
cinder-volume:
|
|
|
|
container_name: cinder_volume
|
|
|
|
group: cinder-volume
|
|
|
|
enabled: true
|
|
|
|
image: "{{ cinder_volume_image_full }}"
|
2017-01-31 13:02:21 -03:00
|
|
|
privileged: True
|
|
|
|
ipc_mode: "host"
|
2020-09-25 10:05:59 +00:00
|
|
|
tmpfs: "{{ cinder_volume_tmpfs }}"
|
2019-04-09 16:55:20 +08:00
|
|
|
volumes: "{{ cinder_volume_default_volumes + cinder_volume_extra_volumes }}"
|
2018-07-13 19:17:53 +05:30
|
|
|
dimensions: "{{ cinder_volume_dimensions }}"
|
2020-12-01 15:21:29 +08:00
|
|
|
healthcheck: "{{ cinder_volume_healthcheck }}"
|
2017-01-19 12:42:27 +08:00
|
|
|
cinder-backup:
|
|
|
|
container_name: cinder_backup
|
|
|
|
group: cinder-backup
|
2017-05-15 14:51:56 +03:00
|
|
|
enabled: "{{ enable_cinder_backup | bool }}"
|
2017-01-19 12:42:27 +08:00
|
|
|
image: "{{ cinder_backup_image_full }}"
|
2017-01-31 13:02:21 -03:00
|
|
|
privileged: True
|
2019-04-09 16:55:20 +08:00
|
|
|
volumes: "{{ cinder_backup_default_volumes + cinder_backup_extra_volumes }}"
|
2018-07-13 19:17:53 +05:30
|
|
|
dimensions: "{{ cinder_backup_dimensions }}"
|
2020-12-01 15:21:29 +08:00
|
|
|
healthcheck: "{{ cinder_backup_healthcheck }}"
|
2017-01-19 12:42:27 +08:00
|
|
|
|
2022-11-15 13:46:53 +00:00
|
|
|
####################
|
|
|
|
# Config Validate
|
|
|
|
####################
|
|
|
|
cinder_config_validation:
|
|
|
|
- generator: "/cinder/tools/config/cinder-config-generator.conf"
|
|
|
|
config: "/etc/cinder/cinder.conf"
|
|
|
|
|
2015-08-04 07:39:22 +00:00
|
|
|
####################
|
|
|
|
# Database
|
|
|
|
####################
|
|
|
|
cinder_database_name: "cinder"
|
2018-01-14 20:16:43 +02:00
|
|
|
cinder_database_user: "{% if use_preconfigured_databases | bool and use_common_mariadb_user | bool %}{{ database_user }}{% else %}cinder{% endif %}"
|
2019-09-11 20:47:00 +02:00
|
|
|
cinder_database_address: "{{ database_address | put_address_in_context('url') }}:{{ database_port }}"
|
2015-08-04 07:39:22 +00:00
|
|
|
|
2021-01-10 19:51:55 +00:00
|
|
|
####################
|
|
|
|
# Database sharding
|
|
|
|
####################
|
|
|
|
cinder_database_shard_root_user: "{% if enable_proxysql | bool %}root_shard_{{ cinder_database_shard_id }}{% else %}{{ database_user }}{% endif %}"
|
|
|
|
cinder_database_shard_id: "{{ mariadb_default_database_shard_id | int }}"
|
|
|
|
cinder_database_shard:
|
|
|
|
users:
|
|
|
|
- user: "{{ cinder_database_user }}"
|
|
|
|
password: "{{ cinder_database_password }}"
|
|
|
|
rules:
|
|
|
|
- schema: "{{ cinder_database_name }}"
|
|
|
|
shard_id: "{{ cinder_database_shard_id }}"
|
|
|
|
|
|
|
|
|
2015-08-04 07:39:22 +00:00
|
|
|
####################
|
|
|
|
# Docker
|
|
|
|
####################
|
2020-01-09 17:03:28 +00:00
|
|
|
cinder_tag: "{{ openstack_tag }}"
|
2017-05-22 17:24:45 +07:00
|
|
|
|
2022-05-20 15:15:40 +02:00
|
|
|
cinder_volume_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/cinder-volume"
|
2017-05-22 17:24:45 +07:00
|
|
|
cinder_volume_tag: "{{ cinder_tag }}"
|
2015-08-04 07:39:22 +00:00
|
|
|
cinder_volume_image_full: "{{ cinder_volume_image }}:{{ cinder_volume_tag }}"
|
|
|
|
|
2022-05-20 15:15:40 +02:00
|
|
|
cinder_scheduler_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/cinder-scheduler"
|
2017-05-22 17:24:45 +07:00
|
|
|
cinder_scheduler_tag: "{{ cinder_tag }}"
|
2015-08-04 07:39:22 +00:00
|
|
|
cinder_scheduler_image_full: "{{ cinder_scheduler_image }}:{{ cinder_scheduler_tag }}"
|
|
|
|
|
2022-05-20 15:15:40 +02:00
|
|
|
cinder_backup_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/cinder-backup"
|
2017-05-22 17:24:45 +07:00
|
|
|
cinder_backup_tag: "{{ cinder_tag }}"
|
2015-08-04 07:39:22 +00:00
|
|
|
cinder_backup_image_full: "{{ cinder_backup_image }}:{{ cinder_backup_tag }}"
|
|
|
|
|
2022-05-20 15:15:40 +02:00
|
|
|
cinder_api_image: "{{ docker_registry ~ '/' if docker_registry else '' }}{{ docker_namespace }}/cinder-api"
|
2017-05-22 17:24:45 +07:00
|
|
|
cinder_api_tag: "{{ cinder_tag }}"
|
2015-08-04 07:39:22 +00:00
|
|
|
cinder_api_image_full: "{{ cinder_api_image }}:{{ cinder_api_tag }}"
|
|
|
|
|
2018-07-13 19:17:53 +05:30
|
|
|
cinder_api_dimensions: "{{ default_container_dimensions }}"
|
|
|
|
cinder_backup_dimensions: "{{ default_container_dimensions }}"
|
|
|
|
cinder_scheduler_dimensions: "{{ default_container_dimensions }}"
|
|
|
|
cinder_volume_dimensions: "{{ default_container_dimensions }}"
|
2015-08-04 07:39:22 +00:00
|
|
|
|
2020-12-01 15:21:29 +08:00
|
|
|
cinder_api_enable_healthchecks: "{{ enable_container_healthchecks }}"
|
|
|
|
cinder_api_healthcheck_interval: "{{ default_container_healthcheck_interval }}"
|
|
|
|
cinder_api_healthcheck_retries: "{{ default_container_healthcheck_retries }}"
|
|
|
|
cinder_api_healthcheck_start_period: "{{ default_container_healthcheck_start_period }}"
|
2022-09-21 09:09:32 +00:00
|
|
|
cinder_api_healthcheck_test: ["CMD-SHELL", "healthcheck_curl {{ 'https' if cinder_enable_tls_backend | bool else 'http' }}://{{ api_interface_address | put_address_in_context('url') }}:{{ cinder_api_listen_port }}"]
|
2020-12-01 15:21:29 +08:00
|
|
|
cinder_api_healthcheck_timeout: "{{ default_container_healthcheck_timeout }}"
|
|
|
|
cinder_api_healthcheck:
|
|
|
|
interval: "{{ cinder_api_healthcheck_interval }}"
|
|
|
|
retries: "{{ cinder_api_healthcheck_retries }}"
|
|
|
|
start_period: "{{ cinder_api_healthcheck_start_period }}"
|
|
|
|
test: "{% if cinder_api_enable_healthchecks | bool %}{{ cinder_api_healthcheck_test }}{% else %}NONE{% endif %}"
|
|
|
|
timeout: "{{ cinder_api_healthcheck_timeout }}"
|
|
|
|
|
|
|
|
cinder_scheduler_enable_healthchecks: "{{ enable_container_healthchecks }}"
|
|
|
|
cinder_scheduler_healthcheck_interval: "{{ default_container_healthcheck_interval }}"
|
|
|
|
cinder_scheduler_healthcheck_retries: "{{ default_container_healthcheck_retries }}"
|
|
|
|
cinder_scheduler_healthcheck_start_period: "{{ default_container_healthcheck_start_period }}"
|
|
|
|
cinder_scheduler_healthcheck_test: ["CMD-SHELL", "healthcheck_port cinder-scheduler {{ om_rpc_port }}"]
|
|
|
|
cinder_scheduler_healthcheck_timeout: "{{ default_container_healthcheck_timeout }}"
|
|
|
|
cinder_scheduler_healthcheck:
|
|
|
|
interval: "{{ cinder_scheduler_healthcheck_interval }}"
|
|
|
|
retries: "{{ cinder_scheduler_healthcheck_retries }}"
|
|
|
|
start_period: "{{ cinder_scheduler_healthcheck_start_period }}"
|
|
|
|
test: "{% if cinder_scheduler_enable_healthchecks | bool %}{{ cinder_scheduler_healthcheck_test }}{% else %}NONE{% endif %}"
|
|
|
|
timeout: "{{ cinder_scheduler_healthcheck_timeout }}"
|
|
|
|
|
|
|
|
cinder_volume_enable_healthchecks: "{{ enable_container_healthchecks }}"
|
|
|
|
cinder_volume_healthcheck_interval: "{{ default_container_healthcheck_interval }}"
|
|
|
|
cinder_volume_healthcheck_retries: "{{ default_container_healthcheck_retries }}"
|
|
|
|
cinder_volume_healthcheck_start_period: "{{ default_container_healthcheck_start_period }}"
|
|
|
|
cinder_volume_healthcheck_test: ["CMD-SHELL", "healthcheck_port cinder-volume {{ om_rpc_port }}"]
|
|
|
|
cinder_volume_healthcheck_timeout: "{{ default_container_healthcheck_timeout }}"
|
|
|
|
cinder_volume_healthcheck:
|
|
|
|
interval: "{{ cinder_volume_healthcheck_interval }}"
|
|
|
|
retries: "{{ cinder_volume_healthcheck_retries }}"
|
|
|
|
start_period: "{{ cinder_volume_healthcheck_start_period }}"
|
|
|
|
test: "{% if cinder_volume_enable_healthchecks | bool %}{{ cinder_volume_healthcheck_test }}{% else %}NONE{% endif %}"
|
|
|
|
timeout: "{{ cinder_volume_healthcheck_timeout }}"
|
|
|
|
|
|
|
|
cinder_backup_enable_healthchecks: "{{ enable_container_healthchecks }}"
|
|
|
|
cinder_backup_healthcheck_interval: "{{ default_container_healthcheck_interval }}"
|
|
|
|
cinder_backup_healthcheck_retries: "{{ default_container_healthcheck_retries }}"
|
|
|
|
cinder_backup_healthcheck_start_period: "{{ default_container_healthcheck_start_period }}"
|
|
|
|
cinder_backup_healthcheck_test: ["CMD-SHELL", "healthcheck_port cinder-backup {{ om_rpc_port }}"]
|
|
|
|
cinder_backup_healthcheck_timeout: "{{ default_container_healthcheck_timeout }}"
|
|
|
|
cinder_backup_healthcheck:
|
|
|
|
interval: "{{ cinder_backup_healthcheck_interval }}"
|
|
|
|
retries: "{{ cinder_backup_healthcheck_retries }}"
|
|
|
|
start_period: "{{ cinder_backup_healthcheck_start_period }}"
|
|
|
|
test: "{% if cinder_backup_enable_healthchecks | bool %}{{ cinder_backup_healthcheck_test }}{% else %}NONE{% endif %}"
|
|
|
|
timeout: "{{ cinder_backup_healthcheck_timeout }}"
|
|
|
|
|
2019-04-09 16:55:20 +08:00
|
|
|
cinder_api_default_volumes:
|
|
|
|
- "{{ node_config_directory }}/cinder-api/:{{ container_config_directory }}/:ro"
|
|
|
|
- "/etc/localtime:/etc/localtime:ro"
|
2021-05-13 12:21:11 +01:00
|
|
|
- "{{ '/etc/timezone:/etc/timezone:ro' if ansible_facts.os_family == 'Debian' else '' }}"
|
2019-04-09 16:55:20 +08:00
|
|
|
- "kolla_logs:/var/log/kolla/"
|
2020-01-30 14:00:34 +00:00
|
|
|
- "{{ kolla_dev_repos_directory ~ '/cinder/cinder:/var/lib/kolla/venv/lib/python' ~ distro_python_version ~ '/site-packages/cinder' if cinder_dev_mode | bool else '' }}"
|
2019-04-09 16:55:20 +08:00
|
|
|
cinder_backup_default_volumes:
|
|
|
|
- "{{ node_config_directory }}/cinder-backup/:{{ container_config_directory }}/:ro"
|
|
|
|
- "/etc/localtime:/etc/localtime:ro"
|
2021-05-13 12:21:11 +01:00
|
|
|
- "{{ '/etc/timezone:/etc/timezone:ro' if ansible_facts.os_family == 'Debian' else '' }}"
|
2019-04-09 16:55:20 +08:00
|
|
|
- "/dev/:/dev/"
|
2020-02-14 08:49:55 +01:00
|
|
|
- "/lib/modules:/lib/modules:ro"
|
2019-04-09 16:55:20 +08:00
|
|
|
- "/run/:/run/:shared"
|
|
|
|
- "cinder:/var/lib/cinder"
|
|
|
|
- "{% if enable_iscsid | bool %}iscsi_info:/etc/iscsi{% endif %}"
|
|
|
|
- "kolla_logs:/var/log/kolla/"
|
2020-01-30 14:00:34 +00:00
|
|
|
- "{{ kolla_dev_repos_directory ~ '/cinder/cinder:/var/lib/kolla/venv/lib/python' ~ distro_python_version ~ '/site-packages/cinder' if cinder_dev_mode | bool else '' }}"
|
2019-04-09 16:55:20 +08:00
|
|
|
cinder_scheduler_default_volumes:
|
|
|
|
- "{{ node_config_directory }}/cinder-scheduler/:{{ container_config_directory }}/:ro"
|
|
|
|
- "/etc/localtime:/etc/localtime:ro"
|
2021-05-13 12:21:11 +01:00
|
|
|
- "{{ '/etc/timezone:/etc/timezone:ro' if ansible_facts.os_family == 'Debian' else '' }}"
|
2019-04-09 16:55:20 +08:00
|
|
|
- "kolla_logs:/var/log/kolla/"
|
2020-01-30 14:00:34 +00:00
|
|
|
- "{{ kolla_dev_repos_directory ~ '/cinder/cinder:/var/lib/kolla/venv/lib/python' ~ distro_python_version ~ '/site-packages/cinder' if cinder_dev_mode | bool else '' }}"
|
2019-04-09 16:55:20 +08:00
|
|
|
cinder_volume_default_volumes:
|
|
|
|
- "{{ node_config_directory }}/cinder-volume/:{{ container_config_directory }}/:ro"
|
|
|
|
- "/etc/localtime:/etc/localtime:ro"
|
2021-05-13 12:21:11 +01:00
|
|
|
- "{{ '/etc/timezone:/etc/timezone:ro' if ansible_facts.os_family == 'Debian' else '' }}"
|
2019-04-09 16:55:20 +08:00
|
|
|
- "/dev/:/dev/"
|
|
|
|
- "/lib/modules:/lib/modules:ro"
|
|
|
|
- "/run/:/run/:shared"
|
|
|
|
- "cinder:/var/lib/cinder"
|
|
|
|
- "{% if enable_iscsid | bool %}iscsi_info:/etc/iscsi{% endif %}"
|
|
|
|
- "{% if enable_cinder_backend_lvm | bool and cinder_target_helper == 'lioadm' %}target_config:/etc/target{% endif %}"
|
|
|
|
- "kolla_logs:/var/log/kolla/"
|
2020-01-30 14:00:34 +00:00
|
|
|
- "{{ kolla_dev_repos_directory ~ '/cinder/cinder:/var/lib/kolla/venv/lib/python' ~ distro_python_version ~ '/site-packages/cinder' if cinder_dev_mode | bool else '' }}"
|
2019-04-09 16:55:20 +08:00
|
|
|
|
|
|
|
cinder_extra_volumes: "{{ default_extra_volumes }}"
|
|
|
|
cinder_api_extra_volumes: "{{ cinder_extra_volumes }}"
|
|
|
|
cinder_backup_extra_volumes: "{{ cinder_extra_volumes }}"
|
|
|
|
cinder_scheduler_extra_volumes: "{{ cinder_extra_volumes }}"
|
|
|
|
cinder_volume_extra_volumes: "{{ cinder_extra_volumes }}"
|
|
|
|
|
2020-09-25 10:05:59 +00:00
|
|
|
cinder_volume_tmpfs:
|
|
|
|
- "{% if cinder_enable_conversion_tmpfs | bool %}/var/lib/cinder/conversion{% endif %}"
|
|
|
|
|
|
|
|
# If true, use a tmpfs mount for the Cinder image conversion directory.
|
|
|
|
cinder_enable_conversion_tmpfs: false
|
|
|
|
|
2015-08-04 07:39:22 +00:00
|
|
|
####################
|
2016-02-04 19:11:05 +05:30
|
|
|
# OpenStack
|
2015-08-04 07:39:22 +00:00
|
|
|
####################
|
Standardize use and construction of endpoint URLs
The goal for this push request is to normalize the construction and use
of internal, external, and admin URLs. While extending Kolla-ansible
to enable a more flexible method to manage external URLs, we noticed
that the same URL was constructed multiple times in different parts
of the code. This can make it difficult for people that want to work
with these URLs and create inconsistencies in a large code base with
time. Therefore, we are proposing here the use of
"single Kolla-ansible variable" per endpoint URL, which facilitates
for people that are interested in overriding/extending these URLs.
As an example, we extended Kolla-ansible to facilitate the "override"
of public (external) URLs with the following standard
"<component/serviceName>.<companyBaseUrl>".
Therefore, the "NAT/redirect" in the SSL termination system (HAproxy,
HTTPD or some other) is done via the service name, and not by the port.
This allows operators to easily and automatically create more friendly
URL names. To develop this feature, we first applied this patch that
we are sending now to the community. We did that to reduce the surface
of changes in Kolla-ansible.
Another example is the integration of Kolla-ansible and Consul, which
we also implemented internally, and also requires URLs changes.
Therefore, this PR is essential to reduce code duplicity, and to
facility users/developers to work/customize the services URLs.
Change-Id: I73d483e01476e779a5155b2e18dd5ea25f514e93
Signed-off-by: Rafael Weingärtner <rafael@apache.org>
2020-06-16 16:03:31 -03:00
|
|
|
cinder_internal_base_endpoint: "{{ internal_protocol }}://{{ cinder_internal_fqdn | put_address_in_context('url') }}:{{ cinder_api_port }}"
|
|
|
|
cinder_public_base_endpoint: "{{ public_protocol }}://{{ cinder_external_fqdn | put_address_in_context('url') }}:{{ cinder_api_port }}"
|
|
|
|
|
|
|
|
cinder_v3_internal_endpoint: "{{ cinder_internal_base_endpoint }}/v3/%(tenant_id)s"
|
|
|
|
cinder_v3_public_endpoint: "{{ cinder_public_base_endpoint }}/v3/%(tenant_id)s"
|
2015-08-04 07:39:22 +00:00
|
|
|
|
|
|
|
cinder_logging_debug: "{{ openstack_logging_debug }}"
|
|
|
|
|
2016-12-30 15:57:07 +08:00
|
|
|
openstack_cinder_auth: "{{ openstack_auth }}"
|
2016-07-23 22:48:54 +08:00
|
|
|
|
2021-12-15 16:07:50 +00:00
|
|
|
# After upgrading cinder, services will have an RPC version cap in place. We
|
|
|
|
# need to restart all services in order to allow them to use the latest RPC
|
|
|
|
# version. Ideally, there would be a way to check whether all cinder services
|
|
|
|
# are using the latest version, but currently there is not. Instead, wait a
|
|
|
|
# short time for all cinder services to update the version of their service in
|
|
|
|
# the database. This seems to take around 10 seconds, but the default is 30 to
|
|
|
|
# allow room for slowness.
|
|
|
|
cinder_rpc_version_startup_delay: 30
|
|
|
|
|
2021-10-08 15:43:02 +02:00
|
|
|
cinder_api_workers: "{{ openstack_service_workers }}"
|
2016-07-23 22:48:54 +08:00
|
|
|
|
|
|
|
####################
|
|
|
|
# Cinder
|
|
|
|
####################
|
|
|
|
cinder_backends:
|
2022-08-12 17:42:59 +01:00
|
|
|
- name: "{{ cinder_backend_ceph_name }}"
|
2019-12-10 18:13:30 +01:00
|
|
|
enabled: "{{ cinder_backend_ceph | bool }}"
|
2022-08-12 17:42:59 +01:00
|
|
|
- name: "{{ cinder_backend_lvm_name }}"
|
2016-07-23 22:48:54 +08:00
|
|
|
enabled: "{{ enable_cinder_backend_lvm | bool }}"
|
2022-08-12 17:42:59 +01:00
|
|
|
- name: "{{ cinder_backend_nfs_name }}"
|
2016-02-13 23:50:46 -03:30
|
|
|
enabled: "{{ enable_cinder_backend_nfs | bool }}"
|
2022-08-12 17:42:59 +01:00
|
|
|
- name: "{{ cinder_backend_hnas_nfs_name }}"
|
2017-01-05 13:56:39 -03:00
|
|
|
enabled: "{{ enable_cinder_backend_hnas_nfs | bool }}"
|
2022-08-12 17:42:59 +01:00
|
|
|
- name: "{{ cinder_backend_vmwarevc_vmdk_name }}"
|
2017-07-11 09:49:37 +08:00
|
|
|
enabled: "{{ cinder_backend_vmwarevc_vmdk | bool }}"
|
2022-08-12 17:42:59 +01:00
|
|
|
- name: "{{ cinder_backend_vmware_vstorage_object_name }}"
|
2021-09-13 14:38:48 +02:00
|
|
|
enabled: "{{ cinder_backend_vmware_vstorage_object | bool }}"
|
2022-08-12 17:42:59 +01:00
|
|
|
- name: "{{ cinder_backend_quobyte_name }}"
|
2018-09-24 14:38:08 +01:00
|
|
|
enabled: "{{ enable_cinder_backend_quobyte | bool }}"
|
2022-08-12 17:42:59 +01:00
|
|
|
- name: "{{ cinder_backend_pure_iscsi_name }}"
|
2022-05-11 12:29:17 -04:00
|
|
|
enabled: "{{ enable_cinder_backend_pure_iscsi | bool }}"
|
2022-08-12 17:42:59 +01:00
|
|
|
- name: "{{ cinder_backend_pure_fc_name }}"
|
2022-05-11 12:29:17 -04:00
|
|
|
enabled: "{{ enable_cinder_backend_pure_fc | bool }}"
|
2022-11-07 11:23:08 -05:00
|
|
|
- name: "{{ cinder_backend_pure_roce_name }}"
|
|
|
|
enabled: "{{ enable_cinder_backend_pure_roce | bool }}"
|
2016-07-23 22:48:54 +08:00
|
|
|
|
2022-08-12 17:42:59 +01:00
|
|
|
cinder_backend_ceph_name: "rbd-1"
|
|
|
|
cinder_backend_lvm_name: "lvm-1"
|
|
|
|
cinder_backend_nfs_name: "nfs-1"
|
|
|
|
cinder_backend_hnas_nfs_name: "hnas-nfs"
|
|
|
|
cinder_backend_vmwarevc_vmdk_name: "vmwarevc-vmdk"
|
|
|
|
cinder_backend_vmware_vstorage_object_name: "vmware-vstorage-object"
|
|
|
|
cinder_backend_quobyte_name: "QuobyteHD"
|
|
|
|
cinder_backend_pure_iscsi_name: "Pure-FlashArray-iscsi"
|
|
|
|
cinder_backend_pure_fc_name: "Pure-FlashArray-fc"
|
2022-11-17 13:19:43 +01:00
|
|
|
cinder_backend_pure_roce_name: "Pure-FlashArray-roce"
|
2022-08-12 17:42:59 +01:00
|
|
|
|
2018-12-10 17:08:58 +03:00
|
|
|
skip_cinder_backend_check: False
|
|
|
|
|
2022-07-25 09:52:05 +02:00
|
|
|
cinder_enabled_backends: "{{ cinder_backends | selectattr('enabled', 'equalto', true) | list }}"
|
2016-12-12 15:41:22 -03:00
|
|
|
|
2018-12-12 11:32:52 +07:00
|
|
|
####################
|
|
|
|
# Notification
|
|
|
|
####################
|
|
|
|
cinder_notification_topics:
|
|
|
|
- name: notifications
|
|
|
|
enabled: "{{ enable_ceilometer | bool }}"
|
|
|
|
- name: vitrage_notifications
|
|
|
|
enabled: "{{ enable_vitrage | bool }}"
|
|
|
|
|
|
|
|
cinder_enabled_notification_topics: "{{ cinder_notification_topics | selectattr('enabled', 'equalto', true) | list }}"
|
|
|
|
|
2019-06-14 04:02:07 -04:00
|
|
|
##################################
|
|
|
|
# Hitachi NAS Platform NFS drivers
|
|
|
|
##################################
|
2017-01-05 13:56:39 -03:00
|
|
|
# nfs
|
|
|
|
hnas_nfs_backend: "hnas_nfs_backend"
|
|
|
|
hnas_nfs_username:
|
|
|
|
hnas_nfs_mgmt_ip0:
|
|
|
|
hnas_nfs_svc0_volume_type:
|
|
|
|
hnas_nfs_svc0_hdp:
|
2017-08-07 13:06:21 +03:00
|
|
|
|
2018-09-24 14:38:08 +01:00
|
|
|
#########################
|
|
|
|
# Quobyte Storage Driver
|
|
|
|
#########################
|
|
|
|
quobyte_storage_host:
|
|
|
|
quobyte_storage_volume:
|
|
|
|
|
2018-04-13 21:10:10 +08:00
|
|
|
|
2022-05-11 12:29:17 -04:00
|
|
|
################################
|
|
|
|
# Pure FlashArray Storage Driver
|
|
|
|
################################
|
|
|
|
pure_iscsi_backend: "pure_iscsi_backend"
|
|
|
|
pure_fc_backend: "pure_fc_backend"
|
|
|
|
pure_api_token:
|
|
|
|
pure_san_ip:
|
|
|
|
|
2018-04-13 21:10:10 +08:00
|
|
|
####################
|
|
|
|
# Kolla
|
|
|
|
####################
|
|
|
|
cinder_git_repository: "{{ kolla_dev_repos_git }}/{{ project_name }}"
|
|
|
|
cinder_dev_repos_pull: "{{ kolla_dev_repos_pull }}"
|
|
|
|
cinder_dev_mode: "{{ kolla_dev_mode }}"
|
2018-07-20 10:00:37 +08:00
|
|
|
cinder_source_version: "{{ kolla_source_version }}"
|
2018-07-31 19:24:02 +01:00
|
|
|
|
|
|
|
####################
|
|
|
|
# Keystone
|
|
|
|
####################
|
|
|
|
cinder_ks_services:
|
|
|
|
- name: "cinderv3"
|
|
|
|
type: "volumev3"
|
|
|
|
description: "Openstack Block Storage"
|
|
|
|
endpoints:
|
|
|
|
- {'interface': 'internal', 'url': '{{ cinder_v3_internal_endpoint }}'}
|
|
|
|
- {'interface': 'public', 'url': '{{ cinder_v3_public_endpoint }}'}
|
|
|
|
|
|
|
|
cinder_ks_users:
|
|
|
|
- project: "service"
|
|
|
|
user: "{{ cinder_keystone_user }}"
|
|
|
|
password: "{{ cinder_keystone_password }}"
|
|
|
|
role: "admin"
|
2020-02-25 13:35:51 +08:00
|
|
|
|
|
|
|
####################
|
|
|
|
# TLS
|
|
|
|
####################
|
|
|
|
cinder_enable_tls_backend: "{{ kolla_enable_tls_backend }}"
|