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