-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy path00-global-defaults.conf
96 lines (81 loc) · 2.89 KB
/
00-global-defaults.conf
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
[DEFAULT]
transport_url = {{ .TransportURL }}
auth_strategy = keystone
# TODO: Decide if we want the operator to generate the api servers, which is
# more efficient when creating volumes from image (no keystone requests).
# For now rely on checking the catalog info
# glance_api_servers=http://glanceapi.openstack.svc:9292/
glance_catalog_info = image:glance:internalURL
allowed_direct_url_schemes = cinder
storage_availability_zone = nova
# TODO: should we create our own default type?
#default_volume_type = openstack-k8s
scheduler_driver = cinder.scheduler.filter_scheduler.FilterScheduler
# Reduce to 30 seconds, from default's 60, the wait to receive 1 service
# capabilities report from a cinder volume service. We keep it under the value
# of service_down_time (default 60) to ensure that the probes don't restart the
# scheduler.
scheduler_driver_init_wait_time = 30
# Workaround for https://bugs.launchpad.net/cinder/+bug/2026877
# Cinder backup will appear as down with concurrent backup/restore operations.
# Until bug is fixed we just increase the amount of time needed to report the
# service as being down.
service_down_time=180
# osapi_volume_listen=controller-0.internalapi.redhat.local
osapi_volume_workers = 4
control_exchange = openstack
api_paste_config = /etc/cinder/api-paste.ini
# Keep the RPC call timeout in sync with HAProxy and Apache timeouts
rpc_response_timeout = {{ .TimeOut }}
[barbican]
auth_endpoint = {{ .KeystoneInternalURL }}
barbican_endpoint_type = internal
[database]
connection = {{ .DatabaseConnection }}
max_retries = -1
db_max_retries = -1
[os_brick]
lock_path = /var/locks/openstack/os-brick
[oslo_concurrency]
lock_path = /var/locks/openstack/cinder
# Notifications are disabled by default, can be enabled by setting the driver
# to messagingv2 at the top level cinder customServiceConfig
[oslo_messaging_notifications]
transport_url = {{ .TransportURL }}
driver = noop
[oslo_messaging_rabbit]
heartbeat_timeout_threshold=60
[oslo_middleware]
enable_proxy_headers_parsing=True
[oslo_reports]
file_event_handler=/etc/cinder
[keystone_authtoken]
www_authenticate_uri={{ .KeystonePublicURL }}
auth_url = {{ .KeystoneInternalURL }}
memcached_servers = {{ .MemcachedServersWithInet }}
auth_type = password
project_domain_name = Default
user_domain_name = Default
project_name = service
username = {{ .ServiceUser }}
password = {{ .ServicePassword }}
service_token_roles_required = true
interface = internal
[nova]
interface = internal
auth_type = password
auth_url = {{ .KeystoneInternalURL }}
username = {{ .ServiceUser }}
password = {{ .ServicePassword }}
user_domain_name = Default
project_name = service
project_domain_name = Default
[service_user]
send_service_user_token = True
auth_url = {{ .KeystoneInternalURL }}
auth_type = password
project_domain_name = Default
user_domain_name = Default
project_name = service
username = {{ .ServiceUser }}
password = {{ .ServicePassword }}