blob: 15c11784e3cbac7f5960124348522e63c70da402 [file] [log] [blame]
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001# Licensed under the Apache License, Version 2.0 (the "License");
2# you may not use this file except in compliance with the License.
3# You may obtain a copy of the License at
4#
5# http://www.apache.org/licenses/LICENSE-2.0
6#
7# Unless required by applicable law or agreed to in writing, software
8# distributed under the License is distributed on an "AS IS" BASIS,
9# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10# See the License for the specific language governing permissions and
11# limitations under the License.
12
13# Default values for cinder.
14# This is a YAML-formatted file.
15# Declare name/value pairs to be passed into your templates.
16# name: value
17
18---
19storage: ceph
20
21labels:
22 api:
23 node_selector_key: openstack-control-plane
24 node_selector_value: enabled
25 backup:
26 node_selector_key: openstack-control-plane
27 node_selector_value: enabled
28 job:
29 node_selector_key: openstack-control-plane
30 node_selector_value: enabled
31 scheduler:
32 node_selector_key: openstack-control-plane
33 node_selector_value: enabled
34 test:
35 node_selector_key: openstack-control-plane
36 node_selector_value: enabled
37 volume:
38 node_selector_key: openstack-control-plane
39 node_selector_value: enabled
40
41release_group: null
42
43images:
44 tags:
45 test: docker.io/xrally/xrally-openstack:2.0.0
Mohammed Naserbcdd25c2023-01-18 03:38:47 +000046 db_init: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
47 cinder_db_sync: docker.io/openstackhelm/cinder:wallaby-ubuntu_focal
48 db_drop: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
Mohammed Naserf3f59a72023-01-15 21:02:04 -050049 rabbit_init: docker.io/rabbitmq:3.7-management
Mohammed Naserbcdd25c2023-01-18 03:38:47 +000050 ks_user: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
51 ks_service: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
52 ks_endpoints: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
53 cinder_api: docker.io/openstackhelm/cinder:wallaby-ubuntu_focal
54 bootstrap: docker.io/openstackhelm/heat:wallaby-ubuntu_focal
55 cinder_scheduler: docker.io/openstackhelm/cinder:wallaby-ubuntu_focal
56 cinder_volume: docker.io/openstackhelm/cinder:wallaby-ubuntu_focal
57 cinder_volume_usage_audit: docker.io/openstackhelm/cinder:wallaby-ubuntu_focal
Mohammed Naserf3f59a72023-01-15 21:02:04 -050058 cinder_storage_init: docker.io/openstackhelm/ceph-config-helper:latest-ubuntu_bionic
Mohammed Naserbcdd25c2023-01-18 03:38:47 +000059 cinder_backup: docker.io/openstackhelm/cinder:wallaby-ubuntu_focal
Mohammed Naserf3f59a72023-01-15 21:02:04 -050060 cinder_backup_storage_init: docker.io/openstackhelm/ceph-config-helper:latest-ubuntu_bionic
61 dep_check: quay.io/airshipit/kubernetes-entrypoint:v1.0.0
62 image_repo_sync: docker.io/docker:17.07.0
63 pull_policy: "IfNotPresent"
64 local_registry:
65 active: false
66 exclude:
67 - dep_check
68 - image_repo_sync
69
70jobs:
71 volume_usage_audit:
72 cron: "5 * * * *"
73 starting_deadline: 600
74 history:
75 success: 3
76 failed: 1
77
78pod:
79 security_context:
80 volume_usage_audit:
81 pod:
82 runAsUser: 42424
83 container:
84 cinder_volume_usage_audit:
85 readOnlyRootFilesystem: true
86 allowPrivilegeEscalation: false
87 cinder_api:
88 pod:
89 runAsUser: 42424
90 container:
91 ceph_coordination_volume_perms:
92 runAsUser: 0
93 readOnlyRootFilesystem: true
94 cinder_api:
95 readOnlyRootFilesystem: true
96 allowPrivilegeEscalation: false
97 cinder_backup:
98 pod:
99 runAsUser: 42424
100 container:
101 ceph_backup_keyring_placement:
102 runAsUser: 0
103 readOnlyRootFilesystem: true
104 ceph_keyring_placement:
105 runAsUser: 0
106 readOnlyRootFilesystem: true
107 ceph_backup_volume_perms:
108 runAsUser: 0
109 readOnlyRootFilesystem: true
110 ceph_coordination_volume_perms:
111 runAsUser: 0
112 readOnlyRootFilesystem: true
113 cinder_backup:
114 capabilities:
115 add:
116 - SYS_ADMIN
117 readOnlyRootFilesystem: true
118 runAsUser: 0
119 cinder_scheduler:
120 pod:
121 runAsUser: 42424
122 container:
123 ceph_coordination_volume_perms:
124 runAsUser: 0
125 readOnlyRootFilesystem: true
126 cinder_scheduler:
127 readOnlyRootFilesystem: true
128 allowPrivilegeEscalation: false
129 cinder_volume:
130 pod:
131 runAsUser: 42424
132 container:
133 ceph_keyring_placement:
134 runAsUser: 0
135 readOnlyRootFilesystem: true
136 ceph_coordination_volume_perms:
137 runAsUser: 0
138 readOnlyRootFilesystem: true
139 init_cinder_conf:
140 runAsUser: 0
141 readOnlyRootFilesystem: true
142 cinder_volume:
Mohammed Naserbcdd25c2023-01-18 03:38:47 +0000143 capabilities:
144 add:
145 - SYS_ADMIN
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500146 readOnlyRootFilesystem: true
147 storage_init:
148 pod:
149 runAsUser: 42424
150 container:
151 ceph_keyring_placement:
152 runAsUser: 0
153 readOnlyRootFilesystem: true
154 cinder_backup_storage_init:
155 readOnlyRootFilesystem: true
156 allowPrivilegeEscalation: false
157 clean:
158 pod:
159 runAsUser: 42424
160 container:
161 cinder_volume_rbd_secret_clean:
162 readOnlyRootFilesystem: true
163 allowPrivilegeEscalation: false
164 create_internal_tenant:
165 pod:
166 runAsUser: 42424
167 container:
168 create_internal_tenant:
169 readOnlyRootFilesystem: true
170 allowPrivilegeEscalation: false
171 affinity:
172 anti:
173 type:
174 default: preferredDuringSchedulingIgnoredDuringExecution
175 topologyKey:
176 default: kubernetes.io/hostname
177 weight:
178 default: 10
179 tolerations:
180 cinder:
181 enabled: false
182 tolerations:
183 - key: node-role.kubernetes.io/master
184 operator: Exists
185 effect: NoSchedule
186 useHostNetwork:
187 volume: false
188 backup: false
189 mounts:
190 cinder_api:
191 init_container: null
192 cinder_api:
193 volumeMounts:
194 volumes:
195 cinder_scheduler:
196 init_container: null
197 cinder_scheduler:
198 volumeMounts:
199 volumes:
200 cinder_volume:
201 init_container: null
202 cinder_volume:
203 volumeMounts:
204 volumes:
205 cinder_volume_usage_audit:
206 init_container: null
207 cinder_volume_usage_audit:
208 volumeMounts:
209 volumes:
210 cinder_backup:
211 init_container: null
212 cinder_backup:
213 volumeMounts:
214 volumes:
215 cinder_tests:
216 init_container: null
217 cinder_tests:
218 volumeMounts:
219 volumes:
220 cinder_db_sync:
221 cinder_db_sync:
222 volumeMounts:
223 volumes:
224 replicas:
225 api: 1
226 volume: 1
227 scheduler: 1
228 backup: 1
229 lifecycle:
230 upgrades:
231 deployments:
232 revision_history: 3
233 pod_replacement_strategy: RollingUpdate
234 rolling_update:
235 max_unavailable: 1
236 max_surge: 3
237 disruption_budget:
238 api:
239 min_available: 0
240 termination_grace_period:
241 api:
242 timeout: 30
243 resources:
244 enabled: false
245 api:
246 requests:
247 memory: "128Mi"
248 cpu: "100m"
249 limits:
250 memory: "1024Mi"
251 cpu: "2000m"
252 scheduler:
253 requests:
254 memory: "128Mi"
255 cpu: "100m"
256 limits:
257 memory: "1024Mi"
258 cpu: "2000m"
259 volume:
260 requests:
261 memory: "128Mi"
262 cpu: "100m"
263 limits:
264 memory: "1024Mi"
265 cpu: "2000m"
266 jobs:
267 volume_usage_audit:
268 requests:
269 memory: "128Mi"
270 cpu: "100m"
271 limits:
272 memory: "1024Mi"
273 cpu: "2000m"
274 bootstrap:
275 requests:
276 memory: "128Mi"
277 cpu: "100m"
278 limits:
279 memory: "1024Mi"
280 cpu: "2000m"
281 rabbit_init:
282 requests:
283 memory: "128Mi"
284 cpu: "100m"
285 limits:
286 memory: "1024Mi"
287 cpu: "2000m"
288 db_init:
289 requests:
290 memory: "128Mi"
291 cpu: "100m"
292 limits:
293 memory: "1024Mi"
294 cpu: "2000m"
295 db_sync:
296 requests:
297 memory: "128Mi"
298 cpu: "100m"
299 limits:
300 memory: "1024Mi"
301 cpu: "2000m"
302 db_drop:
303 requests:
304 memory: "128Mi"
305 cpu: "100m"
306 limits:
307 memory: "1024Mi"
308 cpu: "2000m"
309 clean:
310 requests:
311 memory: "128Mi"
312 cpu: "100m"
313 limits:
314 memory: "1024Mi"
315 cpu: "2000m"
316 backup_storage_init:
317 requests:
318 memory: "128Mi"
319 cpu: "100m"
320 limits:
321 memory: "1024Mi"
322 cpu: "2000m"
323 storage_init:
324 requests:
325 memory: "128Mi"
326 cpu: "100m"
327 limits:
328 memory: "1024Mi"
329 cpu: "2000m"
330 ks_endpoints:
331 requests:
332 memory: "128Mi"
333 cpu: "100m"
334 limits:
335 memory: "1024Mi"
336 cpu: "2000m"
337 ks_service:
338 requests:
339 memory: "128Mi"
340 cpu: "100m"
341 limits:
342 memory: "1024Mi"
343 cpu: "2000m"
344 ks_user:
345 requests:
346 memory: "128Mi"
347 cpu: "100m"
348 limits:
349 memory: "1024Mi"
350 cpu: "2000m"
351 tests:
352 requests:
353 memory: "128Mi"
354 cpu: "100m"
355 limits:
356 memory: "1024Mi"
357 cpu: "2000m"
358 image_repo_sync:
359 requests:
360 memory: "128Mi"
361 cpu: "100m"
362 limits:
363 memory: "1024Mi"
364 cpu: "2000m"
365
366bootstrap:
367 enabled: true
368 ks_user: admin
369 bootstrap_conf_backends: true
370 volume_types:
371 name:
372 group:
373 volume_backend_name:
374 # access_type: "private"
375 # If you set up access_type to private, only the creator
376 # will get an access to the volume type. You can extend
377 # the access to your volume type by providing a list of
378 # domain names and projects as shown below
379 # grant_access:
380 # <domain name 1>:
381 # - <project name 1>
382 # - <project name 2>
383 # <...>
384 # <domain name 2>:
385 # - <project name 1>
386 # <...>
387 # Volume QoS if any. By default, None QoS is created.
388 # Below values with a number at the end need to be replaced
389 # with real names.
390 # volume_qos:
391 # qos_name_1:
392 # consumer: front-end
393 # properties:
394 # key_1: value_1
395 # key_2: value_2
396 # associates:
397 # - volume_type_1
398 # - volume_type_2
399
400network:
401 api:
402 ingress:
403 public: true
404 classes:
405 namespace: "nginx"
406 cluster: "nginx-cluster"
407 annotations:
408 nginx.ingress.kubernetes.io/rewrite-target: /
409 external_policy_local: false
410 node_port:
411 enabled: false
412 port: 30877
413
414ceph_client:
415 # enable this when there is a need to create second ceph backed pointing
416 # to external ceph cluster
417 enable_external_ceph_backend: false
418 # change this in case of first ceph backend name pointing to internal ceph cluster
419 # is diffrent
420 internal_ceph_backend: rbd1
421 configmap: ceph-etc
422 user_secret_name: pvc-ceph-client-key
423 external_ceph:
424 # Only when enable_external_ceph_backend is true and rbd_user is NOT null
425 # secret for external ceph keyring will be created.
426 rbd_user: null
427 rbd_user_keyring: null
Mohammed Naserbcdd25c2023-01-18 03:38:47 +0000428 configmap: null
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500429 conf:
430 global: null
431 osd: null
432conf:
433 paste:
434 composite:osapi_volume:
435 use: call:cinder.api:root_app_factory
436 /: apiversions
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +0100437 /v1: openstack_volume_api_v1
438 /v2: openstack_volume_api_v2
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500439 /v3: openstack_volume_api_v3
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +0100440 composite:openstack_volume_api_v1:
441 use: call:cinder.api.middleware.auth:pipeline_factory
442 noauth: cors http_proxy_to_wsgi request_id faultwrap sizelimit osprofiler noauth apiv1
443 keystone: cors http_proxy_to_wsgi request_id faultwrap sizelimit osprofiler authtoken audit keystonecontext apiv1
444 keystone_nolimit: cors http_proxy_to_wsgi request_id faultwrap sizelimit osprofiler authtoken audit keystonecontext apiv1
445 composite:openstack_volume_api_v2:
446 use: call:cinder.api.middleware.auth:pipeline_factory
447 noauth: cors http_proxy_to_wsgi request_id faultwrap sizelimit osprofiler noauth apiv2
448 keystone: cors http_proxy_to_wsgi request_id faultwrap sizelimit osprofiler authtoken audit keystonecontext apiv2
449 keystone_nolimit: cors http_proxy_to_wsgi request_id faultwrap sizelimit osprofiler authtoken audit keystonecontext apiv2
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500450 composite:openstack_volume_api_v3:
451 use: call:cinder.api.middleware.auth:pipeline_factory
452 noauth: cors http_proxy_to_wsgi request_id faultwrap sizelimit osprofiler noauth apiv3
453 keystone: cors http_proxy_to_wsgi request_id faultwrap sizelimit osprofiler authtoken audit keystonecontext apiv3
454 keystone_nolimit: cors http_proxy_to_wsgi request_id faultwrap sizelimit osprofiler authtoken audit keystonecontext apiv3
455 filter:request_id:
456 paste.filter_factory: oslo_middleware.request_id:RequestId.factory
457 filter:http_proxy_to_wsgi:
458 paste.filter_factory: oslo_middleware.http_proxy_to_wsgi:HTTPProxyToWSGI.factory
459 filter:cors:
460 paste.filter_factory: oslo_middleware.cors:filter_factory
461 oslo_config_project: cinder
462 filter:faultwrap:
463 paste.filter_factory: cinder.api.middleware.fault:FaultWrapper.factory
464 filter:osprofiler:
465 paste.filter_factory: osprofiler.web:WsgiMiddleware.factory
466 filter:noauth:
467 paste.filter_factory: cinder.api.middleware.auth:NoAuthMiddleware.factory
468 filter:sizelimit:
469 paste.filter_factory: oslo_middleware.sizelimit:RequestBodySizeLimiter.factory
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +0100470 app:apiv1:
471 paste.app_factory: cinder.api.v1.router:APIRouter.factory
472 app:apiv2:
473 paste.app_factory: cinder.api.v2.router:APIRouter.factory
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500474 app:apiv3:
475 paste.app_factory: cinder.api.v3.router:APIRouter.factory
476 pipeline:apiversions:
477 pipeline: cors http_proxy_to_wsgi faultwrap osvolumeversionapp
478 app:osvolumeversionapp:
479 paste.app_factory: cinder.api.versions:Versions.factory
480 filter:keystonecontext:
481 paste.filter_factory: cinder.api.middleware.auth:CinderKeystoneContext.factory
482 filter:authtoken:
483 paste.filter_factory: keystonemiddleware.auth_token:filter_factory
484 filter:audit:
485 paste.filter_factory: keystonemiddleware.audit:filter_factory
486 audit_map_file: /etc/cinder/api_audit_map.conf
Mohammed Naserbcdd25c2023-01-18 03:38:47 +0000487 policy: {}
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500488 api_audit_map:
489 DEFAULT:
490 target_endpoint_type: None
491 custom_actions:
492 associate: update/associate
493 disassociate: update/disassociate_all
494 disassociate_all: update/disassociate_all
495 associations: read/list/associations
496 path_keywords:
497 defaults: None
498 detail: None
499 limits: None
500 os-quota-specs: project
501 qos-specs: qos-spec
502 snapshots: snapshot
503 types: type
504 volumes: volume
505 service_endpoints:
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +0100506 volume: service/storage/block
507 volumev2: service/storage/block
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500508 volumev3: service/storage/block
509 cinder_sudoers: |
510 # This sudoers file supports rootwrap for both Kolla and LOCI Images.
511 Defaults !requiretty
512 Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/var/lib/openstack/bin:/var/lib/kolla/venv/bin"
513 cinder ALL = (root) NOPASSWD: /var/lib/kolla/venv/bin/cinder-rootwrap /etc/cinder/rootwrap.conf *, /var/lib/openstack/bin/cinder-rootwrap /etc/cinder/rootwrap.conf *
514 rootwrap: |
515 # Configuration for cinder-rootwrap
516 # This file should be owned by (and only-writeable by) the root user
517
518 [DEFAULT]
519 # List of directories to load filter definitions from (separated by ',').
520 # These directories MUST all be only writeable by root !
521 filters_path=/etc/cinder/rootwrap.d
522
523 # List of directories to search executables in, in case filters do not
524 # explicitely specify a full path (separated by ',')
525 # If not specified, defaults to system PATH environment variable.
526 # These directories MUST all be only writeable by root !
527 exec_dirs=/sbin,/usr/sbin,/bin,/usr/bin,/usr/local/bin,/usr/local/sbin,/var/lib/openstack/bin,/var/lib/kolla/venv/bin
528
529 # Enable logging to syslog
530 # Default value is False
531 use_syslog=False
532
533 # Which syslog facility to use.
534 # Valid values include auth, authpriv, syslog, local0, local1...
535 # Default value is 'syslog'
536 syslog_log_facility=syslog
537
538 # Which messages to log.
539 # INFO means log all usage
540 # ERROR means only log unsuccessful attempts
541 syslog_log_level=ERROR
542 rootwrap_filters:
543 volume:
544 pods:
545 - volume
546 content: |
547 # cinder-rootwrap command filters for volume nodes
548 # This file should be owned by (and only-writeable by) the root user
549
550 [Filters]
551 # cinder/volume/iscsi.py: iscsi_helper '--op' ...
552 ietadm: CommandFilter, ietadm, root
553 tgtadm: CommandFilter, tgtadm, root
554 iscsictl: CommandFilter, iscsictl, root
555 tgt-admin: CommandFilter, tgt-admin, root
556 cinder-rtstool: CommandFilter, cinder-rtstool, root
557 scstadmin: CommandFilter, scstadmin, root
558
559 # LVM related show commands
560 pvs: EnvFilter, env, root, LC_ALL=C, pvs
561 vgs: EnvFilter, env, root, LC_ALL=C, vgs
562 lvs: EnvFilter, env, root, LC_ALL=C, lvs
563 lvdisplay: EnvFilter, env, root, LC_ALL=C, lvdisplay
564
565 # -LVM related show commands with suppress fd warnings
566 pvs_fdwarn: EnvFilter, env, root, LC_ALL=C, LVM_SUPPRESS_FD_WARNINGS=, pvs
567 vgs_fdwarn: EnvFilter, env, root, LC_ALL=C, LVM_SUPPRESS_FD_WARNINGS=, vgs
568 lvs_fdwarn: EnvFilter, env, root, LC_ALL=C, LVM_SUPPRESS_FD_WARNINGS=, lvs
569 lvdisplay_fdwarn: EnvFilter, env, root, LC_ALL=C, LVM_SUPPRESS_FD_WARNINGS=, lvdisplay
570
571
572 # -LVM related show commands conf var
573 pvs_lvmconf: EnvFilter, env, root, LVM_SYSTEM_DIR=, LC_ALL=C, pvs
574 vgs_lvmconf: EnvFilter, env, root, LVM_SYSTEM_DIR=, LC_ALL=C, vgs
575 lvs_lvmconf: EnvFilter, env, root, LVM_SYSTEM_DIR=, LC_ALL=C, lvs
576 lvdisplay_lvmconf: EnvFilter, env, root, LVM_SYSTEM_DIR=, LC_ALL=C, lvdisplay
577
578 # -LVM conf var with suppress fd_warnings
579 pvs_lvmconf: EnvFilter, env, root, LVM_SYSTEM_DIR=, LC_ALL=C, LVM_SUPPRESS_FD_WARNINGS=, pvs
580 vgs_lvmconf: EnvFilter, env, root, LVM_SYSTEM_DIR=, LC_ALL=C, LVM_SUPPRESS_FD_WARNINGS=, vgs
581 lvs_lvmconf: EnvFilter, env, root, LVM_SYSTEM_DIR=, LC_ALL=C, LVM_SUPPRESS_FD_WARNINGS=, lvs
582 lvdisplay_lvmconf: EnvFilter, env, root, LVM_SYSTEM_DIR=, LC_ALL=C, LVM_SUPPRESS_FD_WARNINGS=, lvdisplay
583
584 # os-brick library commands
585 # os_brick.privileged.run_as_root oslo.privsep context
586 # This line ties the superuser privs with the config files, context name,
587 # and (implicitly) the actual python code invoked.
588 privsep-rootwrap: RegExpFilter, privsep-helper, root, privsep-helper, --config-file, /etc/(?!\.\.).*, --privsep_context, os_brick.privileged.default, --privsep_sock_path, /tmp/.*
589 # The following and any cinder/brick/* entries should all be obsoleted
590 # by privsep, and may be removed once the os-brick version requirement
591 # is updated appropriately.
592 scsi_id: CommandFilter, /lib/udev/scsi_id, root
593 drbdadm: CommandFilter, drbdadm, root
594
595 # cinder/brick/local_dev/lvm.py: 'vgcreate', vg_name, pv_list
596 vgcreate: CommandFilter, vgcreate, root
597
598 # cinder/brick/local_dev/lvm.py: 'lvcreate', '-L', sizestr, '-n', volume_name,..
599 # cinder/brick/local_dev/lvm.py: 'lvcreate', '-L', ...
600 lvcreate: EnvFilter, env, root, LC_ALL=C, lvcreate
601 lvcreate_lvmconf: EnvFilter, env, root, LVM_SYSTEM_DIR=, LC_ALL=C, lvcreate
602 lvcreate_fdwarn: EnvFilter, env, root, LC_ALL=C, LVM_SUPPRESS_FD_WARNINGS=, lvcreate
603 lvcreate_lvmconf_fdwarn: EnvFilter, env, root, LVM_SYSTEM_DIR=, LVM_SUPPRESS_FD_WARNINGS=, LC_ALL=C, lvcreate
604
605 # cinder/volume/driver.py: 'dd', 'if=%s' % srcstr, 'of=%s' % deststr,...
606 dd: CommandFilter, dd, root
607
608 # cinder/volume/driver.py: 'lvremove', '-f', %s/%s % ...
609 lvremove: CommandFilter, lvremove, root
610
611 # cinder/volume/driver.py: 'lvrename', '%(vg)s', '%(orig)s' '(new)s'...
612 lvrename: CommandFilter, lvrename, root
613
614 # cinder/brick/local_dev/lvm.py: 'lvextend', '-L' '%(new_size)s', '%(lv_name)s' ...
615 # cinder/brick/local_dev/lvm.py: 'lvextend', '-L' '%(new_size)s', '%(thin_pool)s' ...
616 lvextend: EnvFilter, env, root, LC_ALL=C, lvextend
617 lvextend_lvmconf: EnvFilter, env, root, LVM_SYSTEM_DIR=, LC_ALL=C, lvextend
618 lvextend_fdwarn: EnvFilter, env, root, LC_ALL=C, LVM_SUPPRESS_FD_WARNINGS=, lvextend
619 lvextend_lvmconf_fdwarn: EnvFilter, env, root, LVM_SYSTEM_DIR=, LC_ALL=C, LVM_SUPPRESS_FD_WARNINGS=, lvextend
620
621 # cinder/brick/local_dev/lvm.py: 'lvchange -a y -K <lv>'
622 lvchange: CommandFilter, lvchange, root
623
624 # cinder/brick/local_dev/lvm.py: 'lvconvert', '--merge', snapshot_name
625 lvconvert: CommandFilter, lvconvert, root
626
627 # cinder/volume/driver.py: 'iscsiadm', '-m', 'discovery', '-t',...
628 # cinder/volume/driver.py: 'iscsiadm', '-m', 'node', '-T', ...
629 iscsiadm: CommandFilter, iscsiadm, root
630
631 # cinder/volume/utils.py: utils.temporary_chown(path, 0)
632 chown: CommandFilter, chown, root
633
634 # cinder/volume/utils.py: copy_volume(..., ionice='...')
635 ionice_1: ChainingRegExpFilter, ionice, root, ionice, -c[0-3], -n[0-7]
636 ionice_2: ChainingRegExpFilter, ionice, root, ionice, -c[0-3]
637
638 # cinder/volume/utils.py: setup_blkio_cgroup()
639 cgcreate: CommandFilter, cgcreate, root
640 cgset: CommandFilter, cgset, root
641 cgexec: ChainingRegExpFilter, cgexec, root, cgexec, -g, blkio:\S+
642
643 # cinder/volume/driver.py
644 dmsetup: CommandFilter, dmsetup, root
645 ln: CommandFilter, ln, root
646
647 # cinder/image/image_utils.py
648 qemu-img: EnvFilter, env, root, LC_ALL=C, qemu-img
649 qemu-img_convert: CommandFilter, qemu-img, root
650
651 udevadm: CommandFilter, udevadm, root
652
653 # cinder/volume/driver.py: utils.read_file_as_root()
654 cat: CommandFilter, cat, root
655
656 # cinder/volume/nfs.py
657 stat: CommandFilter, stat, root
658 mount: CommandFilter, mount, root
659 df: CommandFilter, df, root
660 du: CommandFilter, du, root
661 truncate: CommandFilter, truncate, root
662 chmod: CommandFilter, chmod, root
663 rm: CommandFilter, rm, root
664
665 # cinder/volume/drivers/remotefs.py
666 mkdir: CommandFilter, mkdir, root
667
668 # cinder/volume/drivers/netapp/nfs.py:
669 netapp_nfs_find: RegExpFilter, find, root, find, ^[/]*([^/\0]+(/+)?)*$, -maxdepth, \d+, -name, img-cache.*, -amin, \+\d+
670
671 # cinder/volume/drivers/glusterfs.py
672 chgrp: CommandFilter, chgrp, root
673 umount: CommandFilter, umount, root
674 fallocate: CommandFilter, fallocate, root
675
676 # cinder/volumes/drivers/hds/hds.py:
677 hus-cmd: CommandFilter, hus-cmd, root
678 hus-cmd_local: CommandFilter, /usr/local/bin/hus-cmd, root
679
680 # cinder/volumes/drivers/hds/hnas_backend.py
681 ssc: CommandFilter, ssc, root
682
683 # cinder/brick/initiator/connector.py:
684 ls: CommandFilter, ls, root
685 tee: CommandFilter, tee, root
686 multipath: CommandFilter, multipath, root
687 multipathd: CommandFilter, multipathd, root
688 systool: CommandFilter, systool, root
689
690 # cinder/volume/drivers/block_device.py
691 blockdev: CommandFilter, blockdev, root
692
693 # cinder/volume/drivers/ibm/gpfs.py
694 # cinder/volume/drivers/tintri.py
695 mv: CommandFilter, mv, root
696
697 # cinder/volume/drivers/ibm/gpfs.py
698 cp: CommandFilter, cp, root
699 mmgetstate: CommandFilter, /usr/lpp/mmfs/bin/mmgetstate, root
700 mmclone: CommandFilter, /usr/lpp/mmfs/bin/mmclone, root
701 mmlsattr: CommandFilter, /usr/lpp/mmfs/bin/mmlsattr, root
702 mmchattr: CommandFilter, /usr/lpp/mmfs/bin/mmchattr, root
703 mmlsconfig: CommandFilter, /usr/lpp/mmfs/bin/mmlsconfig, root
704 mmlsfs: CommandFilter, /usr/lpp/mmfs/bin/mmlsfs, root
705 mmlspool: CommandFilter, /usr/lpp/mmfs/bin/mmlspool, root
706 mkfs: CommandFilter, mkfs, root
707 mmcrfileset: CommandFilter, /usr/lpp/mmfs/bin/mmcrfileset, root
708 mmlinkfileset: CommandFilter, /usr/lpp/mmfs/bin/mmlinkfileset, root
709 mmunlinkfileset: CommandFilter, /usr/lpp/mmfs/bin/mmunlinkfileset, root
710 mmdelfileset: CommandFilter, /usr/lpp/mmfs/bin/mmdelfileset, root
711 mmcrsnapshot: CommandFilter, /usr/lpp/mmfs/bin/mmcrsnapshot, root
712 mmdelsnapshot: CommandFilter, /usr/lpp/mmfs/bin/mmdelsnapshot, root
713
714 # cinder/volume/drivers/ibm/gpfs.py
715 # cinder/volume/drivers/ibm/ibmnas.py
716 find_maxdepth_inum: RegExpFilter, find, root, find, ^[/]*([^/\0]+(/+)?)*$, -maxdepth, \d+, -ignore_readdir_race, -inum, \d+, -print0, -quit
717
718 # cinder/brick/initiator/connector.py:
719 aoe-revalidate: CommandFilter, aoe-revalidate, root
720 aoe-discover: CommandFilter, aoe-discover, root
721 aoe-flush: CommandFilter, aoe-flush, root
722
723 # cinder/brick/initiator/linuxscsi.py:
724 sg_scan: CommandFilter, sg_scan, root
725
726 #cinder/backup/services/tsm.py
727 dsmc:CommandFilter,/usr/bin/dsmc,root
728
729 # cinder/volume/drivers/hitachi/hbsd_horcm.py
730 raidqry: CommandFilter, raidqry, root
731 raidcom: CommandFilter, raidcom, root
732 pairsplit: CommandFilter, pairsplit, root
733 paircreate: CommandFilter, paircreate, root
734 pairdisplay: CommandFilter, pairdisplay, root
735 pairevtwait: CommandFilter, pairevtwait, root
736 horcmstart.sh: CommandFilter, horcmstart.sh, root
737 horcmshutdown.sh: CommandFilter, horcmshutdown.sh, root
738 horcmgr: EnvFilter, env, root, HORCMINST=, /etc/horcmgr
739
740 # cinder/volume/drivers/hitachi/hbsd_snm2.py
741 auman: EnvFilter, env, root, LANG=, STONAVM_HOME=, LD_LIBRARY_PATH=, STONAVM_RSP_PASS=, STONAVM_ACT=, /usr/stonavm/auman
742 auluref: EnvFilter, env, root, LANG=, STONAVM_HOME=, LD_LIBRARY_PATH=, STONAVM_RSP_PASS=, STONAVM_ACT=, /usr/stonavm/auluref
743 auhgdef: EnvFilter, env, root, LANG=, STONAVM_HOME=, LD_LIBRARY_PATH=, STONAVM_RSP_PASS=, STONAVM_ACT=, /usr/stonavm/auhgdef
744 aufibre1: EnvFilter, env, root, LANG=, STONAVM_HOME=, LD_LIBRARY_PATH=, STONAVM_RSP_PASS=, STONAVM_ACT=, /usr/stonavm/aufibre1
745 auhgwwn: EnvFilter, env, root, LANG=, STONAVM_HOME=, LD_LIBRARY_PATH=, STONAVM_RSP_PASS=, STONAVM_ACT=, /usr/stonavm/auhgwwn
746 auhgmap: EnvFilter, env, root, LANG=, STONAVM_HOME=, LD_LIBRARY_PATH=, STONAVM_RSP_PASS=, STONAVM_ACT=, /usr/stonavm/auhgmap
747 autargetmap: EnvFilter, env, root, LANG=, STONAVM_HOME=, LD_LIBRARY_PATH=, STONAVM_RSP_PASS=, STONAVM_ACT=, /usr/stonavm/autargetmap
748 aureplicationvvol: EnvFilter, env, root, LANG=, STONAVM_HOME=, LD_LIBRARY_PATH=, STONAVM_RSP_PASS=, STONAVM_ACT=, /usr/stonavm/aureplicationvvol
749 auluadd: EnvFilter, env, root, LANG=, STONAVM_HOME=, LD_LIBRARY_PATH=, STONAVM_RSP_PASS=, STONAVM_ACT=, /usr/stonavm/auluadd
750 auludel: EnvFilter, env, root, LANG=, STONAVM_HOME=, LD_LIBRARY_PATH=, STONAVM_RSP_PASS=, STONAVM_ACT=, /usr/stonavm/auludel
751 auluchgsize: EnvFilter, env, root, LANG=, STONAVM_HOME=, LD_LIBRARY_PATH=, STONAVM_RSP_PASS=, STONAVM_ACT=, /usr/stonavm/auluchgsize
752 auchapuser: EnvFilter, env, root, LANG=, STONAVM_HOME=, LD_LIBRARY_PATH=, STONAVM_RSP_PASS=, STONAVM_ACT=, /usr/stonavm/auchapuser
753 autargetdef: EnvFilter, env, root, LANG=, STONAVM_HOME=, LD_LIBRARY_PATH=, STONAVM_RSP_PASS=, STONAVM_ACT=, /usr/stonavm/autargetdef
754 autargetopt: EnvFilter, env, root, LANG=, STONAVM_HOME=, LD_LIBRARY_PATH=, STONAVM_RSP_PASS=, STONAVM_ACT=, /usr/stonavm/autargetopt
755 autargetini: EnvFilter, env, root, LANG=, STONAVM_HOME=, LD_LIBRARY_PATH=, STONAVM_RSP_PASS=, STONAVM_ACT=, /usr/stonavm/autargetini
756 auiscsi: EnvFilter, env, root, LANG=, STONAVM_HOME=, LD_LIBRARY_PATH=, STONAVM_RSP_PASS=, STONAVM_ACT=, /usr/stonavm/auiscsi
757 audppool: EnvFilter, env, root, LANG=, STONAVM_HOME=, LD_LIBRARY_PATH=, STONAVM_RSP_PASS=, STONAVM_ACT=, /usr/stonavm/audppool
758 aureplicationlocal: EnvFilter, env, root, LANG=, STONAVM_HOME=, LD_LIBRARY_PATH=, STONAVM_RSP_PASS=, STONAVM_ACT=, /usr/stonavm/aureplicationlocal
759 aureplicationmon: EnvFilter, env, root, LANG=, STONAVM_HOME=, LD_LIBRARY_PATH=, STONAVM_RSP_PASS=, STONAVM_ACT=, /usr/stonavm/aureplicationmon
760
761 # cinder/volume/drivers/hgst.py
762 vgc-cluster: CommandFilter, vgc-cluster, root
763
764 # cinder/volume/drivers/vzstorage.py
765 pstorage-mount: CommandFilter, pstorage-mount, root
766 pstorage: CommandFilter, pstorage, root
767 ploop: CommandFilter, ploop, root
768
769 # initiator/connector.py:
770 drv_cfg: CommandFilter, /opt/emc/scaleio/sdc/bin/drv_cfg, root, /opt/emc/scaleio/sdc/bin/drv_cfg, --query_guid
771 ceph:
772 override:
773 append:
774 monitors: []
775 admin_keyring: null
776 pools:
777 backup:
778 replication: 3
779 crush_rule: replicated_rule
780 chunk_size: 8
781 app_name: cinder-backup
782 cinder.volumes:
783 replication: 3
784 crush_rule: replicated_rule
785 chunk_size: 8
786 app_name: cinder-volume
787 cinder:
788 DEFAULT:
789 volume_usage_audit_period: hour
790 resource_query_filters_file: /etc/cinder/resource_filters.json
791 log_config_append: /etc/cinder/logging.conf
792 use_syslog: false
793 use_stderr: true
794 enable_v1_api: false
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +0100795 enable_v2_api: false
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500796 volume_name_template: "%s"
797 osapi_volume_workers: 1
798 glance_api_version: 2
799 os_region_name: RegionOne
800 host: cinder-volume-worker
801 # NOTE(portdirect): the bind port should not be defined, and is manipulated
802 # via the endpoints section.
803 osapi_volume_listen_port: null
804 enabled_backends: "rbd1"
805 default_volume_type: "rbd1"
806 # NOTE(portdirect): "cinder.backup.drivers.ceph" and
807 # "cinder.backup.drivers.posix" also supported
808 # NOTE(rchurch): As of Stein, drivers by class name are required
809 # - cinder.backup.drivers.swift.SwiftBackupDriver
810 # - cinder.backup.drivers.ceph.CephBackupDriver
811 # - cinder.backup.drivers.posix.PosixBackupDriver
812 backup_driver: "cinder.backup.drivers.swift.SwiftBackupDriver"
813 # Backup: Ceph RBD options
814 backup_ceph_conf: "/etc/ceph/ceph.conf"
815 backup_ceph_user: cinderbackup
816 backup_ceph_pool: cinder.backups
817 # Backup: Posix options
818 backup_posix_path: /var/lib/cinder/backup
819 auth_strategy: keystone
820 # Internal tenant id
821 internal_project_name: internal_cinder
822 internal_user_name: internal_cinder
823 database:
824 max_retries: -1
825 keystone_authtoken:
826 auth_version: v3
827 auth_type: password
828 memcache_security_strategy: ENCRYPT
829 oslo_policy:
830 policy_file: /etc/cinder/policy.yaml
831 oslo_concurrency:
832 lock_path: "/var/lib/cinder/tmp"
833 oslo_messaging_notifications:
834 driver: messagingv2
835 oslo_middleware:
836 enable_proxy_headers_parsing: true
837 oslo_messaging_rabbit:
838 rabbit_ha_queues: true
839 coordination:
840 backend_url: file:///var/lib/cinder/coordination
841 service_user:
842 auth_type: password
843 send_service_user_token: false
844 logging:
845 loggers:
846 keys:
847 - root
848 - cinder
849 handlers:
850 keys:
851 - stdout
852 - stderr
853 - "null"
854 formatters:
855 keys:
856 - context
857 - default
858 logger_root:
859 level: WARNING
860 handlers: 'null'
861 logger_cinder:
862 level: INFO
863 handlers:
864 - stdout
865 qualname: cinder
866 logger_amqp:
867 level: WARNING
868 handlers: stderr
869 qualname: amqp
870 logger_amqplib:
871 level: WARNING
872 handlers: stderr
873 qualname: amqplib
874 logger_eventletwsgi:
875 level: WARNING
876 handlers: stderr
877 qualname: eventlet.wsgi.server
878 logger_sqlalchemy:
879 level: WARNING
880 handlers: stderr
881 qualname: sqlalchemy
882 logger_boto:
883 level: WARNING
884 handlers: stderr
885 qualname: boto
886 handler_null:
887 class: logging.NullHandler
888 formatter: default
889 args: ()
890 handler_stdout:
891 class: StreamHandler
892 args: (sys.stdout,)
893 formatter: context
894 handler_stderr:
895 class: StreamHandler
896 args: (sys.stderr,)
897 formatter: context
898 formatter_context:
899 class: oslo_log.formatters.ContextFormatter
900 datefmt: "%Y-%m-%d %H:%M:%S"
901 formatter_default:
902 format: "%(message)s"
903 datefmt: "%Y-%m-%d %H:%M:%S"
904 rabbitmq:
905 # NOTE(rk760n): adding rmq policy to mirror messages from notification queues and set expiration time for the ones
906 policies:
907 - vhost: "cinder"
908 name: "ha_ttl_cinder"
909 definition:
910 # mirror messges to other nodes in rmq cluster
911 ha-mode: "all"
912 ha-sync-mode: "automatic"
913 # 70s
914 message-ttl: 70000
915 priority: 0
916 apply-to: all
917 pattern: '^(?!(amq\.|reply_)).*'
918
919 backends:
920 # Those options will be written to backends.conf as-is.
921 rbd1:
922 volume_driver: cinder.volume.drivers.rbd.RBDDriver
923 volume_backend_name: rbd1
924 rbd_pool: cinder.volumes
925 rbd_ceph_conf: "/etc/ceph/ceph.conf"
926 rbd_flatten_volume_from_snapshot: false
927 report_discard_supported: true
928 rbd_max_clone_depth: 5
929 rbd_store_chunk_size: 4
930 rados_connect_timeout: -1
931 rbd_user: cinder
932 rbd_secret_uuid: 457eb676-33da-42ec-9a8c-9293d545c337
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +0100933 image_volume_cache_enabled: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500934 image_volume_cache_max_size_gb: 200
935 image_volume_cache_max_count: 50
936 rally_tests:
937 run_tempest: false
938 clean_up: |
939 VOLUMES=$(openstack volume list -f value | grep -e "^s_rally_" | awk '{ print $1 }')
940 if [ -n "$VOLUMES" ]; then
941 echo $VOLUMES | xargs openstack volume delete
942 fi
943 tests:
944 CinderVolumes.create_and_delete_volume:
945 - args:
946 size: 1
947 runner:
948 concurrency: 1
949 times: 1
950 type: constant
951 sla:
952 failure_rate:
953 max: 0
954 - args:
955 size:
956 max: 5
957 min: 1
958 runner:
959 concurrency: 1
960 times: 1
961 type: constant
962 sla:
963 failure_rate:
964 max: 0
965 resource_filters:
966 volume:
967 - name
968 - status
969 - metadata
970 - bootable
971 - migration_status
972 - availability_zone
973 - group_id
974 backup:
975 - name
976 - status
977 - volume_id
978 snapshot:
979 - name
980 - status
981 - volume_id
982 - metadata
983 - availability_zone
984 group: []
985 group_snapshot:
986 - status
987 - group_id
988 attachment:
989 - volume_id
990 - status
991 - instance_id
992 - attach_status
993 message:
994 - resource_uuid
995 - resource_type
996 - event_id
997 - request_id
998 - message_level
999 pool:
1000 - name
1001 - volume_type
1002 volume_type: []
1003 enable_iscsi: false
1004backup:
1005 external_ceph_rbd:
1006 enabled: false
1007 admin_keyring: null
Mohammed Naserbcdd25c2023-01-18 03:38:47 +00001008 configmap: null
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001009 conf:
1010 global: null
1011 osd: null
1012 posix:
1013 volume:
1014 class_name: general
1015 size: 10Gi
1016
1017dependencies:
1018 dynamic:
1019 common:
1020 local_image_registry:
1021 jobs:
1022 - cinder-image-repo-sync
1023 services:
1024 - endpoint: node
1025 service: local_image_registry
1026 static:
1027 api:
1028 jobs:
1029 - cinder-db-sync
1030 - cinder-ks-user
1031 - cinder-ks-endpoints
1032 - cinder-rabbit-init
1033 - cinder-storage-init
1034 services:
1035 - endpoint: internal
1036 service: oslo_db
1037 - endpoint: internal
1038 service: identity
1039 backup:
1040 jobs:
1041 - cinder-db-sync
1042 - cinder-ks-user
1043 - cinder-ks-endpoints
1044 - cinder-rabbit-init
1045 - cinder-storage-init
1046 - cinder-backup-storage-init
1047 services:
1048 - endpoint: internal
1049 service: identity
1050 - endpoint: internal
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01001051 service: volume
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001052 backup_storage_init:
1053 jobs: null
1054 bootstrap:
1055 services:
1056 - endpoint: internal
1057 service: identity
1058 - endpoint: internal
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01001059 service: volume
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001060 pod:
1061 - requireSameNode: false
1062 labels:
1063 application: cinder
1064 component: volume
1065 clean:
1066 jobs: null
1067 db_drop:
1068 services:
1069 - endpoint: internal
1070 service: oslo_db
1071 db_init:
1072 services:
1073 - endpoint: internal
1074 service: oslo_db
1075 db_sync:
1076 jobs:
1077 - cinder-db-init
1078 services:
1079 - endpoint: internal
1080 service: oslo_db
1081 ks_endpoints:
1082 jobs:
1083 - cinder-ks-service
1084 services:
1085 - endpoint: internal
1086 service: identity
1087 ks_service:
1088 services:
1089 - endpoint: internal
1090 service: identity
1091 ks_user:
1092 services:
1093 - endpoint: internal
1094 service: identity
1095 rabbit_init:
1096 services:
1097 - service: oslo_messaging
1098 endpoint: internal
1099 scheduler:
1100 jobs:
1101 - cinder-db-sync
1102 - cinder-ks-user
1103 - cinder-ks-endpoints
1104 - cinder-rabbit-init
1105 - cinder-storage-init
1106 services:
1107 - endpoint: internal
1108 service: identity
1109 - endpoint: internal
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01001110 service: volume
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001111 storage_init:
1112 jobs: null
1113 tests:
1114 services:
1115 - endpoint: internal
1116 service: identity
1117 - endpoint: internal
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01001118 service: volume
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001119 volume:
1120 jobs:
1121 - cinder-db-sync
1122 - cinder-ks-user
1123 - cinder-ks-endpoints
1124 - cinder-rabbit-init
1125 - cinder-storage-init
1126 services:
1127 - endpoint: internal
1128 service: identity
1129 - endpoint: internal
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01001130 service: volume
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001131 volume_usage_audit:
1132 jobs:
1133 - cinder-db-sync
1134 - cinder-ks-user
1135 - cinder-ks-endpoints
1136 - cinder-rabbit-init
1137 - cinder-storage-init
1138 services:
1139 - endpoint: internal
1140 service: identity
1141 - endpoint: internal
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01001142 service: volume
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001143 image_repo_sync:
1144 services:
1145 - endpoint: internal
1146 service: local_image_registry
1147 create_internal_tenant:
1148 services:
1149 - endpoint: internal
1150 service: identity
1151
1152# Names of secrets used by bootstrap and environmental checks
1153secrets:
1154 identity:
1155 admin: cinder-keystone-admin
1156 cinder: cinder-keystone-user
1157 test: cinder-keystone-test
1158 oslo_db:
1159 admin: cinder-db-admin
1160 cinder: cinder-db-user
1161 rbd:
1162 backup: cinder-backup-rbd-keyring
1163 volume: cinder-volume-rbd-keyring
1164 volume_external: cinder-volume-external-rbd-keyring
1165 oslo_messaging:
1166 admin: cinder-rabbitmq-admin
1167 cinder: cinder-rabbitmq-user
1168 tls:
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01001169 volume:
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001170 api:
1171 public: cinder-tls-public
1172 internal: cinder-tls-api
1173 oci_image_registry:
1174 cinder: cinder-oci-image-registry
1175
1176# We use a different layout of the endpoints here to account for versioning
1177# this swaps the service name and type, and should be rolled out to other
1178# services.
1179endpoints:
1180 cluster_domain_suffix: cluster.local
1181 local_image_registry:
1182 name: docker-registry
1183 namespace: docker-registry
1184 hosts:
1185 default: localhost
1186 internal: docker-registry
1187 node: localhost
1188 host_fqdn_override:
1189 default: null
1190 port:
1191 registry:
1192 node: 5000
1193 oci_image_registry:
1194 name: oci-image-registry
1195 namespace: oci-image-registry
1196 auth:
1197 enabled: false
1198 cinder:
1199 username: cinder
1200 password: password
1201 hosts:
1202 default: localhost
1203 host_fqdn_override:
1204 default: null
1205 port:
1206 registry:
1207 default: null
1208 identity:
1209 name: keystone
1210 auth:
1211 admin:
1212 region_name: RegionOne
1213 username: admin
1214 password: password
1215 project_name: admin
1216 user_domain_name: default
1217 project_domain_name: default
1218 cinder:
1219 role: admin
1220 region_name: RegionOne
1221 username: cinder
1222 password: password
1223 project_name: service
1224 user_domain_name: service
1225 project_domain_name: service
1226 test:
1227 role: admin
1228 region_name: RegionOne
1229 username: cinder-test
1230 password: password
1231 project_name: test
1232 user_domain_name: service
1233 project_domain_name: service
1234 hosts:
1235 default: keystone
1236 internal: keystone-api
1237 host_fqdn_override:
1238 default: null
1239 path:
1240 default: /v3
1241 scheme:
1242 default: http
1243 port:
1244 api:
1245 default: 80
1246 internal: 5000
1247 image:
1248 name: glance
1249 hosts:
1250 default: glance-api
1251 public: glance
1252 host_fqdn_override:
1253 default: null
1254 path:
1255 default: null
1256 scheme:
1257 default: http
1258 port:
1259 api:
1260 default: 9292
1261 public: 80
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01001262 volume:
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001263 name: cinder
1264 hosts:
1265 default: cinder-api
1266 public: cinder
1267 host_fqdn_override:
1268 default: null
1269 # NOTE(portdirect): this chart supports TLS for fqdn over-ridden public
1270 # endpoints using the following format:
1271 # public:
1272 # host: null
1273 # tls:
1274 # crt: null
1275 # key: null
1276 path:
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01001277 default: '/v1/%(tenant_id)s'
1278 scheme:
1279 default: 'http'
1280 port:
1281 api:
1282 default: 8776
1283 public: 80
1284 volumev2:
1285 name: cinderv2
1286 hosts:
1287 default: cinder-api
1288 public: cinder
1289 host_fqdn_override:
1290 default: null
1291 # NOTE(portdirect): this chart supports TLS for fqdn over-ridden public
1292 # endpoints using the following format:
1293 # public:
1294 # host: null
1295 # tls:
1296 # crt: null
1297 # key: null
1298 path:
1299 default: '/v2/%(tenant_id)s'
1300 scheme:
1301 default: 'http'
1302 port:
1303 api:
1304 default: 8776
1305 public: 80
1306 volumev3:
1307 name: cinderv3
1308 hosts:
1309 default: cinder-api
1310 public: cinder
1311 host_fqdn_override:
1312 default: null
1313 # NOTE(portdirect): this chart supports TLS for fqdn over-ridden public
1314 # endpoints using the following format:
1315 # public:
1316 # host: null
1317 # tls:
1318 # crt: null
1319 # key: null
1320 path:
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001321 default: '/v3/%(tenant_id)s'
1322 scheme:
1323 default: 'http'
1324 port:
1325 api:
1326 default: 8776
1327 public: 80
1328 oslo_db:
1329 auth:
1330 admin:
1331 username: root
1332 password: password
1333 secret:
1334 tls:
1335 internal: mariadb-tls-direct
1336 cinder:
1337 username: cinder
1338 password: password
1339 hosts:
1340 default: mariadb
1341 host_fqdn_override:
1342 default: null
1343 path: /cinder
1344 scheme: mysql+pymysql
1345 port:
1346 mysql:
1347 default: 3306
1348 oslo_messaging:
1349 auth:
1350 admin:
1351 username: rabbitmq
1352 password: password
1353 secret:
1354 tls:
1355 internal: rabbitmq-tls-direct
1356 cinder:
1357 username: cinder
1358 password: password
1359 statefulset:
1360 replicas: 2
1361 name: rabbitmq-rabbitmq
1362 hosts:
1363 default: rabbitmq
1364 host_fqdn_override:
1365 default: null
1366 path: /cinder
1367 scheme: rabbit
1368 port:
1369 amqp:
1370 default: 5672
1371 http:
1372 default: 15672
1373 oslo_cache:
1374 auth:
1375 # NOTE(portdirect): this is used to define the value for keystone
1376 # authtoken cache encryption key, if not set it will be populated
1377 # automatically with a random value, but to take advantage of
1378 # this feature all services should be set to use the same key,
1379 # and memcache service.
1380 memcache_secret_key: null
1381 hosts:
1382 default: memcached
1383 host_fqdn_override:
1384 default: null
1385 port:
1386 memcache:
1387 default: 11211
1388 fluentd:
1389 namespace: null
1390 name: fluentd
1391 hosts:
1392 default: fluentd-logging
1393 host_fqdn_override:
1394 default: null
1395 path:
1396 default: null
1397 scheme: 'http'
1398 port:
1399 service:
1400 default: 24224
1401 metrics:
1402 default: 24220
1403 kube_dns:
1404 namespace: kube-system
1405 name: kubernetes-dns
1406 hosts:
1407 default: kube-dns
1408 host_fqdn_override:
1409 default: null
1410 path:
1411 default: null
1412 scheme: http
1413 port:
1414 dns:
1415 default: 53
1416 protocol: UDP
1417 ingress:
1418 namespace: null
1419 name: ingress
1420 hosts:
1421 default: ingress
1422 port:
1423 ingress:
1424 default: 80
1425
1426network_policy:
1427 cinder:
1428 ingress:
1429 - {}
1430 egress:
1431 - {}
1432
1433# NOTE(helm_hook): helm_hook might break for helm2 binary.
1434# set helm3_hook: false when using the helm2 binary.
1435helm3_hook: true
1436
Mohammed Naserbcdd25c2023-01-18 03:38:47 +00001437tls:
1438 identity: false
1439 oslo_messaging: false
1440 oslo_db: false
1441
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001442manifests:
1443 certificates: false
1444 configmap_bin: true
1445 configmap_etc: true
1446 cron_volume_usage_audit: true
1447 deployment_api: true
1448 deployment_backup: true
1449 deployment_scheduler: true
1450 deployment_volume: true
1451 ingress_api: true
1452 job_backup_storage_init: true
1453 job_bootstrap: true
1454 job_clean: true
1455 job_create_internal_tenant: true
1456 job_db_init: true
1457 job_image_repo_sync: true
1458 job_rabbit_init: true
1459 job_db_sync: true
1460 job_db_drop: false
1461 job_ks_endpoints: true
1462 job_ks_service: true
1463 job_ks_user: true
1464 job_storage_init: true
1465 pdb_api: true
1466 pod_rally_test: true
1467 pvc_backup: true
1468 network_policy: false
1469 secret_db: true
1470 secret_ingress_tls: true
1471 secret_keystone: true
1472 secret_rabbitmq: true
1473 secret_registry: true
1474 service_api: true
1475 service_ingress_api: true
1476...