blob: 06412f5a77813ab9b6a75e414d45aa67173724cf [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
Mohammed Naser32137102023-02-23 17:26:32 +0000829 nova:
830 auth_type: password
831 auth_version: v3
832 interface: internal
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500833 oslo_policy:
834 policy_file: /etc/cinder/policy.yaml
835 oslo_concurrency:
836 lock_path: "/var/lib/cinder/tmp"
837 oslo_messaging_notifications:
838 driver: messagingv2
839 oslo_middleware:
840 enable_proxy_headers_parsing: true
841 oslo_messaging_rabbit:
842 rabbit_ha_queues: true
843 coordination:
844 backend_url: file:///var/lib/cinder/coordination
845 service_user:
846 auth_type: password
847 send_service_user_token: false
848 logging:
849 loggers:
850 keys:
851 - root
852 - cinder
853 handlers:
854 keys:
855 - stdout
856 - stderr
857 - "null"
858 formatters:
859 keys:
860 - context
861 - default
862 logger_root:
863 level: WARNING
864 handlers: 'null'
865 logger_cinder:
866 level: INFO
867 handlers:
868 - stdout
869 qualname: cinder
870 logger_amqp:
871 level: WARNING
872 handlers: stderr
873 qualname: amqp
874 logger_amqplib:
875 level: WARNING
876 handlers: stderr
877 qualname: amqplib
878 logger_eventletwsgi:
879 level: WARNING
880 handlers: stderr
881 qualname: eventlet.wsgi.server
882 logger_sqlalchemy:
883 level: WARNING
884 handlers: stderr
885 qualname: sqlalchemy
886 logger_boto:
887 level: WARNING
888 handlers: stderr
889 qualname: boto
890 handler_null:
891 class: logging.NullHandler
892 formatter: default
893 args: ()
894 handler_stdout:
895 class: StreamHandler
896 args: (sys.stdout,)
897 formatter: context
898 handler_stderr:
899 class: StreamHandler
900 args: (sys.stderr,)
901 formatter: context
902 formatter_context:
903 class: oslo_log.formatters.ContextFormatter
904 datefmt: "%Y-%m-%d %H:%M:%S"
905 formatter_default:
906 format: "%(message)s"
907 datefmt: "%Y-%m-%d %H:%M:%S"
908 rabbitmq:
909 # NOTE(rk760n): adding rmq policy to mirror messages from notification queues and set expiration time for the ones
910 policies:
911 - vhost: "cinder"
912 name: "ha_ttl_cinder"
913 definition:
914 # mirror messges to other nodes in rmq cluster
915 ha-mode: "all"
916 ha-sync-mode: "automatic"
917 # 70s
918 message-ttl: 70000
919 priority: 0
920 apply-to: all
921 pattern: '^(?!(amq\.|reply_)).*'
922
923 backends:
924 # Those options will be written to backends.conf as-is.
925 rbd1:
926 volume_driver: cinder.volume.drivers.rbd.RBDDriver
927 volume_backend_name: rbd1
928 rbd_pool: cinder.volumes
929 rbd_ceph_conf: "/etc/ceph/ceph.conf"
930 rbd_flatten_volume_from_snapshot: false
931 report_discard_supported: true
932 rbd_max_clone_depth: 5
933 rbd_store_chunk_size: 4
934 rados_connect_timeout: -1
935 rbd_user: cinder
936 rbd_secret_uuid: 457eb676-33da-42ec-9a8c-9293d545c337
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +0100937 image_volume_cache_enabled: true
Mohammed Naserf3f59a72023-01-15 21:02:04 -0500938 image_volume_cache_max_size_gb: 200
939 image_volume_cache_max_count: 50
940 rally_tests:
941 run_tempest: false
942 clean_up: |
943 VOLUMES=$(openstack volume list -f value | grep -e "^s_rally_" | awk '{ print $1 }')
944 if [ -n "$VOLUMES" ]; then
945 echo $VOLUMES | xargs openstack volume delete
946 fi
947 tests:
948 CinderVolumes.create_and_delete_volume:
949 - args:
950 size: 1
951 runner:
952 concurrency: 1
953 times: 1
954 type: constant
955 sla:
956 failure_rate:
957 max: 0
958 - args:
959 size:
960 max: 5
961 min: 1
962 runner:
963 concurrency: 1
964 times: 1
965 type: constant
966 sla:
967 failure_rate:
968 max: 0
969 resource_filters:
970 volume:
971 - name
972 - status
973 - metadata
974 - bootable
975 - migration_status
976 - availability_zone
977 - group_id
978 backup:
979 - name
980 - status
981 - volume_id
982 snapshot:
983 - name
984 - status
985 - volume_id
986 - metadata
987 - availability_zone
988 group: []
989 group_snapshot:
990 - status
991 - group_id
992 attachment:
993 - volume_id
994 - status
995 - instance_id
996 - attach_status
997 message:
998 - resource_uuid
999 - resource_type
1000 - event_id
1001 - request_id
1002 - message_level
1003 pool:
1004 - name
1005 - volume_type
1006 volume_type: []
1007 enable_iscsi: false
1008backup:
1009 external_ceph_rbd:
1010 enabled: false
1011 admin_keyring: null
Mohammed Naserbcdd25c2023-01-18 03:38:47 +00001012 configmap: null
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001013 conf:
1014 global: null
1015 osd: null
1016 posix:
1017 volume:
1018 class_name: general
1019 size: 10Gi
1020
1021dependencies:
1022 dynamic:
1023 common:
1024 local_image_registry:
1025 jobs:
1026 - cinder-image-repo-sync
1027 services:
1028 - endpoint: node
1029 service: local_image_registry
1030 static:
1031 api:
1032 jobs:
1033 - cinder-db-sync
1034 - cinder-ks-user
1035 - cinder-ks-endpoints
1036 - cinder-rabbit-init
1037 - cinder-storage-init
1038 services:
1039 - endpoint: internal
1040 service: oslo_db
1041 - endpoint: internal
1042 service: identity
1043 backup:
1044 jobs:
1045 - cinder-db-sync
1046 - cinder-ks-user
1047 - cinder-ks-endpoints
1048 - cinder-rabbit-init
1049 - cinder-storage-init
1050 - cinder-backup-storage-init
1051 services:
1052 - endpoint: internal
1053 service: identity
1054 - endpoint: internal
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01001055 service: volume
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001056 backup_storage_init:
1057 jobs: null
1058 bootstrap:
1059 services:
1060 - endpoint: internal
1061 service: identity
1062 - endpoint: internal
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01001063 service: volume
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001064 pod:
1065 - requireSameNode: false
1066 labels:
1067 application: cinder
1068 component: volume
1069 clean:
1070 jobs: null
1071 db_drop:
1072 services:
1073 - endpoint: internal
1074 service: oslo_db
1075 db_init:
1076 services:
1077 - endpoint: internal
1078 service: oslo_db
1079 db_sync:
1080 jobs:
1081 - cinder-db-init
1082 services:
1083 - endpoint: internal
1084 service: oslo_db
1085 ks_endpoints:
1086 jobs:
1087 - cinder-ks-service
1088 services:
1089 - endpoint: internal
1090 service: identity
1091 ks_service:
1092 services:
1093 - endpoint: internal
1094 service: identity
1095 ks_user:
1096 services:
1097 - endpoint: internal
1098 service: identity
1099 rabbit_init:
1100 services:
1101 - service: oslo_messaging
1102 endpoint: internal
1103 scheduler:
1104 jobs:
1105 - cinder-db-sync
1106 - cinder-ks-user
1107 - cinder-ks-endpoints
1108 - cinder-rabbit-init
1109 - cinder-storage-init
1110 services:
1111 - endpoint: internal
1112 service: identity
1113 - endpoint: internal
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01001114 service: volume
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001115 storage_init:
1116 jobs: null
1117 tests:
1118 services:
1119 - endpoint: internal
1120 service: identity
1121 - endpoint: internal
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01001122 service: volume
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001123 volume:
1124 jobs:
1125 - cinder-db-sync
1126 - cinder-ks-user
1127 - cinder-ks-endpoints
1128 - cinder-rabbit-init
1129 - cinder-storage-init
1130 services:
1131 - endpoint: internal
1132 service: identity
1133 - endpoint: internal
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01001134 service: volume
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001135 volume_usage_audit:
1136 jobs:
1137 - cinder-db-sync
1138 - cinder-ks-user
1139 - cinder-ks-endpoints
1140 - cinder-rabbit-init
1141 - cinder-storage-init
1142 services:
1143 - endpoint: internal
1144 service: identity
1145 - endpoint: internal
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01001146 service: volume
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001147 image_repo_sync:
1148 services:
1149 - endpoint: internal
1150 service: local_image_registry
1151 create_internal_tenant:
1152 services:
1153 - endpoint: internal
1154 service: identity
1155
1156# Names of secrets used by bootstrap and environmental checks
1157secrets:
1158 identity:
1159 admin: cinder-keystone-admin
1160 cinder: cinder-keystone-user
1161 test: cinder-keystone-test
1162 oslo_db:
1163 admin: cinder-db-admin
1164 cinder: cinder-db-user
1165 rbd:
1166 backup: cinder-backup-rbd-keyring
1167 volume: cinder-volume-rbd-keyring
1168 volume_external: cinder-volume-external-rbd-keyring
1169 oslo_messaging:
1170 admin: cinder-rabbitmq-admin
1171 cinder: cinder-rabbitmq-user
1172 tls:
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01001173 volume:
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001174 api:
1175 public: cinder-tls-public
1176 internal: cinder-tls-api
1177 oci_image_registry:
1178 cinder: cinder-oci-image-registry
1179
1180# We use a different layout of the endpoints here to account for versioning
1181# this swaps the service name and type, and should be rolled out to other
1182# services.
1183endpoints:
1184 cluster_domain_suffix: cluster.local
1185 local_image_registry:
1186 name: docker-registry
1187 namespace: docker-registry
1188 hosts:
1189 default: localhost
1190 internal: docker-registry
1191 node: localhost
1192 host_fqdn_override:
1193 default: null
1194 port:
1195 registry:
1196 node: 5000
1197 oci_image_registry:
1198 name: oci-image-registry
1199 namespace: oci-image-registry
1200 auth:
1201 enabled: false
1202 cinder:
1203 username: cinder
1204 password: password
1205 hosts:
1206 default: localhost
1207 host_fqdn_override:
1208 default: null
1209 port:
1210 registry:
1211 default: null
1212 identity:
1213 name: keystone
1214 auth:
1215 admin:
1216 region_name: RegionOne
1217 username: admin
1218 password: password
1219 project_name: admin
1220 user_domain_name: default
1221 project_domain_name: default
1222 cinder:
1223 role: admin
1224 region_name: RegionOne
1225 username: cinder
1226 password: password
1227 project_name: service
1228 user_domain_name: service
1229 project_domain_name: service
1230 test:
1231 role: admin
1232 region_name: RegionOne
1233 username: cinder-test
1234 password: password
1235 project_name: test
1236 user_domain_name: service
1237 project_domain_name: service
1238 hosts:
1239 default: keystone
1240 internal: keystone-api
1241 host_fqdn_override:
1242 default: null
1243 path:
1244 default: /v3
1245 scheme:
1246 default: http
1247 port:
1248 api:
1249 default: 80
1250 internal: 5000
1251 image:
1252 name: glance
1253 hosts:
1254 default: glance-api
1255 public: glance
1256 host_fqdn_override:
1257 default: null
1258 path:
1259 default: null
1260 scheme:
1261 default: http
1262 port:
1263 api:
1264 default: 9292
1265 public: 80
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01001266 volume:
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001267 name: cinder
1268 hosts:
1269 default: cinder-api
1270 public: cinder
1271 host_fqdn_override:
1272 default: null
1273 # NOTE(portdirect): this chart supports TLS for fqdn over-ridden public
1274 # endpoints using the following format:
1275 # public:
1276 # host: null
1277 # tls:
1278 # crt: null
1279 # key: null
1280 path:
Oleksandr Kozachenkoa10d7852023-02-02 22:01:16 +01001281 default: '/v1/%(tenant_id)s'
1282 scheme:
1283 default: 'http'
1284 port:
1285 api:
1286 default: 8776
1287 public: 80
1288 volumev2:
1289 name: cinderv2
1290 hosts:
1291 default: cinder-api
1292 public: cinder
1293 host_fqdn_override:
1294 default: null
1295 # NOTE(portdirect): this chart supports TLS for fqdn over-ridden public
1296 # endpoints using the following format:
1297 # public:
1298 # host: null
1299 # tls:
1300 # crt: null
1301 # key: null
1302 path:
1303 default: '/v2/%(tenant_id)s'
1304 scheme:
1305 default: 'http'
1306 port:
1307 api:
1308 default: 8776
1309 public: 80
1310 volumev3:
1311 name: cinderv3
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:
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001325 default: '/v3/%(tenant_id)s'
1326 scheme:
1327 default: 'http'
1328 port:
1329 api:
1330 default: 8776
1331 public: 80
1332 oslo_db:
1333 auth:
1334 admin:
1335 username: root
1336 password: password
1337 secret:
1338 tls:
1339 internal: mariadb-tls-direct
1340 cinder:
1341 username: cinder
1342 password: password
1343 hosts:
1344 default: mariadb
1345 host_fqdn_override:
1346 default: null
1347 path: /cinder
1348 scheme: mysql+pymysql
1349 port:
1350 mysql:
1351 default: 3306
1352 oslo_messaging:
1353 auth:
1354 admin:
1355 username: rabbitmq
1356 password: password
1357 secret:
1358 tls:
1359 internal: rabbitmq-tls-direct
1360 cinder:
1361 username: cinder
1362 password: password
1363 statefulset:
1364 replicas: 2
1365 name: rabbitmq-rabbitmq
1366 hosts:
1367 default: rabbitmq
1368 host_fqdn_override:
1369 default: null
1370 path: /cinder
1371 scheme: rabbit
1372 port:
1373 amqp:
1374 default: 5672
1375 http:
1376 default: 15672
1377 oslo_cache:
1378 auth:
1379 # NOTE(portdirect): this is used to define the value for keystone
1380 # authtoken cache encryption key, if not set it will be populated
1381 # automatically with a random value, but to take advantage of
1382 # this feature all services should be set to use the same key,
1383 # and memcache service.
1384 memcache_secret_key: null
1385 hosts:
1386 default: memcached
1387 host_fqdn_override:
1388 default: null
1389 port:
1390 memcache:
1391 default: 11211
1392 fluentd:
1393 namespace: null
1394 name: fluentd
1395 hosts:
1396 default: fluentd-logging
1397 host_fqdn_override:
1398 default: null
1399 path:
1400 default: null
1401 scheme: 'http'
1402 port:
1403 service:
1404 default: 24224
1405 metrics:
1406 default: 24220
1407 kube_dns:
1408 namespace: kube-system
1409 name: kubernetes-dns
1410 hosts:
1411 default: kube-dns
1412 host_fqdn_override:
1413 default: null
1414 path:
1415 default: null
1416 scheme: http
1417 port:
1418 dns:
1419 default: 53
1420 protocol: UDP
1421 ingress:
1422 namespace: null
1423 name: ingress
1424 hosts:
1425 default: ingress
1426 port:
1427 ingress:
1428 default: 80
1429
1430network_policy:
1431 cinder:
1432 ingress:
1433 - {}
1434 egress:
1435 - {}
1436
1437# NOTE(helm_hook): helm_hook might break for helm2 binary.
1438# set helm3_hook: false when using the helm2 binary.
1439helm3_hook: true
1440
Mohammed Naserbcdd25c2023-01-18 03:38:47 +00001441tls:
1442 identity: false
1443 oslo_messaging: false
1444 oslo_db: false
1445
Mohammed Naserf3f59a72023-01-15 21:02:04 -05001446manifests:
1447 certificates: false
1448 configmap_bin: true
1449 configmap_etc: true
1450 cron_volume_usage_audit: true
1451 deployment_api: true
1452 deployment_backup: true
1453 deployment_scheduler: true
1454 deployment_volume: true
1455 ingress_api: true
1456 job_backup_storage_init: true
1457 job_bootstrap: true
1458 job_clean: true
1459 job_create_internal_tenant: true
1460 job_db_init: true
1461 job_image_repo_sync: true
1462 job_rabbit_init: true
1463 job_db_sync: true
1464 job_db_drop: false
1465 job_ks_endpoints: true
1466 job_ks_service: true
1467 job_ks_user: true
1468 job_storage_init: true
1469 pdb_api: true
1470 pod_rally_test: true
1471 pvc_backup: true
1472 network_policy: false
1473 secret_db: true
1474 secret_ingress_tls: true
1475 secret_keystone: true
1476 secret_rabbitmq: true
1477 secret_registry: true
1478 service_api: true
1479 service_ingress_api: true
1480...