-
Notifications
You must be signed in to change notification settings - Fork 62
/
_cinder.conf.tpl
116 lines (91 loc) · 5.08 KB
/
_cinder.conf.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[DEFAULT]
log_config_append = /etc/cinder/logging.ini
{{ include "ini_sections.logging_format" . }}
backup_swift_url = https://objectstore-3.{{.Values.global.region}}.{{.Values.global.tld}}:443/v1/AUTH_
backup_swift_auth_version = 2
backup_driver = cinder.backup.drivers.swift.SwiftBackupDriver
enable_v2_api = True
enable_v3_api = True
volume_name_template = '%s'
glance_api_servers = {{.Values.global.glance_api_endpoint_protocol_internal | default "http"}}://{{include "glance_api_endpoint_host_internal" .}}:{{.Values.global.glance_api_port_internal | default "9292"}}
glance_api_version = 2
os_region_name = {{.Values.global.region}}
public_endpoint = https://{{include "cinder_api_endpoint_host_public" .}}:{{.Values.cinderApiPortPublic}}
default_availability_zone = {{.Values.global.default_availability_zone}}
default_volume_type = vmware
{{- template "utils.snippets.debug.eventlet_backdoor_ini" "cinder" }}
api_paste_config = /etc/cinder/api-paste.ini
#nova_catalog_info = compute:nova:internalURL
auth_strategy = keystone
rpc_response_timeout = {{ .Values.rpc_response_timeout | default .Values.global.rpc_response_timeout | default 600 }}
rpc_workers = {{ .Values.rpc_workers | default .Values.global.rpc_workers | default 1 }}
rpc_ping_enabled = {{ .Values.rpc_ping_enabled }}
{{- if not .Values.api.use_uwsgi }}
osapi_volume_workers = {{ .Values.osapi_volume_workers | default .Values.api.workers }}
wsgi_default_pool_size = {{ .Values.wsgi_default_pool_size | default .Values.global.wsgi_default_pool_size | default 100 }}
{{- end }}
# all default quotas are 0 to enforce usage of the Resource Management tool in Elektra
quota_volumes = 0
quota_snapshots = 0
quota_gigabytes = 0
quota_backups = -1
quota_backup_gigabytes = -1
# limit the volume size because it's limited by flexvols. in GB
per_volume_size_limit = {{ .Values.volume_size_limit_gb | default 10240 }}
# don't use quota class
use_default_quota_class=false
scheduler_default_filters = {{ .Values.scheduler_default_filters }}
scheduler_default_weighers = {{ .Values.scheduler_default_weighers }}
capacity_weight_multiplier = {{ .Values.capacity_weight_multiplier }}
allocated_capacity_weight_multiplier = {{ .Values.allocated_capacity_weight_multiplier }}
allow_migration_on_attach = {{ .Values.cinder_api_allow_migration_on_attach }}
sap_disable_incremental_backup = {{ .Values.sap_disable_incremental_backup }}
sap_allow_independent_snapshots = {{ .Values.sap_allow_independent_snapshots }}
sap_allow_independent_clone = {{ .Values.sap_allow_independent_clone }}
{{ include "ini_sections.oslo_messaging_rabbit" . }}
[keystone_authtoken]
auth_plugin = v3password
auth_version = v3
auth_interface = internal
www_authenticate_uri = https://{{include "keystone_api_endpoint_host_public" .}}/v3
auth_url = {{.Values.global.keystone_api_endpoint_protocol_internal | default "http"}}://{{include "keystone_api_endpoint_host_internal" .}}:{{ .Values.global.keystone_api_port_internal | default 5000}}/v3
user_domain_name = {{.Values.global.keystone_service_domain | default "Default"}}
project_name = {{.Values.global.keystone_service_project | default "service"}}
project_domain_name = {{.Values.global.keystone_service_domain | default "Default"}}
region_name = {{.Values.global.region}}
memcached_servers = {{ .Chart.Name }}-memcached.{{ include "svc_fqdn" . }}:{{ .Values.memcached.memcached.port | default 11211 }}
service_token_roles_required = True
insecure = True
token_cache_time = 600
include_service_catalog = true
service_type = volumev3
[oslo_policy]
policy_file = /etc/cinder/policy.yaml
[oslo_concurrency]
lock_path = /var/lib/cinder/tmp
{{- include "ini_sections.cache" . }}
[barbican]
barbican_endpoint = internal
auth_endpoint = {{.Values.global.keystone_api_endpoint_protocol_internal | default "http"}}://{{include "keystone_api_endpoint_host_internal" .}}:{{ .Values.global.keystone_api_port_internal | default 5000}}/v3
[key_manager]
backend = barbican
[service_user]
send_service_user_token = true
auth_type = v3password
auth_version = v3
auth_interface = internal
auth_url = {{.Values.global.keystone_api_endpoint_protocol_internal | default "http"}}://{{include "keystone_api_endpoint_host_internal" .}}:{{ .Values.global.keystone_api_port_internal | default 5000}}/v3
user_domain_name = "{{.Values.global.keystone_service_domain | default "Default" }}"
project_name = "{{.Values.global.keystone_service_project | default "service" }}"
project_domain_name = "{{.Values.global.keystone_service_domain | default "Default" }}"
region_name = {{.Values.global.region}}
{{ include "ini_sections.coordination" . }}
[nova]
auth_type = v3password
auth_version = v3
auth_interface = internal
auth_url = {{.Values.global.keystone_api_endpoint_protocol_internal | default "http"}}://{{include "keystone_api_endpoint_host_internal" .}}:{{ .Values.global.keystone_api_port_internal | default 5000}}/v3
user_domain_name = "{{.Values.global.keystone_service_domain | default "Default" }}"
project_name = "{{.Values.global.keystone_service_project | default "service" }}"
project_domain_name = "{{.Values.global.keystone_service_domain | default "Default" }}"
region_name = {{.Values.global.region}}